/**
 * MemberPress Account Page Styles - Flat Design
 * Styled to match APNS Directory
 */

/* CSS Custom Properties - Tag/Filter Colors (matching directory) */
:root {
    /* Areas of Practice - Blue */
    --tag-areas-bg: #e3f2fd;
    --tag-areas-color: #1565c0;
    --tag-areas-border: #90caf9;
    
    /* Problem Areas - Green */
    --tag-problems-bg: #e8f5e9;
    --tag-problems-color: #2e7d32;
    --tag-problems-border: #a5d6a7;
    
    /* Assessment Services - Purple */
    --tag-assessment-bg: #f3e5f5;
    --tag-assessment-color: #7b1fa2;
    --tag-assessment-border: #ce93d8;
    
    /* Methodologies - Orange */
    --tag-methodology-bg: #fff3e0;
    --tag-methodology-color: #e65100;
    --tag-methodology-border: #ffcc80;
    
    /* Other Areas - Teal */
    --tag-other-areas-bg: #e0f2f1;
    --tag-other-areas-color: #00695c;
    --tag-other-areas-border: #80cbc4;
    
    /* Demographics - Pink/Rose */
    --tag-demographics-bg: #fce4ec;
    --tag-demographics-color: #c2185b;
    --tag-demographics-border: #f48fb1;
    
    /* Sector - Indigo */
    --tag-sector-bg: #e8eaf6;
    --tag-sector-color: #3949ab;
    --tag-sector-border: #9fa8da;
    
    /* Work Setting - Brown */
    --tag-work-setting-bg: #efebe9;
    --tag-work-setting-color: #5d4037;
    --tag-work-setting-border: #bcaaa4;
    
    /* Health Authority - Cyan */
    --tag-health-authority-bg: #e0f7fa;
    --tag-health-authority-color: #00838f;
    --tag-health-authority-border: #80deea;
    
    /* Membership Activities - Amber */
    --tag-membership-bg: #fff8e1;
    --tag-membership-color: #ff8f00;
    --tag-membership-border: #ffe082;
    
    /* Self-Identify / Diversity - Deep Purple */
    --tag-diversity-bg: #ede7f6;
    --tag-diversity-color: #512da8;
    --tag-diversity-border: #b39ddb;
    
    /* Interest Groups - Light Green */
    --tag-interest-bg: #f1f8e9;
    --tag-interest-color: #558b2f;
    --tag-interest-border: #aed581;
}

/* Account page container */
.mepr-account-content {
    max-width: 120rem;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Main wrapper - full width layout */
.mp_wrapper {
    display: block;
    max-width: 120rem;
    margin: 0 auto;
}

/* Navigation tabs - Above grid */
.mepr-account-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    border: 1px solid #ccc;
}

.mepr-account-nav li {
    list-style: none;
    margin: 0;
}

.mepr-account-nav a {
    display: block;
    padding: 16px 24px;
    text-decoration: none;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: none;
    font-weight: 500;
    font-family: 'Roboto Condensed', sans-serif;
}

.mepr-account-nav a:hover {
    color: #022c68;
    background: #f5f5f5;
}

.mepr-account-nav a.mepr-active-nav-tab {
    color: #022c68;
    border-bottom-color: #022c68;
    background: #f5f5f5;
}

/* Account sections - Cards */
.mepr-account-section {
    background: #fff;
    padding: 28px 32px;
    margin-bottom: 24px;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #ccc;
}

.mepr-account-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    color: #333;
    font-size: 1.3em;
    font-family: 'Roboto Condensed', sans-serif;
}

/* Subscription info - Cards within cards */
.mepr-subscription-row {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 0;
    margin-bottom: 16px;
    transition: none;
}

/* .mepr-subscription-row:hover {
    background: #fff;
    box-shadow: none;
} */

.mepr-subscription-row:last-child {
    margin-bottom: 0;
}

.mepr-subscription-title {
    font-weight: 600;
    font-size: 1.15em;
    margin-bottom: 8px;
    color: #333;
}

.mepr-subscription-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 0;
    font-size: 0.85em;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Roboto Condensed', sans-serif;
}

