/* ==========================================================================
   CUSTOM.CSS - Per-Company Customization
   ========================================================================== */

:root {
    --accent-color: #035096;
    --accent-color-dark: #024078;
    --accent-color-light: #3a7bc8;
    --accent-color-mid: #035096;

    --accent-glow-strong: rgba(3, 80, 150, 1);
    --accent-glow: rgba(3, 80, 150, 0.7);
    --accent-glow-soft: rgba(3, 80, 150, 0.45);
    --accent-glow-dim: rgba(3, 80, 150, 0.35);
    --accent-glow-faint: rgba(3, 80, 150, 0.08);
    --accent-bg-subtle: rgba(3, 80, 150, 0.14);
    --accent-bg-glass: rgba(3, 80, 150, 0.10);
    --accent-bg-radial: rgba(3, 80, 150, 0.18);
    --accent-border-subtle: rgba(3, 80, 150, 0.22);
    --accent-border-medium: rgba(3, 80, 150, 0.30);
    --accent-text-85: rgba(3, 80, 150, 0.85);
    --accent-text-70: rgba(3, 80, 150, 0.70);

    --warning: #18ba60;
    --error: #EF4444;
    --success: #18ba60;
    --success-dark: #129a4e;

    --topbar-bg: #71716f;

    --text-color: #333;
    --text-muted: #6c757d;

    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-bg: #71716f;

    --border-color: #e2e8f0;

    --flatpickr-hover-bg: #035096;
    --flatpickr-hover-text: #ffffff;

    --neumorphic-bg: #f0f2f5;
    --shadow-light: #ffffff;
    --shadow-dark: #d1d9e6;

    --form-bg: var(--white);
    --form-text: var(--text-color);
    --form-label: #555;
}

/* ==========================================================================
   FORM TWEAKS
   ========================================================================== */
.ez-sf-field label {
    font-weight: 600 !important;
    font-size: 0.73rem !important;
}
.ez-sf-field {
    margin-bottom: 12px !important;
}
.ez-sf-field input[type="text"],
.ez-sf-field select {
    padding: 5px 10px !important;
    font-size: 0.8rem !important;
}

/* ==========================================================================
   FILTER SIDEBAR
   ========================================================================== */
#filterSidebar > div.bg-white.shadow-md {
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
    border: none !important;
    padding: 16px 18px !important;
}
#filterSidebar > div.bg-white h3 {
    font-size: 0.95rem !important;
    color: #334155 !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #035096 !important;
    margin-bottom: 0 !important;
}
#filterSidebar .flex.justify-between.mb-4 {
    margin-bottom: 12px !important;
}
#filterSidebar h4 {
    font-size: 0.73rem !important;
    font-weight: 600 !important;
    color: #4a5568 !important;
    letter-spacing: 0.5px;
    margin-bottom: 8px !important;
}
#filterSidebar label.flex.items-center {
    font-size: 0.8rem !important;
    color: #334155 !important;
}
#filterSidebar .mb-6 {
    margin-bottom: 16px !important;
}

/* ==========================================================================
   GRANULAR ACCENT OVERRIDES
   ========================================================================== */

