/* Tabs Container */
.tabs-container {
    margin-bottom: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.tab-content {
    width: 100%;
    box-sizing: border-box;
}

/* Form Headline */
.form-headline {
    margin-bottom: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.form-headline h5 {
    margin-bottom: 1.5rem;
}

/* Filters Row */
.filters-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.filters-row select {
    padding: 4px 8px;
    font-size: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: #fff;
    color: #495057;
    cursor: pointer;
    height: 28px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    padding-right: 24px;
    min-width: 120px;
}

.filters-row select option {
    font-size: 0.75rem;
    padding: 4px 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filters-row select:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}



/* Responsive adjustments for filters */
/* @media (max-width: 768px) {
    .filters-row {
        gap: 8px;
    }

    .filters-row select {
        padding: 3px 6px;
        font-size: 0.7rem;
        height: 24px;
        background-size: 10px;
        padding-right: 20px;
        min-width: 100px;
    }

    .filters-row select option {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}

@media (max-width: 576px) {
    .filters-row {
        gap: 6px;
    }

    .filters-row select {
        padding: 2px 4px;
        font-size: 0.65rem;
        height: 22px;
        background-size: 8px;
        padding-right: 16px;
        min-width: 90px;
    }

    .filters-row select option {
        font-size: 0.65rem;
        padding: 2px 4px;
    }
} */

/* ==========================================================================
   Base Container Styles
   ========================================================================== */
.container-account-profile {
    max-width: none;
    margin: 0;
    padding: 1.5rem 3%;
    padding-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Dark theme container for account profile */
.account-profile-content-section {
    position: relative;
    z-index: 10;
    background: #1a1a1a; /* Black background */
    min-height: auto;
    padding: 2rem 3%;
    margin: 2rem 3% 2rem 3%; /* Margin to create space for gradient outside */
    border-radius: 16px; /* Rounded border */
    border: 1px solid rgba(255, 255, 255, 0.1); /* White border */
    box-sizing: border-box;
    width: calc(100% - 6%); /* Adjust width for margin */
    margin-left: auto;
    margin-right: auto;
}

/* Apply gradient background to main section when account profile content is present */
.main-section:has(.account-profile-content-section),
body:has(.account-profile-content-section) .main-section {
    background:
    radial-gradient( 700px 600px at 46% 65%, rgba(31, 156, 233, 0.55), transparent 70% ), radial-gradient( 600px 700px at 60% 30%, rgba(132, 40, 253, 0.55), transparent 70% ), radial-gradient( 700px 600px at 75% 65%, rgba(220, 40, 40, 0.6), transparent 75% ), linear-gradient( 180deg, #1a1a1a 0%, #0f0f0f 100% );

    background-attachment: fixed;
    min-height: 100vh;
}

/* Also ensure body background has gradient when account profile is present */
body:has(.account-profile-content-section) {
    background:
    radial-gradient( 700px 600px at 46% 65%, rgba(31, 156, 233, 0.55), transparent 70% ), radial-gradient( 600px 700px at 60% 30%, rgba(132, 40, 253, 0.55), transparent 70% ), radial-gradient( 700px 600px at 75% 65%, rgba(220, 40, 40, 0.6), transparent 75% ), linear-gradient( 180deg, #1a1a1a 0%, #0f0f0f 100% );

    background-attachment: fixed;
    min-height: 100vh;
}

/* White text for all content in account profile section */
.account-profile-content-section h1,
.account-profile-content-section h2,
.account-profile-content-section h3,
.account-profile-content-section h4,
.account-profile-content-section h5,
.account-profile-content-section h6,
.account-profile-content-section p,
.account-profile-content-section label,
.account-profile-content-section span,
.account-profile-content-section li,
.account-profile-content-section td,
.account-profile-content-section th,
.account-profile-content-section .form-headline,
.account-profile-content-section .material-symbols-outlined,
.account-profile-content-section .column-forms label,
.account-profile-content-section .form-row label,
.account-profile-content-section .container-campaign label {
    color: #ffffff !important;
}

/* Override global-fonts.css label color */
.account-profile-content-section label {
    color: #ffffff !important;
}

.account-profile-content-section .form-headline h5 {
    color: #ffffff !important;
}

.account-profile-content-section .required-field {
    color: #ff6b6b !important;
}

.account-profile-content-section .error-message {
    color: #ff6b6b !important;
    min-height: 0 !important;
    height: auto !important;
    margin-top: 0.25rem !important;
    display: block !important;
}

/* Ensure error messages don't cause layout shifts */
.account-profile-content-section .column-forms .error-message:empty {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.account-profile-content-section .form-validation-error {
    background-color: rgba(220, 53, 69, 0.2) !important;
    border: 1px solid rgba(220, 53, 69, 0.4) !important;
    color: #ff6b6b !important;
}

.account-profile-content-section .form-validation-error ul {
    color: #ff6b6b !important;
}

.account-profile-content-section .form-validation-error li {
    color: #ff6b6b !important;
}

.container-campaign {
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* ========== Medium screens (≤1365px) ========== */
@media (max-width: 1365px) {
    /* H5 Headlines */
    .form-headline h5 {
        font-size: 1.2rem;
        margin-bottom: 0.9em;
        line-height: 1.4;
    }
    
    /* Container adjustments */
    .container-campaign {
        padding: 0;
    }
    
    /* Form elements scaling */
    .column-forms input,
    .column-forms select {
        height: 36px;
        padding: 0.4rem 0.6rem;
        font-size: 0.65rem;
    }
    
    .column-forms label {
        font-size: 0.6rem;
        margin-bottom: 0.4rem;
    }
    
    /* Button scaling */
    .btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        height: 36px;
    }
    
    /* Error messages */
    .error-message {
        font-size: 0.7rem;
    }
    
    /* Form row spacing */
    .form-row,
    .form-row-background {
        gap: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    /* Button gaps */
    .btn-gap {
        margin: 1.2rem 0;
    }
    
    /* Container account profile */
    .container-account-profile {
        padding: 1.5rem 3% 2rem 3%;
    }
}

/* ==========================================================================
   Dark Theme Styles for Account Profile
   ========================================================================== */

/* Tabs styling */
.account-profile-content-section .tabs,
.account-profile-content-section .dealer-tabs,
.account-profile-content-section .tabs-container {
    display: flex !important;
    width: 100% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px 8px 0 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-sizing: border-box !important;
}

.account-profile-content-section .dealer-tab-btn {
    flex: 1 !important; /* Make tabs span full width equally */
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-bottom: 2px solid transparent !important;
    width: auto !important;
}

.account-profile-content-section .dealer-tab-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.account-profile-content-section .dealer-tab-btn.active {
    color: #4ea5f2 !important;
    border-bottom: 2px solid #4ea5f2 !important;
    background: rgba(255, 255, 255, 0.2) !important;
    font-weight: 600 !important;
}

/* Form elements - High specificity to override global styles */
.account-profile-content-section input[type="text"],
.account-profile-content-section input[type="email"],
.account-profile-content-section input[type="tel"],
.account-profile-content-section input[type="url"],
.account-profile-content-section input[type="time"],
.account-profile-content-section input[type="date"],
.account-profile-content-section input[type="number"],
.account-profile-content-section textarea,
.account-profile-content-section select,
.account-profile-content-section .form-control,
.account-profile-content-section .day-dropdown,
.account-profile-content-section .column-forms input,
.account-profile-content-section .column-forms select,
.account-profile-content-section .column-forms textarea,
.account-profile-content-section .form-row input,
.account-profile-content-section .form-row select,
.account-profile-content-section .form-row textarea,
.account-profile-content-section .container-campaign input,
.account-profile-content-section .container-campaign select,
.account-profile-content-section .container-campaign textarea {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    height: auto !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 1.5 !important;
    padding: 0.5rem 0.75rem !important;
    box-sizing: border-box !important;
}

.account-profile-content-section input[type="text"]:focus,
.account-profile-content-section input[type="email"]:focus,
.account-profile-content-section input[type="tel"]:focus,
.account-profile-content-section input[type="url"]:focus,
.account-profile-content-section input[type="time"]:focus,
.account-profile-content-section input[type="date"]:focus,
.account-profile-content-section input[type="number"]:focus,
.account-profile-content-section textarea:focus,
.account-profile-content-section select:focus,
.account-profile-content-section .form-control:focus,
.account-profile-content-section .day-dropdown:focus,
.account-profile-content-section .column-forms input:focus,
.account-profile-content-section .column-forms select:focus,
.account-profile-content-section .column-forms textarea:focus,
.account-profile-content-section .form-row input:focus,
.account-profile-content-section .form-row select:focus,
.account-profile-content-section .form-row textarea:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-color: #4ea5f2 !important;
    box-shadow: 0 0 0 3px rgba(78, 165, 242, 0.3) !important;
    outline: none !important;
}

.account-profile-content-section input[type="text"]::placeholder,
.account-profile-content-section input[type="email"]::placeholder,
.account-profile-content-section input[type="tel"]::placeholder,
.account-profile-content-section input[type="url"]::placeholder,
.account-profile-content-section input[type="number"]::placeholder,
.account-profile-content-section textarea::placeholder,
.account-profile-content-section .column-forms input::placeholder,
.account-profile-content-section .column-forms textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

/* Ensure textarea has dark background and white text */
.account-profile-content-section textarea {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.account-profile-content-section textarea:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-color: #4ea5f2 !important;
    box-shadow: 0 0 0 3px rgba(78, 165, 242, 0.3) !important;
    outline: none !important;
}

.account-profile-content-section select option,
.account-profile-content-section .column-forms select option,
.account-profile-content-section .form-row select option,
.account-profile-content-section .day-dropdown option {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

/* Override global form styles */
.account-profile-content-section .form-row,
.account-profile-content-section .form-row-background,
.account-profile-content-section .form-row-bkg-accprofile,
.account-profile-content-section .container-campaign {
    background: transparent !important;
}

.account-profile-content-section .form-row-bkg-accprofile {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

/* Sales and Service Hours sections - full width */
.account-profile-content-section #sales-hours-container,
.account-profile-content-section #service-hours-container {
    width: 100% !important;
    box-sizing: border-box !important;
}

.account-profile-content-section #sales-hours-container .form-row,
.account-profile-content-section #service-hours-container .form-row,
.account-profile-content-section #sales-hours-container .form-row-background,
.account-profile-content-section #service-hours-container .form-row-background {
    width: 100% !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 1.5rem !important;
}

/* Ensure form-headline for sales/service hours spans full width */
.account-profile-content-section .form-headline {
    width: 100% !important;
    box-sizing: border-box !important;
}

.account-profile-content-section .form-headline h5 {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Override global-forms.css background colors */
.account-profile-content-section .form-row-background {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
}

/* Override global-forms.css form-control styles */
.account-profile-content-section .form-control,
.account-profile-content-section input.form-control,
.account-profile-content-section select.form-control,
.account-profile-content-section textarea.form-control {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.account-profile-content-section .form-control:focus,
.account-profile-content-section input.form-control:focus,
.account-profile-content-section select.form-control:focus,
.account-profile-content-section textarea.form-control:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-color: #4ea5f2 !important;
    box-shadow: 0 0 0 3px rgba(78, 165, 242, 0.3) !important;
}

/* Override global-fonts.css color styles - with webkit text fill for browser autofill */
.account-profile-content-section input,
.account-profile-content-section select,
.account-profile-content-section textarea,
.account-profile-content-section .form-control {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.account-profile-content-section input:not(:placeholder-shown) {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.account-profile-content-section input:focus {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Override global-forms.css input styles */
.account-profile-content-section input[type="text"],
.account-profile-content-section input[type="email"],
.account-profile-content-section input[type="password"],
.account-profile-content-section input[type="time"],
.account-profile-content-section input[type="number"],
.account-profile-content-section select {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.account-profile-content-section input[type="text"]:focus,
.account-profile-content-section input[type="email"]:focus,
.account-profile-content-section input[type="password"]:focus,
.account-profile-content-section input[type="time"]:focus,
.account-profile-content-section input[type="number"]:focus,
.account-profile-content-section select:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-color: #4ea5f2 !important;
    box-shadow: 0 0 0 3px rgba(78, 165, 242, 0.3) !important;
}

.account-profile-content-section .locked-field {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    cursor: not-allowed !important;
}

/* Form row backgrounds */
.account-profile-content-section .form-row-background {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 1rem !important;
}

/* Buttons */
.account-profile-content-section .btn {
    transition: all 0.2s ease !important;
}

.account-profile-content-section .btn-primary,
.account-profile-content-section .btn-primary-flex {
    background: #4ea5f2 !important;
    color: #ffffff !important;
    border: none !important;
    background-image: none !important; /* Remove any gradients */
}

.account-profile-content-section .btn-primary:hover,
.account-profile-content-section .btn-primary-flex:hover {
    background: #3a8bd9 !important;
    color: #ffffff !important;
    background-image: none !important; /* Remove any gradients */
}

.account-profile-content-section .btn-secondary,
.account-profile-content-section .btn-secondary-flex {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.account-profile-content-section .btn-secondary:hover,
.account-profile-content-section .btn-secondary-flex:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Select2 dropdown styling */
.account-profile-content-section .select2-container--default .select2-selection--single {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.account-profile-content-section .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
}

.account-profile-content-section .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #4ea5f2 !important;
}

.account-profile-content-section .select2-dropdown {
    background-color: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.account-profile-content-section .select2-container--default .select2-results__option {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

.account-profile-content-section .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(78, 165, 242, 0.3) !important;
    color: #ffffff !important;
}

.account-profile-content-section .select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(78, 165, 242, 0.5) !important;
    color: #ffffff !important;
}

/* Tables (if any exist) */
.account-profile-content-section table {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
}

.account-profile-content-section thead {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.account-profile-content-section thead th {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.account-profile-content-section tbody {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.account-profile-content-section tbody td {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.account-profile-content-section tbody tr {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.account-profile-content-section tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Additional overrides for global-fonts.css and global-forms.css */
.account-profile-content-section input {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.account-profile-content-section input:not(:placeholder-shown) {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.account-profile-content-section input:focus {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Override all form elements with maximum specificity */
.account-profile-content-section .form-row input,
.account-profile-content-section .form-row select,
.account-profile-content-section .form-row textarea,
.account-profile-content-section .form-row-background input,
.account-profile-content-section .form-row-background select,
.account-profile-content-section .form-row-background textarea,
.account-profile-content-section .form-row-bkg-accprofile input,
.account-profile-content-section .form-row-bkg-accprofile select,
.account-profile-content-section .form-row-bkg-accprofile textarea,
.account-profile-content-section .container-campaign input,
.account-profile-content-section .container-campaign select,
.account-profile-content-section .container-campaign textarea {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.account-profile-content-section .form-row input:focus,
.account-profile-content-section .form-row select:focus,
.account-profile-content-section .form-row textarea:focus,
.account-profile-content-section .form-row-background input:focus,
.account-profile-content-section .form-row-background select:focus,
.account-profile-content-section .form-row-background textarea:focus,
.account-profile-content-section .form-row-bkg-accprofile input:focus,
.account-profile-content-section .form-row-bkg-accprofile select:focus,
.account-profile-content-section .form-row-bkg-accprofile textarea:focus,
.account-profile-content-section .container-campaign input:focus,
.account-profile-content-section .container-campaign select:focus,
.account-profile-content-section .container-campaign textarea:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-color: #4ea5f2 !important;
    box-shadow: 0 0 0 3px rgba(78, 165, 242, 0.3) !important;
}

/* Info boxes and notification lists */
.account-profile-content-section div[style*="background"],
.account-profile-content-section ul[style*="background"] {
    color: rgba(255, 255, 255, 0.9) !important;
}

.account-profile-content-section div[style*="background"] strong,
.account-profile-content-section ul[style*="background"] li {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Links in account profile */
.account-profile-content-section a {
    color: #4ea5f2 !important;
}

.account-profile-content-section a:hover {
    color: #6ab6f5 !important;
}

/* Primary manager highlight */
.account-profile-content-section .primary-manager-highlight {
    border: 2px solid #4ea5f2 !important;
    background: rgba(78, 165, 242, 0.1) !important;
}

/* Optional text styling */
.account-profile-content-section div[style*="Optional"] {
    color: rgba(255, 255, 255, 0.7) !important;
}

.account-profile-content-section div[style*="Optional"] i {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Override all inline background colors for dark theme */
.account-profile-content-section div[style*="background: #fff3cd"],
.account-profile-content-section div[style*="background:#fff3cd"] {
    background: rgba(255, 193, 7, 0.2) !important;
    color: #ffc107 !important;
    border-color: rgba(255, 193, 7, 0.4) !important;
}

.account-profile-content-section div[style*="background: #fff3cd"] i,
.account-profile-content-section div[style*="background:#fff3cd"] i {
    color: #ffc107 !important;
}

.account-profile-content-section ul[style*="background: #eafaf1"],
.account-profile-content-section ul[style*="background:#eafaf1"] {
    background: rgba(76, 175, 80, 0.2) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(76, 175, 80, 0.4) !important;
}

.account-profile-content-section ul[style*="background: #eafaf1"] li,
.account-profile-content-section ul[style*="background:#eafaf1"] li {
    color: rgba(255, 255, 255, 0.9) !important;
}

.account-profile-content-section ul[style*="background: #eafaf1"] i,
.account-profile-content-section ul[style*="background:#eafaf1"] i {
    color: #4caf50 !important;
}

/* Override primary manager badge */
.account-profile-content-section div[style*="background: #007bff"],
.account-profile-content-section div[style*="background:#007bff"] {
    background: #4ea5f2 !important;
}

/* Override primary manager row background */
.account-profile-content-section div[style*="background: #f8f9ff"],
.account-profile-content-section div[style*="background:#f8f9ff"] {
    background: rgba(78, 165, 242, 0.1) !important;
    border-color: #4ea5f2 !important;
}

/* Override color styles */
.account-profile-content-section div[style*="color: #888"],
.account-profile-content-section div[style*="color:#888"] {
    color: rgba(255, 255, 255, 0.7) !important;
}

.account-profile-content-section div[style*="color: #222"],
.account-profile-content-section div[style*="color:#222"] {
    color: rgba(255, 255, 255, 0.9) !important;
}

.account-profile-content-section div[style*="color: #856404"],
.account-profile-content-section div[style*="color:#856404"] {
    color: #ffc107 !important;
}

.account-profile-content-section div[style*="color: #bbb"],
.account-profile-content-section div[style*="color:#bbb"] {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Ensure all text in info boxes is visible */
.account-profile-content-section div[style*="background"] strong {
    color: rgba(255, 255, 255, 0.9) !important;
}

.account-profile-content-section div[style*="color:#bbb"] {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Ensure all text in info boxes is visible */
.account-profile-content-section div[style*="background"] strong {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Ensure select elements maintain consistent height and alignment to prevent layout shifts when switching countries */
.account-profile-content-section #state_province,
.account-profile-content-section #country {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 1.5 !important;
    padding: 0.5rem 0.75rem !important;
    box-sizing: border-box !important;
    vertical-align: top !important;
}

/* Ensure form row columns align properly */
.account-profile-content-section .form-row,
.account-profile-content-section .container-campaign {
    align-items: start !important;
}

.account-profile-content-section .column-forms {
    align-items: stretch !important;
    justify-content: flex-start !important;
}

/* Prevent labels from wrapping and maintain consistent height */
.account-profile-content-section .column-forms label {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: 1.5rem !important;
    height: auto !important;
    line-height: 1.5 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

/* Ensure form columns maintain consistent width */
.account-profile-content-section .form-row .column-forms,
.account-profile-content-section .container-campaign .column-forms {
    min-width: 0 !important;
    flex: 1 1 0 !important;
}

/* Ensure select elements maintain consistent height and alignment to prevent layout shifts when switching countries */
.account-profile-content-section #state_province,
.account-profile-content-section #country {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 1.5 !important;
    padding: 0.5rem 0.75rem !important;
    box-sizing: border-box !important;
    vertical-align: top !important;
}

/* Ensure form row columns align properly */
.account-profile-content-section .form-row,
.account-profile-content-section .container-campaign {
    align-items: start !important;
}

.account-profile-content-section .column-forms {
    align-items: stretch !important;
    justify-content: flex-start !important;
}

/* Prevent labels from wrapping and maintain consistent height */
.account-profile-content-section .column-forms label {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: 1.5rem !important;
    height: auto !important;
    line-height: 1.5 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

/* Ensure form columns maintain consistent width */
.account-profile-content-section .form-row .column-forms,
.account-profile-content-section .container-campaign .column-forms {
    min-width: 0 !important;
    flex: 1 1 0 !important;
}