.mepr-subscription-status.active {
    background: #d4edda;
    color: #155724;
}

.mepr-subscription-status.cancelled,
.mepr-subscription-status.expired {
    background: #f8d7da;
    color: #721c24;
}

/* Payment methods - Cards */
.mepr-payment-method {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 0;
    margin-bottom: 12px;
    background: #f5f5f5;
    transition: none;
}

.mepr-payment-method:hover {
    background: #fff;
    box-shadow: none;
}

.mepr-payment-method-info {
    flex: 1;
}

.mepr-payment-method-actions {
    display: flex;
    gap: 10px;
}

/* Buttons - Flat Design */
.mepr-submit,
.mepr-share-button,
.mepr-account-button,
.mepr-update-button,
.mepr-cancel-button {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 0;
    text-decoration: none;
    font-weight: normal;
    font-size: 14px;
    transition: none;
    border: 1px solid #ccc;
    cursor: pointer;
    box-shadow: none;
    font-family: 'Roboto Condensed', sans-serif;
}

.mepr-submit:hover,
.mepr-share-button:hover {
    box-shadow: none;
    transform: none;
}

.mepr-submit,
.mepr-share-button,
.mepr-account-button,
.mepr-update-button {
    background: #022c68;
    color: #fff;
    border-color: #022c68;
}

.mepr-submit:hover,
.mepr-share-button:hover,
.mepr-account-button:hover,
.mepr-update-button:hover {
    background: #d3d3d3;
    color: #333;
    border-color: #d3d3d3;
}

.mepr-cancel-button {
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    border-color: #ccc;
}

.mepr-cancel-button:hover {
    background: #d0d0d0;
    color: rgba(0, 0, 0, 0.8);
    border-color: #ccc;
}

/* Forms - Flat Design with Two-Column Layout */
.mepr-account-form {
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #ccc;
    padding: 32px;
    max-width: 100%;
    margin-bottom: 24px;
    display: flex;
flex-direction:column;
}

/* Ensure labels and inputs stack vertically within each form row */
.mepr-account-form .mp-form-row {
    display: flex;
    flex-direction: row;
}

/* Labels to the Left Layout */
.mepr-account-form .mp-form-row {
    display: flex !important;
    align-items: flex-start !important;
    /* gap: 1rem !important; */
}

.mepr-account-form .mp-form-row .mp-form-label {
    flex: 0 0 200px !important;
    padding-top: 12px !important;
    margin-bottom: 0 !important;
}

.mepr-account-form .mp-form-row .mp-form-label label {
    margin-bottom: 0 !important;
}

.mepr-account-form .mp-form-row > div:not(.mp-form-label) {
    flex: 1 !important;
}

/* Keep checkbox and multiselect fields stacked */
.mepr-account-form .mp-form-row:has(.mepr-checkboxes-field),
.mepr-account-form .mp-form-row:has(.mepr-multiselect-field),
.mepr-account-form .mp-form-row:has(select[multiple]) {
    display: block !important;
}

.mepr-account-form .mp-form-row:has(.mepr-checkboxes-field) .mp-form-label,
.mepr-account-form .mp-form-row:has(.mepr-multiselect-field) .mp-form-label,
.mepr-account-form .mp-form-row:has(select[multiple]) .mp-form-label {
    flex: none !important;
    max-width: none !important;
    padding-top: 0 !important;
    display: block !important;
    margin-bottom: 8px !important;
}

