/* Reset and Base Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 20px;
    background-color: #f9f9f9;
}

.auth-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.auth-box:hover {
    transform: translateY(-5px);
}

.auth-box h2 {
    margin: 0 0 20px;
    text-align: center;
    color: #333;
    font-size: 24px;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.auth-box h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #1a3a5f;
    border-radius: 3px;
}

.auth-form .form-group {
    position: relative;
    margin-bottom: 22px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.auth-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.auth-form input:focus {
    border-color: #1a3a5f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 58, 95, 0.2);
    background-color: #fff;
    transform: translateY(-2px);
}

/* Registration code field styling */
.auth-form input#registration_code {
    border-color: #1a3a5f;
    background-color: rgba(26, 58, 95, 0.05);
    border-width: 2px;
}

.auth-form .form-text {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.auth-button {
    width: 100%;
    padding: 14px;
    background: #1a3a5f;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.auth-button:hover {
    background: #2a4d76;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.auth-links {
    margin-top: 25px;
    text-align: center;
}

.auth-links a {
    color: #1a3a5f;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
    display: inline-block;
    margin: 5px 10px;
    font-size: 14px;
}

.auth-links a:hover {
    color: #2a9d8f;
    text-decoration: underline;
}

.auth-error {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.auth-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}
