/* User Settings Page - Profile Card Styling */

/* Profile input focus effects matching Tax Calculators */
#settings-profile-first-name:focus,
#settings-profile-dob:focus,
#settings-profile-current-income:focus,
#settings-profile-last-year-income:focus,
#settings-profile-dependents:focus {
    border-color: var(--brand-purple) !important;
    box-shadow: 0 0 0 3px rgba(180, 100, 255, 0.15) !important;
    outline: none;
}

/* Error state styling for inputs */
#settings-profile-first-name.error,
#settings-profile-dob.error,
#settings-profile-current-income.error,
#settings-profile-last-year-income.error,
#settings-profile-dependents.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

/* Error message styling */
.auth-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 18px;
}

/* Profile dropdown focus */
#settings-profile-province .Select-control:focus,
#settings-profile-province .Select--is-focused .Select-control {
    border-color: var(--brand-purple) !important;
    box-shadow: 0 0 0 3px rgba(180, 100, 255, 0.15) !important;
}

/* Save button hover effect */
#settings-profile-save-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(180, 100, 255, 0.4) !important;
}

#settings-profile-save-btn:active {
    transform: translateY(0);
}

/* Radio button styling */
#settings-profile-employment .form-check,
#settings-profile-marital .form-check,
#settings-profile-home .form-check {
    margin-right: 20px;
}

#settings-profile-employment .form-check-input:checked,
#settings-profile-marital .form-check-input:checked,
#settings-profile-home .form-check-input:checked {
    background-color: var(--brand-purple);
    border-color: var(--brand-purple);
}

#settings-profile-employment .form-check-input:focus,
#settings-profile-marital .form-check-input:focus,
#settings-profile-home .form-check-input:focus {
    border-color: var(--brand-purple);
    box-shadow: 0 0 0 0.2rem rgba(180, 100, 255, 0.25);
}

/* Helper text styling */
.helper-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Section headers */
.account-section-header {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-secondary);
    font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 768px) {
    #settings-profile-employment .form-check,
    #settings-profile-marital .form-check {
        display: block;
        margin-bottom: 10px;
    }
    
    #settings-profile-home .form-check {
        display: block;
        margin-bottom: 10px;
    }
}

/* Smooth animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#profile-info-container {
    animation: fadeIn 0.5s ease-in;
}