/* Card styling for checkbox and multiselect fields */
.mepr-account-form .mp-form-row:has(.mepr-checkboxes-field),
.mepr-account-form .mp-form-row:has(.mepr-multiselect-field) {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 2px !important;
    padding: 2rem 2.5rem !important;
    margin: 1.5rem 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Enhanced spacing for labels inside cards */
.mepr-account-form .mp-form-row:has(.mepr-checkboxes-field) .mp-form-label label,
.mepr-account-form .mp-form-row:has(.mepr-multiselect-field) .mp-form-label label {
    font-weight: 600 !important;
    font-size: 17px !important;
    color: #333 !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: block !important;
}

/* ==========================================================================
   Color-Themed Checkbox Sections (matching directory filter colors)
   ========================================================================== */

/* Areas of Practice - Blue */
.mepr-account-form .mp-form-row:has(#mepr_primary-specialized-areas-of-practice) {
    background: #fff !important;
    border-color: var(--tag-areas-border) !important;
    border-left: 4px solid var(--tag-areas-color) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_primary-specialized-areas-of-practice) .mp-form-label label {
    color: #333 !important;
    border-bottom-color: var(--tag-areas-border) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_primary-specialized-areas-of-practice) .mepr-form-checkboxes-input:checked {
    background: var(--tag-areas-color) !important;
    border-color: var(--tag-areas-color) !important;
}

/* Problem Areas - Green */
.mepr-account-form .mp-form-row:has(#mepr_problem_areas) {
    background: #fff !important;
    border-color: var(--tag-problems-border) !important;
    border-left: 4px solid var(--tag-problems-color) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_problem_areas) .mp-form-label label {
    color: #333 !important;
    border-bottom-color: var(--tag-problems-border) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_problem_areas) .mepr-form-checkboxes-input:checked {
    background: var(--tag-problems-color) !important;
    border-color: var(--tag-problems-color) !important;
}

/* Assessment Services - Purple */
.mepr-account-form .mp-form-row:has(#mepr_assessment-services-provided) {
    background: #fff !important;
    border-color: var(--tag-assessment-border) !important;
    border-left: 4px solid var(--tag-assessment-color) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_assessment-services-provided) .mp-form-label label {
    color: #333 !important;
    border-bottom-color: var(--tag-assessment-border) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_assessment-services-provided) .mepr-form-checkboxes-input:checked {
    background: var(--tag-assessment-color) !important;
    border-color: var(--tag-assessment-color) !important;
}

/* Methodology - Orange */
.mepr-account-form .mp-form-row:has(#mepr_methodology) {
    background: #fff !important;
    border-color: var(--tag-methodology-border) !important;
    border-left: 4px solid var(--tag-methodology-color) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_methodology) .mp-form-label label {
    color: #333 !important;
    border-bottom-color: var(--tag-methodology-border) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_methodology) .mepr-form-checkboxes-input:checked {
    background: var(--tag-methodology-color) !important;
    border-color: var(--tag-methodology-color) !important;
}

/* Other Areas - Teal */
.mepr-account-form .mp-form-row:has(#mepr_other-areas) {
    background: #fff !important;
    border-color: var(--tag-other-areas-border) !important;
    border-left: 4px solid var(--tag-other-areas-color) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_other-areas) .mp-form-label label {
    color: #333 !important;
    border-bottom-color: var(--tag-other-areas-border) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_other-areas) .mepr-form-checkboxes-input:checked {
    background: var(--tag-other-areas-color) !important;
    border-color: var(--tag-other-areas-color) !important;
}

/* Primary Patient/Client Population (Demographics) - Pink/Rose */
.mepr-account-form .mp-form-row:has(#mepr_primary-patient-client-population) {
    background: #fff !important;
    border-color: var(--tag-demographics-border) !important;
    border-left: 4px solid var(--tag-demographics-color) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_primary-patient-client-population) .mp-form-label label {
    color: #333 !important;
    border-bottom-color: var(--tag-demographics-border) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_primary-patient-client-population) .mepr-form-checkboxes-input:checked {
    background: var(--tag-demographics-color) !important;
    border-color: var(--tag-demographics-color) !important;
}

/* Sector - Indigo */
.mepr-account-form .mp-form-row:has(#mepr_sector) {
    background: #fff !important;
    border-color: var(--tag-sector-border) !important;
    border-left: 4px solid var(--tag-sector-color) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_sector) .mp-form-label label {
    color: #333 !important;
    border-bottom-color: var(--tag-sector-border) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_sector) .mepr-form-checkboxes-input:checked {
    background: var(--tag-sector-color) !important;
    border-color: var(--tag-sector-color) !important;
}

/* Work Setting - Brown */
.mepr-account-form .mp-form-row:has(#mepr_work-setting) {
    background: #fff !important;
    border-color: var(--tag-work-setting-border) !important;
    border-left: 4px solid var(--tag-work-setting-color) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_work-setting) .mp-form-label label {
    color: #333 !important;
    border-bottom-color: var(--tag-work-setting-border) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_work-setting) .mepr-form-checkboxes-input:checked {
    background: var(--tag-work-setting-color) !important;
    border-color: var(--tag-work-setting-color) !important;
}

/* Health Authority - Cyan */
.mepr-account-form .mp-form-row:has(#mepr_health-authority-of-practice) {
    background: #fff !important;
    border-color: var(--tag-health-authority-border) !important;
    border-left: 4px solid var(--tag-health-authority-color) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_health-authority-of-practice) .mp-form-label label {
    color: #333 !important;
    border-bottom-color: var(--tag-health-authority-border) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_health-authority-of-practice) .mepr-form-checkboxes-input:checked {
    background: var(--tag-health-authority-color) !important;
    border-color: var(--tag-health-authority-color) !important;
}

/* Membership Activities - Amber */
.mepr-account-form .mp-form-row:has(#mepr_membership-activities) {
    background: #fff !important;
    border-color: var(--tag-membership-border) !important;
    border-left: 4px solid var(--tag-membership-color) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_membership-activities) .mp-form-label label {
    color: #333 !important;
    border-bottom-color: var(--tag-membership-border) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_membership-activities) .mepr-form-checkboxes-input:checked {
    background: var(--tag-membership-color) !important;
    border-color: var(--tag-membership-color) !important;
}

/* Self-Identify / Diversity - Deep Purple */
.mepr-account-form .mp-form-row:has(#mepr_i-wish-to-self-identify-as-a-member-of-a-diverse-group-for-purposes-of-treatment-and-to-match-with-potential-clients) {
    background: #fff !important;
    border-color: var(--tag-diversity-border) !important;
    border-left: 4px solid var(--tag-diversity-color) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_i-wish-to-self-identify-as-a-member-of-a-diverse-group-for-purposes-of-treatment-and-to-match-with-potential-clients) .mp-form-label label {
    color: #333 !important;
    border-bottom-color: var(--tag-diversity-border) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_i-wish-to-self-identify-as-a-member-of-a-diverse-group-for-purposes-of-treatment-and-to-match-with-potential-clients) .mepr-form-checkboxes-input:checked {
    background: var(--tag-diversity-color) !important;
    border-color: var(--tag-diversity-color) !important;
}

/* Interest Groups - Light Green */
.mepr-account-form .mp-form-row:has(#mepr_interest_groups) {
    background: #fff !important;
    border-color: var(--tag-interest-border) !important;
    border-left: 4px solid var(--tag-interest-color) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_interest_groups) .mp-form-label label {
    color: #333 !important;
    border-bottom-color: var(--tag-interest-border) !important;
}
.mepr-account-form .mp-form-row:has(#mepr_interest_groups) .mepr-form-checkboxes-input:checked {
    background: var(--tag-interest-color) !important;
    border-color: var(--tag-interest-color) !important;
}

/* ==========================================================================
   End Color-Themed Checkbox Sections
   ========================================================================== */

/* Full width for checkboxes, radios, textareas, and submit */
.mepr-account-form .mp-form-row:has(fieldset),
.mepr-account-form .mp-form-row:has(textarea),
.mepr-account-form .mp-form-row:has(.mepr-checkboxes-field),
.mepr-account-form .mp-form-row:has(.mepr-radios-field),
.mepr-account-form .mepr_spacer,
.mepr-account-form input[type="submit"] {
    grid-column: 1 / -1;
}

/* Mobile: single column */
@media (max-width: 768px) {
    .mepr-account-form {
        grid-template-columns: 1fr;
    }
}

.mepr-account-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
    font-size: 14px;
    font-family: 'Roboto Condensed', sans-serif;
}

