/* ==========================================================================
   CUSTOM.CSS - Per-Company Customization
   ==========================================================================
   This file is loaded AFTER style.css and overrides the default theme.
   PALETTE: Red #a6180e + Black #000000
   ========================================================================== */


/* ==========================================================================
   1. COLOR VARIABLES
   ========================================================================== */
:root {

    /* === PRESET: Brand Red #a6180e === */
    --accent-color: #a6180e;
    --accent-color-dark: #8a140b;
    --accent-color-light: #c41e12;
    --accent-color-mid: #b5170d;

    /* --- ACCENT TRANSPARENT VARIANTS --- */
    --accent-glow-strong: rgba(166, 24, 14, 1);
    --accent-glow: rgba(166, 24, 14, 0.7);
    --accent-glow-soft: rgba(166, 24, 14, 0.45);
    --accent-glow-dim: rgba(166, 24, 14, 0.35);
    --accent-glow-faint: rgba(166, 24, 14, 0.08);
    --accent-bg-subtle: rgba(166, 24, 14, 0.12);
    --accent-bg-glass: rgba(138, 20, 11, 0.10);
    --accent-bg-radial: rgba(166, 24, 14, 0.15);
    --accent-border-subtle: rgba(166, 24, 14, 0.22);
    --accent-border-medium: rgba(166, 24, 14, 0.30);
    --accent-text-85: rgba(110, 15, 8, 0.85);
    --accent-text-70: rgba(110, 15, 8, 0.70);

    /* --- ACTION BUTTONS --- */
    --warning: #a6180e;
    --error: #EF4444;
    --success: #10B981;
    --success-dark: #059669;

    /* --- TOP NAVIGATION BAR --- */
    --topbar-bg: #a6180e;

    /* --- TEXT COLORS --- */
    --text-color: #333;
    --text-muted: #6c757d;

    /* --- BACKGROUNDS --- */
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-bg: #8a140b;

    /* --- BORDERS --- */
    --border-color: #e2e8f0;

    /* --- FLATPICKR DATE PICKER --- */
    --flatpickr-hover-bg: #a6180e;
    --flatpickr-hover-text: #ffffff;

    /* --- SEARCH FORM (Neumorphic) --- */
    --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
   ========================================================================== */
/*
   RED    #a6180e  -> Buttons (CTA), dots, toggles, fills, icons, links,
                      borders, nav bar, badges, selected states
   DARK   #8a140b  -> Hover states + prices/totals (readable on white)
   ACCENT #6e0f08  -> Accent text where extra weight needed
   BLACK  #000000  -> Header & Footer background
*/


/* 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
   ========================================================================== */

.ez-feature-icon      { color: #403f41; }
.ez-offer-title       { color: #6e0f08; }
.ez-offer-icon        { color: #a6180e; }
.ez-viewmore-link     { color: #a6180e; }
.ez-searchbar-icon    { color: #a6180e; }
.ez-info-icon         { color: #a6180e; }
.ez-tab-icon          { color: #d9d9d9; }
.ez-extras-icon       { color: #8b5cf6; }
.ez-extras-price      { color: #8b5cf6; }
.ez-insurance-price   { color: #0891b2; }


/* ==========================================================================
   ELEMENT OVERRIDES
   ========================================================================== */

.form-group label i {
    color: #d9d9d9;
}

.includes-box ul li i {
    color: #a6180e;
}

.booking-form button {
    background-color: #a6180e;
    color: #fff;
}
.booking-form button:hover {
    background-color: #8a140b;
}

.ez-accent-text {
    color: #6e0f08 !important;
}

.ez-book-btn {
    background: #a6180e;
    color: #fff;
}
.ez-book-btn:hover {
    background: #8a140b;
}

.ez-feature-icon {
    color: #939393;
}

.ez-price-value {
    color: #8a140b;
}

.ez-sf-field label i {
    color: #939393;
}

.ez-sf-submit {
    background: #a6180e;
    color: #fff;
    box-shadow: 0 4px 10px rgba(166, 24, 14, 0.20) !important;
}
.ez-sf-submit:hover {
    background: #8a140b;
    box-shadow: 0 4px 10px rgba(166, 24, 14, 0.30) !important;
}

.ez-ins-card--selected {
    border-color: #a6180e !important;
}

.ez-btn--selected {
    background: #a6180e !important;
}

.ez-extra-item {
    border: 1px solid #c5c8c7;
}

.ez-extra-icon {
    color: #a6180e;
}

.ez-summary-total {
    color: #8a140b;
}

.ez-tab-icon {
    color: #a6180e;
}

.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: #a6180e;
}

.ez-accent-link {
    color: #a6180e;
}
.ez-accent-link:hover {
    color: #8a140b;
}

.ez-btn-next, .ez-btn-submit {
    background-color: #a6180e;
    color: #fff;
}
.ez-btn-next:hover, .ez-btn-submit:hover {
    background-color: #8a140b;
}

.confirm-card-header h3 i {
    color: #a6180e;
    filter: drop-shadow(0 0 6px rgb(255 255 255 / 47%));
}

.ez-fleet-price-card {
    border: 2px solid #d5d8d7;
}
.ez-fleet-price-card:hover {
    border-color: #a6180e;
    box-shadow: 0 4px 15px rgba(166, 24, 14, 0.20);
}

.ez-fleet-book-btn {
    background: #a6180e !important;
    color: #fff !important;
}
.ez-fleet-book-btn:hover {
    background: #8a140b !important;
}

.mf-submit {
    background: #a6180e;
    color: #fff;
}
.mf-submit:hover {
    background: #8a140b;
}

.model-form-title i {
    color: #a6180e;
}

.model-price-amount {
    color: #8a140b;
}

.model-category-badge {
    background: #a6180e;
}

.model-title-divider {
    background: #a6180e;
}

.model-includes-list li i {
    color: #a6180e;
}

.ez-sf-header h3 i {
    color: #a6180e;
}

.ez-fleet-price-value {
    color: #8a140b;
}

.border-green-500 {
    border-color: #a6180e !important;
}

.affiliateStepDot.active i, .affiliateStepDot.done i {
    background: #a6180e;
}

.affiliateSectionTitle i {
    color: #a6180e;
}

.ez-price-card--active {
    border-color: #a6180e !important;
}

.ez-price-card--selected {
    background-color: rgba(166, 24, 14, 0.06) !important;
}

.ez-accent-gradient {
    background: linear-gradient(135deg, #a6180e 0%, #8a140b 100%);
}

.ez-book-btn {
    box-shadow: 0 4px 12px rgba(166, 24, 14, 0.22) !important;
}

.ez-category-pill--active {
    background: rgba(166, 24, 14, 0.10) !important;
    color: #8a140b !important;
}
.ez-category-pill--active:hover {
    background: rgba(166, 24, 14, 0.16) !important;
}

.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-months {
    background-color: #8a140b;
}
.flatpickr-day:hover {
    background-color: #a6180e;
    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: #a6180e;
    border-color: #a6180e;
}

footer .footer-link-item::before {
    background-color: #a6180e;
}
footer .border-custom-accent\/30 {
    border-color: rgba(166, 24, 14, 0.25);
}
footer .hover\:text-custom-accent:hover {
    color: #a6180e;
}

.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;
}

.peer:checked ~ .ez-toggle-checked {
    background-color: #a6180e !important;
}

.confirm-banner::before {
    background: radial-gradient(ellipse at 30% 40%, rgba(166, 24, 14, 0.05) 0%, transparent 55%), radial-gradient(ellipse at 75% 60%, rgba(166, 24, 14, 0.06) 0%, transparent 55%);
}

#affiliateBenefitsTitle i, #affiliateFormTitle i {
    color: #a6180e;
}
.affiliateFeatureBox:hover {
    background: rgba(166, 24, 14, 0.08);
    border-color: rgba(166, 24, 14, 0.18);
}
.affiliateNextBtn:hover {
    box-shadow: 0 10px 20px rgba(166, 24, 14, 0.18);
}
.affiliateNextBtn {
    box-shadow: 0 10px 20px rgba(166, 24, 14, 0.08);
}

.confirm-new-booking {
    background: #a6180e;
    color: #fff;
}

.ez-sf-field input[type="text"], .ez-sf-field select {
    box-shadow: 0 10px 18px rgb(34 197 94 / 0%) !important;
}

.top-nav-bar {
    background-color: #a6180e;
}
.booking-form-wrapper {
    background: rgb(0 0 0 / 15%);
}
.includes-box {
    background: rgb(0 0 0 / 15%);
}

#filterSidebar > div.bg-white h3 {
    border-bottom: 1px solid rgba(166, 24, 14, 0.35) !important;
}

.ez-price-value--large {
    color: #8a140b;
}

.ez-dual-range__fill {
    background: #a6180e;
}

.ez-clear-filters-btn {
    background: #a6180e;
    color: #fff;
}
.ez-clear-filters-btn:hover {
    background: #8a140b;
    color: #fff;
}

.model-specs-title {
    border-bottom: 2px solid #a6180e;
}
.model-spec-item:hover {
    border-color: #a6180e;
}
.model-includes-title i {
    color: #a6180e;
}

/* ==========================================================================
   HEADER & FOOTER - BLACK BACKGROUND
   ========================================================================== */

header.bg-gray-950.text-gray-300.shadow-sm.sticky.top-0.z-50 {
    background-color: #ffffff;
}

footer.bg-gray-950.text-gray-300.py-12.relative.overflow-hidden.font-sans {
    background-color: #ffffff;
}
footer .text-custom-accent {
    color: #a6180e;
}
footer .border-custom-accent\/30 {
    border-color: rgba(166, 24, 14, 0.25);
}

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: #a6180e;
}
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;
}

@media (max-width: 1024px) {
    #nav-menu.nav-menu--open {
        background-color: #ffffff;
    }
}

.form-group input[type="text"], .form-group input[type="date"],
.form-group input[type="time"], .form-group select {
    border: 1px solid #c5c8c7;
}

.ez-nav-link {
    color: #1a1a1a !important;
}
.ez-nav-link:hover {
    color: #a6180e !important;
}

button#nav-toggle {
    color: #111111;
}

h5.font-bold.text-white.mb-4.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2 {
    color: #6e0f08;
}
h5.font-bold.text-white.mb-5.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2 {
    color: #6e0f08;
}

.mf-field label i {
    color: #9f9b9b;
}
.model-spec-icon {
    color: #9f9b9b;
}


/* ==========================================================================
   6. POLISH & REFINEMENT — global aesthetic upgrade
   ==========================================================================
   Smooth motion, softer depth, refined gradients & hover lifts.
   Layered on top of the color theme above. Tweak freely.
   ========================================================================== */

/* --- Smooth transitions everywhere it matters --- */
.ez-book-btn, .ez-sf-submit, .ez-btn-next, .ez-btn-submit, .mf-submit,
.ez-fleet-book-btn, .booking-form button, .confirm-new-booking,
.ez-clear-filters-btn, .ez-nav-link, .ez-accent-link, .ez-viewmore-link,
.ez-fleet-price-card, .ez-price-card--active, .ez-extra-item,
.model-spec-item, .affiliateFeatureBox, .footer-link-item,
.ez-category-pill--active, .ez-ins-card--selected {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* --- CTA buttons: subtle red gradient + soft depth --- */
.ez-book-btn, .ez-sf-submit, .ez-btn-next, .ez-btn-submit, .mf-submit,
.ez-fleet-book-btn, .booking-form button, .confirm-new-booking,
.ez-clear-filters-btn {
    background-image: linear-gradient(135deg, #b91d12 0%, #a6180e 55%, #8a140b 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 14px rgba(166, 24, 14, 0.28),
                inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

/* --- CTA hover: lift + deeper shadow --- */
.ez-book-btn:hover, .ez-sf-submit:hover, .ez-btn-next:hover,
.ez-btn-submit:hover, .mf-submit:hover, .ez-fleet-book-btn:hover,
.booking-form button:hover, .confirm-new-booking:hover,
.ez-clear-filters-btn:hover {
    background-image: linear-gradient(135deg, #a6180e 0%, #8a140b 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(166, 24, 14, 0.38),
                inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* --- CTA active: press feedback --- */
.ez-book-btn:active, .ez-sf-submit:active, .ez-btn-next:active,
.ez-btn-submit:active, .mf-submit:active, .ez-fleet-book-btn:active,
.booking-form button:active, .confirm-new-booking:active,
.ez-clear-filters-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(166, 24, 14, 0.30) !important;
}

/* --- Cards: softer corners, gentle depth, smooth hover lift --- */
.ez-fleet-price-card, .ez-price-card--active, .model-spec-item {
    border-radius: 14px !important;
}
.ez-fleet-price-card:hover, .model-spec-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(166, 24, 14, 0.16),
                0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

/* --- Extra items & insurance cards: rounder + tactile --- */
.ez-extra-item, .ez-ins-card--selected {
    border-radius: 12px !important;
}
.ez-extra-item:hover {
    border-color: #a6180e;
    box-shadow: 0 4px 14px rgba(166, 24, 14, 0.12);
    transform: translateY(-1px);
}

/* --- Category badge & pill: refined --- */
.model-category-badge {
    border-radius: 999px !important;
    padding: 3px 12px !important;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 6px rgba(166, 24, 14, 0.25);
}
.ez-category-pill--active {
    border-radius: 999px !important;
}

/* --- Top nav bar: gradient + soft shadow --- */
.top-nav-bar {
    background-image: linear-gradient(135deg, #b91d12 0%, #a6180e 60%, #8a140b 100%) !important;
    box-shadow: 0 2px 12px rgba(166, 24, 14, 0.22);
}

/* --- Header: clean float over content --- */
header.bg-gray-950.text-gray-300.shadow-sm.sticky.top-0.z-50 {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 4px 18px rgba(0, 0, 0, 0.06);
    backdrop-filter: saturate(1.1);
}

/* --- Nav links: animated underline on hover --- */
.ez-nav-link {
    position: relative;
}
.ez-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: #a6180e;
    transition: width 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.ez-nav-link:hover::after {
    width: 100%;
}

/* --- Footer: hairline top border for separation --- */
footer.bg-gray-950.text-gray-300.py-12.relative.overflow-hidden.font-sans {
    border-top: 1px solid #ececec;
}

/* --- Footer links: nudge on hover --- */
.footer-link-item:hover {
    transform: translateX(3px);
}

/* --- Title divider: rounded accent bar --- */
.model-title-divider {
    border-radius: 999px !important;
    height: 3px;
}

/* --- Prices: tighter, confident --- */
.ez-price-value, .ez-price-value--large, .ez-fleet-price-value,
.model-price-amount, .ez-summary-total {
    letter-spacing: -0.3px;
    font-feature-settings: "tnum";
}

/* --- Inputs: smooth focus glow in brand red --- */
.ez-sf-field input[type="text"]:focus,
.ez-sf-field select:focus,
.form-group input[type="text"]:focus,
.form-group input[type="date"]:focus,
.form-group input[type="time"]:focus,
.form-group select:focus,
.mf-field input[type="text"]:focus,
.mf-field select:focus {
    border-color: #a6180e !important;
    box-shadow: 0 0 0 3px rgba(166, 24, 14, 0.12) !important;
    outline: none !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* --- Toggle: smoother --- */
.peer:checked ~ .ez-toggle-checked {
    box-shadow: 0 2px 6px rgba(166, 24, 14, 0.30);
}

/* --- Accent gradient: a touch richer --- */
.ez-accent-gradient {
    background: linear-gradient(135deg, #c41e12 0%, #a6180e 50%, #8a140b 100%);
}

/* --- Reduced-motion respect (accessibility) --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
    .ez-book-btn:hover, .ez-sf-submit:hover, .ez-fleet-price-card:hover,
    .model-spec-item:hover, .footer-link-item:hover {
        transform: none !important;
    }
}