/* --- Feature Icons --- GRAY */
.ez-feature-icon      { color: #71716f; }

/* --- Offer Title / Icons --- BLUE */
.ez-offer-title       { color: #035096; }
.ez-offer-icon        { color: #035096; }

/* --- View More --- BLUE */
.ez-viewmore-link     { color: #035096; }

/* --- Search Summary Bar Icons --- GREEN */
.ez-searchbar-icon    { color: #18ba60; }

/* --- Info Panel Icons --- BLUE */
.ez-info-icon         { color: #035096; }

/* --- Tab Section Header Icons --- BLUE */
.ez-tab-icon          { color: #035096; }

/* --- Optional Extras Icons & Price --- BLUE */
.ez-extras-icon       { color: #035096; }
.ez-extras-price      { color: #035096; }

/* --- Insurance Price --- GREEN */
.ez-insurance-price   { color: #18ba60; }

/* ==========================================================================
   BUTTONS & CTA — GREEN
   ========================================================================== */
.form-group label i {
    color: #d9d9d9;
}
.includes-box ul li i {
    color: #18ba60;
}
.booking-form button {
    background-color: #18ba60;
}
.booking-form button:hover {
    background-color: #035096;
}

/* --- Accent text --- BLUE */
.ez-accent-text {
    color: #035096 !important;
}

/* --- Book Now button --- GREEN */
.ez-book-btn {
    background: #18ba60;
    box-shadow: 0 4px 10px rgba(24, 186, 96, 0.25) !important;
}
.ez-book-btn:hover {
    background: #035096;
    box-shadow: 0 4px 10px rgba(3, 80, 150, 0.3) !important;
}

/* --- Feature icons --- GRAY */
.ez-feature-icon {
    color: #71716f;
}

/* --- Price value --- GREEN */
.ez-price-value {
    color: #18ba60;
}
.ez-price-value--large {
    color: #035096;
}

/* --- Form label icons --- GRAY */
.ez-sf-field label i {
    color: #71716f;
}

/* --- Search form submit --- GREEN */
.ez-sf-submit {
    background: #18ba60;
    box-shadow: 0 4px 10px rgba(24, 186, 96, 0.2) !important;
}
.ez-sf-submit:hover {
    background: #035096;
    box-shadow: 0 4px 10px rgba(3, 80, 150, 0.2) !important;
}

/* --- Insurance card selected --- BLUE */
.ez-ins-card--selected {
    border-color: #035096 !important;
}
.ez-ins-card:hover {
    border-color: #18ba60;
}

/* --- Button selected state --- BLUE */
.ez-btn--selected {
    background: #035096 !important;
}

/* --- Extra item --- BLUE */
.ez-extra-item {
    border: 1px solid #035096;
}
.ez-extra-icon {
    color: #035096;
}

/* --- Summary total --- GREEN */
.ez-summary-total {
    color: #18ba60;
}

/* --- Floating label focus --- BLUE */
.floating-label-input input:focus + label,
.floating-label-input input:not(:placeholder-shown) + label,
.floating-label-input select:focus + label,
.floating-label-input select:not([value=""]) + label {
    color: #035096;
}

/* --- Accent link --- BLUE */
.ez-accent-link {
    color: #035096;
}

/* --- Next / Submit buttons --- GREEN */
.ez-btn-next, .ez-btn-submit {
    background-color: #18ba60;
}

/* --- Confirm card header icon --- GREEN */
.confirm-card-header h3 i {
    color: #18ba60;
    filter: drop-shadow(0 0 6px rgba(24, 186, 96, 0.4));
}

/* --- Fleet --- */
.ez-fleet-price-card {
    border: 2px solid #035096;
}
.ez-fleet-price-card:hover {
    box-shadow: 0 4px 15px rgba(3, 80, 150, 0.3);
}
.ez-fleet-book-btn {
    background: #18ba60 !important;
}
.ez-fleet-price-value {
    color: #18ba60;
}

/* --- Modal form submit --- GREEN */
.mf-submit {
    background: #18ba60;
}

/* --- Model page --- */
.model-form-title i {
    color: #035096;
}
.model-price-amount {
    color: #18ba60;
}
.model-category-badge {
    background: #035096;
}
.model-title-divider {
    background: #035096;
}
.model-includes-list li i {
    color: #035096;
}
.model-includes-title i {
    color: #035096;
}
.model-specs-title {
    border-bottom: 2px solid #035096;
}
.model-spec-item:hover {
    border-color: #035096;
}

/* --- Search form header icon --- BLUE */
.ez-sf-header h3 i {
    color: #035096;
}

/* --- Border accent --- BLUE */
.border-green-500 {
    border-color: #035096 !important;
}

/* --- Affiliate --- */
.affiliateStepDot.active i, .affiliateStepDot.done i {
    background: #035096;
}
.affiliateSectionTitle i {
    color: #035096;
}
#affiliateBenefitsTitle i, #affiliateFormTitle i {
    color: #035096;
}
.affiliateFeatureBox:hover {
    background: rgba(3, 80, 150, 0.12);
    border-color: rgba(3, 80, 150, 0.20);
}
.affiliateNextBtn, .affiliateNextBtn:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0);
}

/* --- Price card states --- */
.ez-price-card--active {
    border-color: #035096 !important;
}
.ez-price-card--selected {
    background-color: rgba(3, 80, 150, 0.08) !important;
}

/* --- Accent gradient --- GREEN to BLUE */
.ez-accent-gradient {
    background: linear-gradient(135deg, #18ba60 0%, #035096 100%);
}
.ez-accent-bg {
    background-color: #18ba60;
}

/* --- Category pill active --- BLUE */
.ez-category-pill--active {
    background: rgba(3, 80, 150, 0.10) !important;
}
.ez-category-pill--active:hover {
    background: rgba(3, 80, 150, 0.16) !important;
}

/* --- Form shadows (disabled) --- */
.form-group button:hover {
    box-shadow: 0 10px 18px rgba(0,0,0,0) !important;
}
.form-group input[type="text"], .form-group input[type="date"],
.form-group input[type="time"], .form-group select {
    box-shadow: 0 10px 18px rgba(0,0,0,0) !important;
}

/* ==========================================================================
   FLATPICKR — BLUE
   ========================================================================== */
.flatpickr-months {
    background-color: #035096;
}
.flatpickr-months .flatpickr-prev-month svg path,
.flatpickr-months .flatpickr-next-month svg path {
    fill: #ffffff;
}
.flatpickr-day:hover {
    background-color: #18ba60;
    color: #fff;
}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange,
.flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover, .flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: #035096;
    border-color: #035096;
}

/* ==========================================================================
   TOP NAV BAR — GRAY
   ========================================================================== */
.top-nav-bar {
    background-color: #71716f;
}
.top-nav-bar a, .top-nav-bar .ez-nav-link {
    color: #fff;
}
.top-nav-bar a:hover, .top-nav-bar .ez-nav-link:hover {
    color: #18ba60 !important;
}

/* ==========================================================================
   HEADER — WHITE with BLUE links, GREEN hover
   ========================================================================== */
header.bg-gray-950.text-gray-300.shadow-sm.sticky.top-0.z-50 {
    background-color: #ffffff;
    color: #035096;
    border-bottom: 1px solid #e2e8f0;
}
header.bg-gray-950 a, header.bg-gray-950 .ez-nav-link {
    color: #035096 !important;
}
header.bg-gray-950 a:hover, header.bg-gray-950 .ez-nav-link:hover {
    color: #18ba60 !important;
}
button#nav-toggle {
    color: #035096;
}

/* ==========================================================================
   FOOTER — WHITE bg, BLUE text, GREEN hover
   ========================================================================== */
footer.bg-gray-950.text-gray-300.py-12.relative.overflow-hidden.font-sans {
    background-color: #ffffff;
    color: #71716f;
}
footer .text-custom-accent {
    color: #18ba60;
}
footer .border-custom-accent\/30 {
    border-color: rgba(3, 80, 150, 0.15);
}
footer .footer-link-item::before {
    background-color: #18ba60;
}
footer .footer-link-item {
    color: #71716f;
}
footer .footer-link-item:hover {
    color: #035096;
}
p.flex.items-center.text-gray-400.hover\:text-custom-accent.transition {
    color: #71716f;
}
p.flex.items-center.text-gray-400.hover\:text-custom-accent.transition:hover {
    color: #18ba60;
}
p.text-gray-400.text-base.max-w-sm.leading-relaxed.hover\:text-custom-accent {
    color: #71716f;
}
.text-center.md\:text-center.space-y-0\.5.w-full.mt-4 {
    color: #71716f;
}
footer .hover\:text-custom-accent {
    color: #71716f;
}
footer .hover\:text-custom-accent:hover {
    color: #18ba60;
}
h5.font-bold.text-white.mb-4.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2 {
    color: #035096;
}
h5.font-bold.text-white.mb-5.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2 {
    color: #035096;
}

/* ==========================================================================
   MISC
   ========================================================================== */
.booking-form-wrapper {
    background: rgb(0 0 0 / 15%);
}
.includes-box {
    background: rgb(0 0 0 / 15%);
}
.ez-dual-range__fill {
    background: #18ba60;
}
.ez-clear-filters-btn {
    background: #18ba60;
    color: #fff;
}
.ez-clear-filters-btn:hover {
    background: #035096;
    color: #fff;
}
.confirm-new-booking {
    background: #18ba60;
}
.peer:checked ~ .ez-toggle-checked {
    background-color: #035096 !important;
}
.confirm-banner::before {
    background: radial-gradient(ellipse at 30% 40%, rgba(24, 186, 96, 0.08) 0%, transparent 55%), radial-gradient(ellipse at 75% 60%, rgba(3, 80, 150, 0.10) 0%, transparent 55%);
}
.confirm-banner-title i {
    animation: none;
    color: #129603!important;
}

/* --- Shadows disabled --- */
.ez-sf-field input[type="text"], .ez-sf-field select {
    box-shadow: 0 10px 18px rgba(0,0,0,0) !important;
}
.mf-field select:focus, .mf-field input[type="text"]:focus {
    box-shadow: 0 0 0 2px rgba(0,0,0,0);
}
.ez-sort-select {
    box-shadow: 0 10px 18px rgba(0,0,0,0) !important;
}

/* ==========================================================================
   LANGUAGE DROPDOWN — opened items dark, trigger stays white
   ========================================================================== */
.ez-lang-dropdown a,
.ez-lang-dropdown span,
.language-selector a,

.lang-menu a,
.lang-menu span,
.top-nav-bar .dropdown-menu a,
.top-nav-bar .dropdown-menu span,
#languageDropdown,
.dropdown-menu.show a {
    color: #403f41 !important;
}

/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width: 1024px) {
    #nav-menu.nav-menu--open {
        background-color: #ffffff;
    }
    #nav-menu.nav-menu--open a {
        color: #035096 !important;
    }
    #nav-menu.nav-menu--open a:hover {
        color: #18ba60 !important;
    }
}
@media (max-width: 991px) {
    .ez-sf-wrapper {
        box-shadow: 0 4px 16px rgba(0,0,0,0);
    }
}