/* ==========================================================================
   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: Caretta Teal #2caa9f === */
    --accent-color: #2caa9f;
    --accent-color-dark: #239389;
    --accent-color-light: #4ec4ba;
    --accent-color-mid: #3ab4aa;

    /* -----------------------------------------------------------------
       ACCENT TRANSPARENT VARIANTS
       ----------------------------------------------------------------- */
    --accent-glow-strong: rgba(44, 170, 159, 1);
    --accent-glow: rgba(44, 170, 159, 0.7);
    --accent-glow-soft: rgba(44, 170, 159, 0.45);
    --accent-glow-dim: rgba(44, 170, 159, 0.35);
    --accent-glow-faint: rgba(44, 170, 159, 0.08);
    --accent-bg-subtle: rgba(44, 170, 159, 0.12);
    --accent-bg-glass: rgba(35, 147, 137, 0.10);
    --accent-bg-radial: rgba(44, 170, 159, 0.15);
    --accent-border-subtle: rgba(44, 170, 159, 0.22);
    --accent-border-medium: rgba(44, 170, 159, 0.30);
    --accent-text-85: rgba(26, 112, 104, 0.85);
    --accent-text-70: rgba(26, 112, 104, 0.70);

    /* -----------------------------------------------------------------
       ACTION BUTTONS
       ----------------------------------------------------------------- */
    --warning: #2caa9f;
    --error: #EF4444;
    --success: #10B981;
    --success-dark: #059669;

    /* -----------------------------------------------------------------
       TOP NAVIGATION BAR
       ----------------------------------------------------------------- */
    --topbar-bg: #2caa9f;

    /* -----------------------------------------------------------------
       TEXT COLORS
       ----------------------------------------------------------------- */
    --text-color: #333;
    --text-muted: #6c757d;

    /* -----------------------------------------------------------------
       BACKGROUNDS
       ----------------------------------------------------------------- */
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-bg: #239389;

    /* -----------------------------------------------------------------
       BORDERS
       ----------------------------------------------------------------- */
    --border-color: #e2e8f0;

    /* -----------------------------------------------------------------
       FLATPICKR DATE PICKER
       ----------------------------------------------------------------- */
    --flatpickr-hover-bg: #2caa9f;
    --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 (Caretta Teal mono-accent):
   ─────────────────────────────────────────────
   TEAL   #2caa9f  → Buttons (CTA), active dots, toggles, range fills,
                      checkmark icons, hover accents, flatpickr selection,
                      offer titles, brand icons, links, selected states,
                      borders, nav bar, form borders, category badge
   DARK   #239389  → Hover states on CTAs
   DEEP   #1a7068  → Prices, summary totals, fleet prices (readable on white)
   ACCENT #0f4d46  → Accent text where extra weight needed
   ─────────────────────────────────────────────
*/


