.auth-container {
    max-width: 480px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
}

.auth-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    width: 100%;
    text-align: center;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.auth-form {
    text-align: left;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fcfcfc;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1);
    background-color: #fff;
}

/* NEW STYLES FOR FORGOT PASSWORD LINK */
.form-extra-link {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 20px;
}

.form-extra-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-extra-link a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
}

.submit-btn:hover {
    background-color: #002244;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 51, 102, 0.25);
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 2rem 0;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.separator span {
    padding: 0 10px;
    color: #888;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s;
    gap: 10px;
}

.google-btn:hover {
    background-color: #f8f9fa;
    border-color: #ccc;
    transform: translateY(-1px);
}

.google-btn svg {
    width: 20px;
    height: 20px;
}

.auth-switch-link {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #666;
}

.auth-switch-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch-link a:hover {
    text-decoration: underline;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-align: left;
    line-height: 1.4;
}

.alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

@media (max-width: 576px) {
    .auth-container {
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    .auth-card {
        padding: 1.5rem;
    }
    
    .auth-title {
        font-size: 1.8rem;
    }
}