/* Authentication Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #FCE7F3 0%, #DBEAFE 50%, #FEF3C7 100%);
}

.auth-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.auth-header p {
    color: var(--text-secondary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.form-group input {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group small {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.forgot-password {
    text-align: right;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.error-message {
    background: #FEE2E2;
    color: #991B1B;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
    padding: 0 1rem;
}

.btn-social {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    background: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.btn-social:hover {
    border-color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-google {
    color: var(--text-primary);
}

.btn-apple {
    color: var(--text-primary);
}

.auth-footer {
    text-align: center;
    margin-top: 1rem;
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.terms {
    font-size: 0.75rem !important;
}

@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
        min-height: 100vh;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .auth-header h1 {
        font-size: 1.75rem;
    }
    
    .auth-header p {
        font-size: 0.9rem;
    }
    
    .form-group input {
        padding: 0.875rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .btn-social {
        font-size: 0.875rem;
        padding: 0.875rem;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 0.5rem;
    }
    
    .auth-card {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .auth-header h1 {
        font-size: 1.5rem;
    }
    
    .auth-header p {
        font-size: 0.85rem;
    }
    
    .auth-form {
        gap: 1.25rem;
    }
    
    .btn-primary,
    .btn-outline,
    .btn-social {
        padding: 0.875rem;
        font-size: 0.875rem;
    }
}