.mepr-account-form .mp-form-label {
    margin-bottom: 0;
    padding-bottom: 0;
}

.mepr-account-form .mp-form-label label {
    font-size: 14px;
    margin-bottom: 4px;
}

.mepr-account-form .cc-error {
    display: none;
}

.mepr-account-form input[type="text"],
.mepr-account-form input[type="email"],
.mepr-account-form input[type="password"],
.mepr-account-form input[type="tel"],
.mepr-account-form input[type="url"],
.mepr-account-form textarea,
.mepr-account-form select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 0;
    font-size: 14px;
    font-family: 'Roboto Condensed', sans-serif;
    transition: none;
    background: white;
    color: #333;
}

.mepr-account-form input[type="text"]:focus,
.mepr-account-form input[type="email"]:focus,
.mepr-account-form input[type="password"]:focus,
.mepr-account-form input[type="tel"]:focus,
.mepr-account-form input[type="url"]:focus,
.mepr-account-form textarea:focus,
.mepr-account-form select:focus {
    outline: none;
    border-color: #022c68;
}

#mepr-account-user-message,
.mepr-message,
.mepr-error {
    padding: 1rem;
    border-radius: 0;
    margin-bottom: 24px;
    box-shadow: none;
    border: 1px solid #ccc;
}

#mepr-account-welcome-message,
.mepr-message {
    /* background: #f5f5f5;
    border: 1px solid #ddd; */
}