/* 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 --- subtle gray */
.ez-feature-icon      { color: #403f41; }

/* --- Offer Title --- TEAL */
.ez-offer-title       { color: #0f4d46; }

/* --- Offer Check Icons --- TEAL (pop of color) */
.ez-offer-icon        { color: #2caa9f; }

/* --- View More / View All Features --- TEAL with personality */
.ez-viewmore-link     { color: #2caa9f; }

/* --- Search Summary Bar Icons --- TEAL */
.ez-searchbar-icon    { color: #2caa9f; }

/* --- Info Panel Icons --- TEAL */
.ez-info-icon         { color: #2caa9f; }

/* --- Tab Section Header Icons --- */
.ez-tab-icon          { color: #d9d9d9; }

/* --- Optional Extras Icons & Price --- */
.ez-extras-icon       { color: #8b5cf6; }
.ez-extras-price      { color: #8b5cf6; }

/* --- Insurance Price --- */
.ez-insurance-price   { color: #0891b2; }


/* ==========================================================================
   ELEMENT OVERRIDES
   ========================================================================== */

.form-group label i {
    color: #d9d9d9;
}

/* --- Includes list icons --- TEAL checkmarks */
.includes-box ul li i {
    color: #2caa9f;
}

/* --- Booking form button --- TEAL (CTA) */
.booking-form button {
    background-color: #2caa9f;
    color: #fff;
}
.booking-form button:hover {
    background-color: #239389;
}

/* --- Accent text --- DEEP TEAL (readable) */
.ez-accent-text {
    color: #0f4d46 !important;
}

/* --- Book Now button --- TEAL (CTA - the star) */
.ez-book-btn {
    background: #2caa9f;
    color: #fff;
}
.ez-book-btn:hover {
    background: #239389;
}

/* --- Feature icons --- grey */
.ez-feature-icon {
    color: #939393;
}

/* --- Price value --- DEEP TEAL (readable on white) */
.ez-price-value {
    color: #1a7068;
}

/* --- Form label icons --- grey */
.ez-sf-field label i {
    color: #939393;
}

/* --- Search form submit --- TEAL (CTA) */
.ez-sf-submit {
    background: #2caa9f;
    color: #fff;
    box-shadow: 0 4px 10px rgba(44, 170, 159, 0.20) !important;
}
.ez-sf-submit:hover {
    background: #239389;
    box-shadow: 0 4px 10px rgba(44, 170, 159, 0.30) !important;
}

/* --- Insurance card selected --- TEAL border */
.ez-ins-card--selected {
    border-color: #2caa9f !important;
}

/* --- Button selected state --- TEAL */
.ez-btn--selected {
    background: #2caa9f !important;
}

/* --- Extra item border --- soft GRAY */
.ez-extra-item {
    border: 1px solid #c5c8c7;
}

/* --- Extra icon --- TEAL */
.ez-extra-icon {
    color: #2caa9f;
}

/* --- Summary total --- DEEP TEAL (readable) */
.ez-summary-total {
    color: #1a7068;
}

/* --- Tab icons --- TEAL (active accent) */
.ez-tab-icon {
    color: #2caa9f;
}

/* --- Floating label focus --- TEAL */
.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: #2caa9f;
}

/* --- Accent link --- TEAL, hover DARKER TEAL */
.ez-accent-link {
    color: #2caa9f;
}
.ez-accent-link:hover {
    color: #239389;
}

/* --- Next / Submit buttons --- TEAL (CTA) */
.ez-btn-next, .ez-btn-submit {
    background-color: #2caa9f;
    color: #fff;
}
.ez-btn-next:hover, .ez-btn-submit:hover {
    background-color: #239389;
}

/* --- Confirm card header icon --- TEAL */
.confirm-card-header h3 i {
    color: #2caa9f;
    filter: drop-shadow(0 0 6px rgb(255 255 255 / 47%));
}

/* --- Fleet price card --- soft GRAY border, TEAL on hover */
.ez-fleet-price-card {
    border: 2px solid #d5d8d7;
}
.ez-fleet-price-card:hover {
    border-color: #2caa9f;
    box-shadow: 0 4px 15px rgba(44, 170, 159, 0.20);
}

/* --- Fleet book button --- TEAL (CTA) */
.ez-fleet-book-btn {
    background: #2caa9f !important;
    color: #fff !important;
}
.ez-fleet-book-btn:hover {
    background: #239389 !important;
}

/* --- Modal form submit --- TEAL (CTA) */
.mf-submit {
    background: #2caa9f;
    color: #fff;
}
.mf-submit:hover {
    background: #239389;
}

/* --- Model form title icon --- TEAL */
.model-form-title i {
    color: #2caa9f;
}

/* --- Model price --- DEEP TEAL (readable) */
.model-price-amount {
    color: #1a7068;
}

/* --- Model category badge --- TEAL */
.model-category-badge {
    background: #2caa9f;
}

/* --- Model title divider --- TEAL accent bar */
.model-title-divider {
    background: #2caa9f;
}

/* --- Model includes list icons --- TEAL checkmarks */
.model-includes-list li i {
    color: #2caa9f;
}

/* --- Search form header icon --- TEAL */
.ez-sf-header h3 i {
    color: #2caa9f;
}

/* --- Fleet price value --- DEEP TEAL (readable) */
.ez-fleet-price-value {
    color: #1a7068;
}

/* --- Border accent --- TEAL */
.border-green-500 {
    border-color: #2caa9f !important;
}

/* --- Affiliate step dots --- TEAL */
.affiliateStepDot.active i, .affiliateStepDot.done i {
    background: #2caa9f;
}

/* --- Affiliate section title icon --- TEAL */
.affiliateSectionTitle i {
    color: #2caa9f;
}

/* --- Price card active border --- TEAL */
.ez-price-card--active {
    border-color: #2caa9f !important;
}

/* --- Price card selected bg --- TEAL subtle */
.ez-price-card--selected {
    background-color: rgba(44, 170, 159, 0.06) !important;
}

/* --- Accent gradient --- TEAL smooth */
.ez-accent-gradient {
    background: linear-gradient(135deg, #2caa9f 0%, #239389 100%);
}

/* --- Book btn shadow --- subtle TEAL glow */
.ez-book-btn {
    box-shadow: 0 4px 12px rgba(44, 170, 159, 0.22) !important;
}

/* --- Category pill active --- TEAL subtle */
.ez-category-pill--active {
    background: rgba(44, 170, 159, 0.10) !important;
    color: #1a7068 !important;
}
.ez-category-pill--active:hover {
    background: rgba(44, 170, 159, 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 TEAL header, TEAL selection --- */
.flatpickr-months {
    background-color: #239389;
}
.flatpickr-day:hover {
    background-color: #2caa9f;
    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: #2caa9f;
    border-color: #2caa9f;
}

/* --- Footer accents --- */
footer .footer-link-item::before {
    background-color: #2caa9f;
}
footer .border-custom-accent\/30 {
    border-color: rgba(44, 170, 159, 0.25);
}
footer .hover\:text-custom-accent:hover {
    color: #2caa9f;
}

/* --- 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 --- TEAL */
.peer:checked ~ .ez-toggle-checked {
    background-color: #2caa9f !important;
}

/* --- Confirm banner --- subtle glow */
.confirm-banner::before {
    background: radial-gradient(ellipse at 30% 40%, rgba(44, 170, 159, 0.05) 0%, transparent 55%), radial-gradient(ellipse at 75% 60%, rgba(44, 170, 159, 0.06) 0%, transparent 55%);
}

/* --- Affiliate --- */
#affiliateBenefitsTitle i, #affiliateFormTitle i {
    color: #2caa9f;
}
.affiliateFeatureBox:hover {
    background: rgba(44, 170, 159, 0.08);
    border-color: rgba(44, 170, 159, 0.18);
}
.affiliateNextBtn:hover {
    box-shadow: 0 10px 20px rgba(44, 170, 159, 0.18);
}
.affiliateNextBtn {
    box-shadow: 0 10px 20px rgba(44, 170, 159, 0.08);
}

/* --- Confirm new booking button --- TEAL (CTA) */
.confirm-new-booking {
    background: #2caa9f;
    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 --- TEAL */
.top-nav-bar {
    background-color: #2caa9f;
}
.booking-form-wrapper {
    background: rgb(0 0 0 / 15%);
}
.includes-box {
    background: rgb(0 0 0 / 15%);
}

/* --- Filter header --- subtle TEAL underline */
#filterSidebar > div.bg-white h3 {
    border-bottom: 1px solid rgba(44, 170, 159, 0.35) !important;
}

/* --- Large price --- DEEP TEAL */
.ez-price-value--large {
    color: #1a7068;
}

/* --- Dual range fill --- TEAL */
.ez-dual-range__fill {
    background: #2caa9f;
}

/* --- Clear filters --- TEAL CTA */
.ez-clear-filters-btn {
    background: #2caa9f;
    color: #fff;
}
.ez-clear-filters-btn:hover {
    background: #239389;
    color: #fff;
}

/* --- Model specs --- */
.model-specs-title {
    border-bottom: 2px solid #2caa9f;
}
.model-spec-item:hover {
    border-color: #2caa9f;
}
.model-includes-title i {
    color: #2caa9f;
}

/* --- Header & Footer --- WHITE background */
header.bg-gray-950.text-gray-300.shadow-sm.sticky.top-0.z-50 {
    background-color: #fff;
}
footer.bg-gray-950.text-gray-300.py-12.relative.overflow-hidden.font-sans {
    background-color: #fff;
}
footer .text-custom-accent {
    color: #2caa9f;
}
footer .border-custom-accent\/30 {
    border-color: rgba(44, 170, 159, 0.25);
}

/* --- Footer texts --- */
footer .footer-link-item {
    color: #424242;
}
p.flex.items-center.text-gray-400.hover\:text-custom-accent.transition {
    color: #424242;
}
p.flex.items-center.text-gray-400.hover\:text-custom-accent.transition:hover {
    color: #2caa9f;
}
p.text-gray-400.text-base.max-w-sm.leading-relaxed.hover\:text-custom-accent {
    color: #424242;
}
.text-center.md\:text-center.space-y-0\.5.w-full.mt-4 {
    color: #424242;
}
footer .hover\:text-custom-accent {
    color: #424242;
}

/* --- 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 --- GRAY, hover TEAL */
.ez-nav-link {
    color: #424242 !important;
}
.ez-nav-link:hover {
    color: #2caa9f !important;
}

button#nav-toggle {
    color: #111;
}

/* --- Footer headings --- */
h5.font-bold.text-white.mb-4.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2 {
    color: #0f4d46;
}
h5.font-bold.text-white.mb-5.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2 {
    color: #0f4d46;
}

/* --- Form field icons --- */
.mf-field label i {
    color: #9f9b9b;
}
.model-spec-icon {
    color: #9f9b9b;
}
