/* ==========================================================================
   CUSTOM.CSS - Per-Company Customization
   ==========================================================================
   This file is loaded AFTER style.css and overrides the default theme.
   Each company gets their own copy of this file.
   
   INSTRUCTIONS:
   - Change ONLY the :root variables below to customize colors
   - Add company-specific overrides in Section 2
   - DO NOT edit style.css - it is shared across all installations
   ========================================================================== */


/* ==========================================================================
   1. COLOR VARIABLES
   ========================================================================== */
:root {

    /* === PRESET: Comcon Rentals Deep Navy #143991 + Royal Blue #416bb7 === */
    --accent-color: #143991;
    --accent-color-dark: #0e2a6d;
    --accent-color-light: #416bb7;
    --accent-color-mid: #2a4ea0;

    /* -----------------------------------------------------------------
       ACCENT TRANSPARENT VARIANTS (based on DEEP NAVY primary)
       ----------------------------------------------------------------- */
    --accent-glow-strong: rgba(20, 57, 145, 1);
    --accent-glow: rgba(20, 57, 145, 0.7);
    --accent-glow-soft: rgba(20, 57, 145, 0.45);
    --accent-glow-dim: rgba(20, 57, 145, 0.35);
    --accent-glow-faint: rgba(20, 57, 145, 0.08);
    --accent-bg-subtle: rgba(20, 57, 145, 0.12);
    --accent-bg-glass: rgba(14, 42, 109, 0.10);
    --accent-bg-radial: rgba(20, 57, 145, 0.15);
    --accent-border-subtle: rgba(20, 57, 145, 0.22);
    --accent-border-medium: rgba(20, 57, 145, 0.30);
    --accent-text-85: rgba(20, 57, 145, 0.85);
    --accent-text-70: rgba(20, 57, 145, 0.70);

    /* -----------------------------------------------------------------
       ACTION BUTTONS
       ----------------------------------------------------------------- */
    --warning: #143991;
    --error: #EF4444;
    --success: #10B981;
    --success-dark: #059669;

    /* -----------------------------------------------------------------
       TOP NAVIGATION BAR
       ----------------------------------------------------------------- */
    --topbar-bg: #060e3d;

    /* -----------------------------------------------------------------
       TEXT COLORS
       ----------------------------------------------------------------- */
    --text-color: #333;
    --text-muted: #6c757d;

    /* -----------------------------------------------------------------
       BACKGROUNDS
       ----------------------------------------------------------------- */
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-bg: #060e3d;

    /* -----------------------------------------------------------------
       BORDERS
       ----------------------------------------------------------------- */
    --border-color: #e2e8f0;

    /* -----------------------------------------------------------------
       FLATPICKR DATE PICKER
       ----------------------------------------------------------------- */
    --flatpickr-hover-bg: #143991;
    --flatpickr-hover-text: #ffffff;

    /* -----------------------------------------------------------------
       SEARCH FORM (Neumorphic style)
       ----------------------------------------------------------------- */
    --neumorphic-bg: #f0f2f5;
    --shadow-light: #ffffff;
    --shadow-dark: #d1d9e6;

    /* -----------------------------------------------------------------
       FORM INPUTS
       ----------------------------------------------------------------- */
    --form-bg: var(--white);
    --form-text: var(--text-color);
    --form-label: #555;
}


/* ==========================================================================
   QUICK REFERENCE
   ========================================================================== */
/*
   COLOR LOGIC (Comcon Rentals - Deep Navy + Royal Blue dual accent):
   ─────────────────────────────────────────────
   NAVY   #143991  → Buttons (CTA), active dots, toggles, range fills,
                      checkmark icons, hover accents, flatpickr selection,
                      borders, prices, summary totals, accent text
   DARK N #0e2a6d  → Hover states on CTAs, flatpickr months header
   ROYAL  #416bb7  → Brand icons, secondary highlights, offer titles,
                      tab icons, model form icons (matches logo)
   FOOTER #060e3d  → Top nav bar, footer (matches their site)
   ─────────────────────────────────────────────
*/


/* 1. Labels */
.ez-sf-field label {
    font-weight: 600 !important;
    font-size: 0.73rem !important;
}

/* 2. Field spacing */
.ez-sf-field {
    margin-bottom: 12px !important;
}

/* 3. Input height */
.ez-sf-field input[type="text"],
.ez-sf-field select {
    padding: 5px 10px !important;
    font-size: 0.8rem !important;
}

/* ==========================================================================
   4. Filter Sidebar Styles
   ========================================================================== */
#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 #e2e8f0 !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;
}