#mepr-account-user-message {
    background: #f5f5f5;
    border: 1px solid #ddd;cursor: ;
    color: #333;
}

.mepr-error {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #333;
}

.mepr-account-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Form rows with generous spacing */
.mepr-account-form .mp-form-row {
}

/* Password change link - Card */
/* .mepr-account-change-password {
    display: block;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #ccc;
    padding: 20px 24px;
    text-align: center;
} */

.mepr-account-change-password a {
    color: #022c68;
    text-decoration: none;
    font-weight: normal;
    font-size: 14px;
    transition: none;
    font-family: 'Roboto Condensed', sans-serif;
}

.mepr-account-change-password a:hover {
    color: #022c68;
    text-decoration: underline;
}

/* Checkbox Fields - 3 Column Layout */
.mp-form-row .mepr-checkboxes-field,
#mepr_problem_areas.mepr-checkboxes-field {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.75rem 1.25rem !important;
    margin-top: 1rem !important;
    padding-top: 0.5rem !important;
}

.mepr-checkboxes-field .mepr-checkboxes-field-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    padding: 0.25rem 0 !important;
}

.mepr-checkboxes-field .mepr-form-checkboxes-input {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    margin-right: 10px !important;
    margin-top: 0 !important;
    position: relative !important;
    background: #fff !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.mepr-checkboxes-field .mepr-form-checkboxes-input:hover {
    border-color: #9ca3af !important;
}

.mepr-checkboxes-field .mepr-form-checkboxes-input:focus {
    outline: 2px solid #022c68 !important;
    outline-offset: 2px !important;
}

.mepr-checkboxes-field .mepr-form-checkboxes-input:checked {
    background: #022c68 !important;
    border-color: #022c68 !important;
}