/* ==========================================================================
   5. GRANULAR ACCENT COLOR OVERRIDES
   ========================================================================== */

/* --- Feature Icons --- ROYAL BLUE (matches their hero icons) */
.ez-feature-icon      { color: #416bb7; }

/* --- Offer Title --- DEEP NAVY (brand primary) */
.ez-offer-title       { color: #143991; }

/* --- Offer Check Icons --- ROYAL BLUE (matches logo) */
.ez-offer-icon        { color: #416bb7; }

/* --- View More / View All Features --- DEEP NAVY link-like */
.ez-viewmore-link     { color: #143991; }

/* --- Search Summary Bar Icons --- ROYAL BLUE */
.ez-searchbar-icon    { color: #416bb7; }

/* --- Info Panel Icons --- ROYAL BLUE */
.ez-info-icon         { color: #416bb7; }

/* --- Tab Section Header Icons --- ROYAL BLUE */
.ez-tab-icon          { color: #416bb7; }

/* --- Optional Extras Icons & Price --- */
.ez-extras-icon       { color: #8b5cf6; }
.ez-extras-price      { color: #8b5cf6; }

/* --- Insurance Price --- DEEP NAVY (brand primary) */
.ez-insurance-price   { color: #143991; }


/* ==========================================================================
   ELEMENT OVERRIDES
   ========================================================================== */

.form-group label i {
    color: #d9d9d9;
}

/* --- Includes list icons --- ROYAL BLUE checkmarks */
.includes-box ul li i {
    color: #416bb7;
}

/* --- Booking form button --- DEEP NAVY (CTA) */
.booking-form button {
    background-color: #143991;
    color: #fff;
}
.booking-form button:hover {
    background-color: #0e2a6d;
}

/* --- Accent text --- DEEP NAVY (readable) */
.ez-accent-text {
    color: #143991 !important;
}

/* --- Book Now button --- DEEP NAVY (CTA - the star) */
.ez-book-btn {
    background: #143991;
    color: #fff;
}
.ez-book-btn:hover {
    background: #0e2a6d;
}

/* --- Feature icons --- ROYAL BLUE (matches their brand) */
.ez-feature-icon {
    color: #416bb7;
}

/* --- Price value --- DEEP NAVY (readable on white) */
.ez-price-value {
    color: #143991;
}

/* --- Form label icons --- grey */
.ez-sf-field label i {
    color: #939393;
}

/* --- Search form submit --- DEEP NAVY (CTA) */
.ez-sf-submit {
    background: #143991;
    color: #fff;
    box-shadow: 0 4px 10px rgba(20, 57, 145, 0.20) !important;
}
.ez-sf-submit:hover {
    background: #0e2a6d;
    box-shadow: 0 4px 10px rgba(20, 57, 145, 0.30) !important;
}

/* --- Insurance card selected --- DEEP NAVY border */
.ez-ins-card--selected {
    border-color: #143991 !important;
}

/* --- Button selected state --- DEEP NAVY */
.ez-btn--selected {
    background: #143991 !important;
}

/* --- Extra item border --- soft GRAY */
.ez-extra-item {
    border: 1px solid #c5c8c7;
}

/* --- Extra icon --- ROYAL BLUE */
.ez-extra-icon {
    color: #416bb7;
}

/* --- Summary total --- DEEP NAVY (readable) */
.ez-summary-total {
    color: #143991;
}

/* --- Tab icons --- ROYAL BLUE (brand secondary) */
.ez-tab-icon {
    color: #416bb7;
}

/* --- Floating label focus --- DEEP NAVY */
.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: #143991;
}

/* --- Accent link --- DEEP NAVY, hover DARKER */
.ez-accent-link {
    color: #143991;
}
.ez-accent-link:hover {
    color: #0e2a6d;
}

/* --- Next / Submit buttons --- DEEP NAVY (CTA) */
.ez-btn-next, .ez-btn-submit {
    background-color: #143991;
    color: #fff;
}
.ez-btn-next:hover, .ez-btn-submit:hover {
    background-color: #0e2a6d;
}

/* --- Confirm card header icon --- ROYAL BLUE */
.confirm-card-header h3 i {
    color: #416bb7;
    filter: drop-shadow(0 0 6px rgb(255 255 255 / 47%));
}

/* --- Fleet price card --- soft GRAY border, NAVY on hover */
.ez-fleet-price-card {
    border: 2px solid #d5d8d7;
}
.ez-fleet-price-card:hover {
    border-color: #143991;
    box-shadow: 0 4px 15px rgba(20, 57, 145, 0.20);
}

/* --- Fleet book button --- DEEP NAVY (CTA) */
.ez-fleet-book-btn {
    background: #143991 !important;
    color: #fff !important;
}
.ez-fleet-book-btn:hover {
    background: #0e2a6d !important;
}

/* --- Modal form submit --- DEEP NAVY (CTA) */
.mf-submit {
    background: #143991;
    color: #fff;
}
.mf-submit:hover {
    background: #0e2a6d;
}

/* --- Model form title icon --- ROYAL BLUE (brand secondary) */
.model-form-title i {
    color: #416bb7;
}

/* --- Model price --- DEEP NAVY (readable) */
.model-price-amount {
    color: #143991;
}

/* --- Model category badge --- DEEP NAVY (matches CTAs) */
.model-category-badge {
    background: #143991;
}

/* --- Model title divider --- ROYAL BLUE accent bar */
.model-title-divider {
    background: #416bb7;
}

/* --- Model includes list icons --- ROYAL BLUE checkmarks */
.model-includes-list li i {
    color: #416bb7;
}

/* --- Search form header icon --- ROYAL BLUE */
.ez-sf-header h3 i {
    color: #416bb7;
}

/* --- Fleet price value --- DEEP NAVY (readable) */
.ez-fleet-price-value {
    color: #143991;
}

/* --- Border accent --- DEEP NAVY */
.border-green-500 {
    border-color: #143991 !important;
}

/* --- Affiliate step dots --- DEEP NAVY */
.affiliateStepDot.active i, .affiliateStepDot.done i {
    background: #143991;
}

/* --- Affiliate section title icon --- ROYAL BLUE */
.affiliateSectionTitle i {
    color: #416bb7;
}

/* --- Price card active border --- DEEP NAVY */
.ez-price-card--active {
    border-color: #143991 !important;
}

/* --- Price card selected bg --- DEEP NAVY subtle */
.ez-price-card--selected {
    background-color: rgba(20, 57, 145, 0.06) !important;
}

/* --- Accent gradient --- DEEP NAVY to ROYAL BLUE smooth */
.ez-accent-gradient {
    background: linear-gradient(135deg, #143991 0%, #416bb7 100%);
}

/* --- Book btn shadow --- subtle NAVY glow */
.ez-book-btn {
    box-shadow: 0 4px 12px rgba(20, 57, 145, 0.22) !important;
}

/* --- Category pill active --- DEEP NAVY subtle */
.ez-category-pill--active {
    background: rgba(20, 57, 145, 0.10) !important;
    color: #143991 !important;
}
.ez-category-pill--active:hover {
    background: rgba(20, 57, 145, 0.16) !important;
}

/* --- Form group shadows (disabled) --- */
.form-group button:hover {
    box-shadow: 0 10px 18px rgb(34 197 94 / 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 rgb(34 197 94 / 0%) !important;
}

/* --- Flatpickr calendar --- DARKER NAVY header, NAVY selection --- */
.flatpickr-months {
    background-color: #0e2a6d;
}
.flatpickr-day:hover {
    background-color: #143991;
    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: #143991;
    border-color: #143991;
}

/* --- Footer accents --- */
footer .footer-link-item::before {
    background-color: #416bb7;
}
footer .border-custom-accent\/30 {
    border-color: rgba(65, 107, 183, 0.25);
}
footer .hover\:text-custom-accent:hover {
    color: #416bb7;
}

/* --- Focus shadows (disabled) --- */
.mf-field select:focus, .mf-field input[type="text"]:focus {
    box-shadow: 0 0 0 2px rgb(255 222 93 / 0%);
}
.ez-sort-select {
    box-shadow: 0 10px 18px rgb(34 197 94 / 0%) !important;
}

/* --- Toggle checked --- DEEP NAVY */
.peer:checked ~ .ez-toggle-checked {
    background-color: #143991 !important;
}

/* --- Confirm banner --- subtle glow NAVY + ROYAL */
.confirm-banner::before {
    background: radial-gradient(ellipse at 30% 40%, rgba(20, 57, 145, 0.05) 0%, transparent 55%), radial-gradient(ellipse at 75% 60%, rgba(65, 107, 183, 0.06) 0%, transparent 55%);
}

/* --- Affiliate --- */
#affiliateBenefitsTitle i, #affiliateFormTitle i {
    color: #416bb7;
}
.affiliateFeatureBox:hover {
    background: rgba(20, 57, 145, 0.08);
    border-color: rgba(20, 57, 145, 0.18);
}
.affiliateNextBtn:hover {
    box-shadow: 0 10px 20px rgba(20, 57, 145, 0.18);
}
.affiliateNextBtn {
    box-shadow: 0 10px 20px rgba(20, 57, 145, 0.08);
}

/* --- Confirm new booking button --- DEEP NAVY (CTA) */
.confirm-new-booking {
    background: #143991;
    color: #fff;
}

/* --- Search field shadows (disabled) --- */
.ez-sf-field input[type="text"], .ez-sf-field select {
    box-shadow: 0 10px 18px rgb(34 197 94 / 0%) !important;
}

/* --- Top nav bar --- DARK NAVY (matches their footer) */
.top-nav-bar {
    background-color: #060e3d;
}
.top-nav-bar .container,
.top-nav-bar a,
.top-nav-bar span,
.top-nav-bar i {
    color: #ffffff !important;
}
.top-nav-bar a:hover {
    color: #416bb7 !important;
}
/* Language dropdown menu items - dark text on white bg */
.top-nav-bar .language-menu,
.top-nav-bar .language-menu a,
.top-nav-bar .language-menu span,
.top-nav-bar .dropdown-menu,
.top-nav-bar .dropdown-menu a,
.top-nav-bar .lang-dropdown a {
    color: #333333 !important;
}
.top-nav-bar .language-menu a:hover,
.top-nav-bar .dropdown-menu a:hover,
.top-nav-bar .lang-dropdown a:hover {
    color: #143991 !important;
}
.booking-form-wrapper {
    background: rgb(0 0 0 / 15%);
}
.includes-box {
    background: rgb(0 0 0 / 15%);
}

/* --- Filter header --- subtle NAVY underline */
#filterSidebar > div.bg-white h3 {
    border-bottom: 1px solid rgba(20, 57, 145, 0.35) !important;
}

/* --- Large price --- DEEP NAVY */
.ez-price-value--large {
    color: #143991;
}

/* --- Dual range fill --- DEEP NAVY */
.ez-dual-range__fill {
    background: #143991;
}

/* --- Clear filters --- DEEP NAVY CTA */
.ez-clear-filters-btn {
    background: #143991;
    color: #fff;
}
.ez-clear-filters-btn:hover {
    background: #0e2a6d;
    color: #fff;
}

/* --- Model specs --- */
.model-specs-title {
    border-bottom: 2px solid #143991;
}
.model-spec-item:hover {
    border-color: #143991;
}
.model-includes-title i {
    color: #416bb7;
}

/* --- Header --- WHITE background (matches their site) */
header.bg-gray-950.text-gray-300.shadow-sm.sticky.top-0.z-50 {
    background-color: #fff;
}
/* --- Footer --- DARK NAVY (matches their site) */
footer.bg-gray-950.text-gray-300.py-12.relative.overflow-hidden.font-sans {
    background-color: #060e3d;
}
footer .text-custom-accent {
    color: #416bb7;
}
footer .border-custom-accent\/30 {
    border-color: rgba(65, 107, 183, 0.25);
}

/* --- Footer texts --- LIGHT GRAY on dark bg */
footer .footer-link-item {
    color: #cccccc;
}
p.flex.items-center.text-gray-400.hover\:text-custom-accent.transition {
    color: #cccccc;
}
p.flex.items-center.text-gray-400.hover\:text-custom-accent.transition:hover {
    color: #416bb7;
}
p.text-gray-400.text-base.max-w-sm.leading-relaxed.hover\:text-custom-accent {
    color: #cccccc;
}
.text-center.md\:text-center.space-y-0\.5.w-full.mt-4 {
    color: #cccccc;
}
footer .hover\:text-custom-accent {
    color: #cccccc;
}

/* --- Mobile nav --- */
@media (max-width: 1024px) {
    #nav-menu.nav-menu--open {
        background-color: #fff;
    }
}

/* --- Form borders --- subtle GRAY */
.form-group input[type="text"], .form-group input[type="date"],
.form-group input[type="time"], .form-group select {
    border: 1px solid #c5c8c7;
}

/* --- Nav links --- DEEP NAVY on white header, hover ROYAL BLUE */
.ez-nav-link {
    color: #143991 !important;
}
.ez-nav-link:hover {
    color: #416bb7 !important;
}

button#nav-toggle {
    color: #143991;
}

/* --- Footer headings --- ROYAL BLUE */
h5.font-bold.text-white.mb-4.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2 {
    color: #416bb7;
}
h5.font-bold.text-white.mb-5.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2 {
    color: #416bb7;
}

/* --- Form field icons --- */
.mf-field label i {
    color: #9f9b9b;
}
.model-spec-icon {
    color: #9f9b9b;
}