.mepr-checkboxes-field .mepr-form-checkboxes-input:checked::after {
    content: '' !important;
    position: absolute !important;
    left: 6px !important;
    top: 2px !important;
    width: 5px !important;
    height: 10px !important;
    border: solid white !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

.mepr-checkboxes-field .mepr-form-checkboxes-label {
    margin: 0 !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
}

/* Multiselect Field Styling */
.mepr-multiselect-field,
select[multiple].mepr-form-input {
    min-height: 200px !important;
    padding: 0.75rem !important;
    margin-top: 1rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    background: #fafafa !important;
}

select[multiple].mepr-form-input option {
    padding: 0.5rem !important;
    cursor: pointer !important;
}

select[multiple].mepr-form-input option:checked {
    background: linear-gradient(0deg, #3b82f6 0%, #3b82f6 100%) !important;
    color: white !important;
}
/* Field groups - visual separation */
.mepr-account-form .mp-form-row + .mp-form-row {
    position: relative;
}

/* Responsive */
@media (max-width: 968px) {
    .mepr-account-content {
        padding: 20px 15px;
    }
    
    #mepr-account-welcome-message,
    #mepr-account-user-message,
    .mepr-message,
    .mepr-error {
        margin-bottom: 20px;
    }
    
    .mepr-account-nav {
        flex-direction: column;
    }
    
    .mepr-payment-method {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .mepr-payment-method-actions {
        width: 100%;
    }
    
    .mepr-account-table {
        font-size: 14px;
    }/* Table - Modern card style */
.mepr-account-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #ccc;
}

.mepr-account-table th,
.mepr-account-table td {
    padding: 14px 16px;
    text-align: left;
}

.mepr-account-table thead {
    background: #f5f5f5;
}

.mepr-account-table th {
    font-weight: bold;
    color: #333;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e0e0e0;
    font-family: 'Roboto Condensed', sans-serif;
}

.mepr-account-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: none;
}

.mepr-account-table tbody tr:last-child {
    border-bottom: none;
}

.mepr-account-table tbody {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.mepr-account-table th,
.mepr-account-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.mepr-account-table th {
    background: #f5f5f5;
    font-weight: bold;
    color: #333;
}

.mepr-account-table tr:hover {
}

/* Responsive */
@media (max-width: 768px) {
    .mepr-account-nav {
        flex-direction: column;
    }
    
    .mepr-payment-method {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .mepr-payment-method-actions {
        width: 100%;
    }
    
    .mepr-account-table {
        font-size: 14px;
    }
    
    .mepr-account-table th,
    .mepr-account-table td {
        padding: 8px;
    }
    
    /* Single column checkboxes on mobile */
    .mp-form-row .mepr-checkboxes-field,
    #mepr_problem_areas.mepr-checkboxes-field {
        grid-template-columns: 1fr !important;
    }
    
    /* Stack labels on mobile for better readability */
    .mepr-account-form .mp-form-row {
        display: block !important;
    }
    
    .mepr-account-form .mp-form-row .mp-form-label {
        flex: none !important;
        max-width: none !important;
        padding-top: 0 !important;
        margin-bottom: 8px !important;
    }
    
    /* Adjust card padding on mobile */
    .mepr-account-form .mp-form-row:has(.mepr-checkboxes-field),
    .mepr-account-form .mp-form-row:has(.mepr-multiselect-field) {
        padding: 1.5rem 1.25rem !important;
    }
}
}

#mepr-account-welcome-message > h1 {
Font-weight: 700;

}
.member-account-profile {

    min-height:500px;
}

.mp_wrapper table.mepr-account-table th {
    background: #f5f5f5;
    font-weight: bold;
    color: #333;
}

/* #mepr-account-nav ul {
    display: flex;
flex-direction:row;
gap: 0;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
} */

/**
 * Account Profile Page Styles
 * Custom styling for the MemberPress account page
 */

/* Account Page Container */
.member-account-page {
    /* Add your custom styles here */
}

.member-account-page .entry-content {
    /* Content wrapper styles */
}

/* MemberPress Account Form */
.mepr-account-form {
    /* Account form styles */
}

/* Custom Field Styling */
.mepr-form .mepr-form-row {
    /* Form row styles */
}

/* Account Navigation */
.mepr-account-nav {
    /* Navigation styles */
}

.mepr-submit {width:200px}

/* Labels to the Left Layout */
.mepr-account-form .mp-form-row {
    display: flex !important;
    align-items: flex-start !important;

}

.mepr-account-form .mp-form-row .mp-form-label {
    flex: 0 0 200px !important;
    padding-top: 12px !important;
    margin-bottom: 0 !important;
}

.mepr-account-form .mp-form-row .mp-form-label label {
    margin-bottom: 0 !important;
}

.mepr-account-form .mp-form-row > div:not(.mp-form-label) {
    flex: 1 !important;
}

/* Keep checkbox and multiselect fields stacked */
.mepr-account-form .mp-form-row:has(.mepr-checkboxes-field),
.mepr-account-form .mp-form-row:has(.mepr-multiselect-field),
.mepr-account-form .mp-form-row:has(select[multiple]) {
    display: block !important;
}

.mepr-account-form .mp-form-row:has(.mepr-checkboxes-field) .mp-form-label,
.mepr-account-form .mp-form-row:has(.mepr-multiselect-field) .mp-form-label,
.mepr-account-form .mp-form-row:has(select[multiple]) .mp-form-label {
    flex: none !important;
    max-width: none !important;
    padding-top: 0 !important;
    display: block !important;
    margin-bottom: 8px !important;
}

/* Card styling for checkbox and multiselect fields */
.mepr-account-form .mp-form-row:has(.mepr-checkboxes-field),
.mepr-account-form .mp-form-row:has(.mepr-multiselect-field) {
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 2px !important;
    padding: 2rem 2.5rem !important;
    margin: 1.5rem 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Enhanced spacing for labels inside cards */
.mepr-account-form .mp-form-row:has(.mepr-checkboxes-field) .mp-form-label label,
.mepr-account-form .mp-form-row:has(.mepr-multiselect-field) .mp-form-label label {
    font-weight: 600 !important;
    font-size: 17px !important;
    color: #333 !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: block !important;
}

/* Checkbox Fields - 3 Column Layout */
.mp-form-row .mepr-checkboxes-field,
#mepr_problem_areas.mepr-checkboxes-field {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.75rem 1.25rem !important;
    margin-top: 1rem !important;
    padding-top: 0.5rem !important;
}

.mepr-checkboxes-field .mepr-checkboxes-field-row {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    padding: 0.25rem 0 !important;
}

.mepr-checkboxes-field .mepr-form-checkboxes-input {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    margin-right: 10px !important;
    margin-top: 0 !important;
    position: relative !important;
    background: #fff !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.mepr-checkboxes-field .mepr-form-checkboxes-input:hover {
    border-color: #9ca3af !important;
}

.mepr-checkboxes-field .mepr-form-checkboxes-input:focus {
    outline: 2px solid #022c68 !important;
    outline-offset: 2px !important;
}

.mepr-checkboxes-field .mepr-form-checkboxes-input:checked {
    background: #022c68 !important;
    border-color: #022c68 !important;
}

.mepr-checkboxes-field .mepr-form-checkboxes-input:checked::after {
    content: '' !important;
    position: absolute !important;
    left: 6px !important;
    top: 2px !important;
    width: 5px !important;
    height: 10px !important;
    border: solid white !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

.mepr-checkboxes-field .mepr-form-checkboxes-label {
    margin: 0 !important;
    cursor: pointer !important;
    line-height: 1.4 !important;
}

/* Multiselect Field Styling */
.mepr-multiselect-field,
select[multiple].mepr-form-input {
    min-height: 200px !important;
    padding: 0.75rem !important;
    margin-top: 1rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    background: #fafafa !important;
}

select[multiple].mepr-form-input option {
    padding: 0.5rem !important;
    cursor: pointer !important;
}

select[multiple].mepr-form-input option:checked {
    background: linear-gradient(0deg, #3b82f6 0%, #3b82f6 100%) !important;
    color: white !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .member-account-page {
        /* Mobile styles */
    }
    
    /* Single column on mobile */
    .mp-form-row .mepr-checkboxes-field,
    #mepr_problem_areas.mepr-checkboxes-field {
        grid-template-columns: 1fr !important;
    }
    
    /* Stack labels on mobile for better readability */
    .mepr-account-form .mp-form-row {
        display: block !important;
    }
    
    .mepr-account-form .mp-form-row .mp-form-label {
        flex: none !important;
        max-width: none !important;
        padding-top: 0 !important;
        margin-bottom: 8px !important;
    }
    
    /* Adjust card padding on mobile */
    .mepr-account-form .mp-form-row:has(.mepr-checkboxes-field),
    .mepr-account-form .mp-form-row:has(.mepr-multiselect-field) {
        padding: 1.5rem 1.25rem !important;
    }
}

#mepr_title {
    width:100px;
}