/* ==========================================================================
   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.

   PALETTE:  Blue #0080f4  |  Dark #2027ba  |  White #ffffff
     - Header / Footer      -> WHITE  (dark text #2027ba, blue hover)
     - Top bar              -> DEEP BLUE   #2027ba (white text, blue hover)
     - Buttons (Book Now, submit, CTA) -> BLUE #0080f4 (white text)
     - Accents (links hover, icons, footer accents, selected) -> BLUE / DEEP BLUE
     - Prices               -> DEEP BLUE #2027ba
     - Borders              -> neutral light gray, dark/blue on hover-focus
     - Flatpickr: dark header, light hover, blue selected

   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: Blue #0080f4 / Dark #2027ba === */
    --accent-color: #0080f4;
    --accent-color-dark: #0069c9;
    --accent-color-light: #4da3f7;
    --accent-color-mid: #0075e0;

    /* -----------------------------------------------------------------
       DEEP BLUE / INK
       ----------------------------------------------------------------- */
    --ink: #2027ba;
    --ink-soft: #2f36c7;
    --ink-muted: #5c5b66;

    /* -----------------------------------------------------------------
       CTA COLOR  ->  BLUE
       ----------------------------------------------------------------- */
    --cta-color: #0080f4;
    --cta-color-dark: #0069c9;
    --cta-color-light: #4da3f7;
    --cta-text: #ffffff;

    /* -----------------------------------------------------------------
       HIGHLIGHT COLOR  ->  BLUE
       ----------------------------------------------------------------- */
    --highlight-color: #0080f4;
    --highlight-color-dark: #0069c9;
    --highlight-color-light: #4da3f7;

    /* -----------------------------------------------------------------
       HEADER / FOOTER  ->  WHITE   |   TOP BAR  ->  DEEP BLUE
       ----------------------------------------------------------------- */
    --header-bg: #ffffff;
    --footer-bg: #ffffff;
    --header-text: #2027ba;
    --topbar-bg: #2027ba;
    --topbar-text: #ffffff;

    /* -----------------------------------------------------------------
       ACCENT TRANSPARENT VARIANTS  (BLUE)
       ----------------------------------------------------------------- */
    --accent-glow-strong: rgba(0, 128, 244, 1);
    --accent-glow: rgba(0, 128, 244, 0.7);
    --accent-glow-soft: rgba(0, 128, 244, 0.45);
    --accent-glow-dim: rgba(0, 128, 244, 0.35);
    --accent-glow-faint: rgba(0, 128, 244, 0.08);
    --accent-bg-subtle: rgba(0, 128, 244, 0.06);
    --accent-bg-glass: rgba(0, 128, 244, 0.08);
    --accent-bg-radial: rgba(0, 128, 244, 0.10);
    --accent-border-subtle: rgba(0, 128, 244, 0.22);
    --accent-border-medium: rgba(0, 128, 244, 0.30);
    --accent-text-85: rgba(0, 128, 244, 0.85);
    --accent-text-70: rgba(0, 128, 244, 0.70);

    /* -----------------------------------------------------------------
       CTA TRANSPARENT VARIANTS  (BLUE)
       ----------------------------------------------------------------- */
    --cta-glow: rgba(0, 128, 244, 0.45);
    --cta-glow-soft: rgba(0, 128, 244, 0.30);
    --cta-bg-subtle: rgba(0, 128, 244, 0.06);
    --cta-border-medium: rgba(0, 128, 244, 0.30);

    /* -----------------------------------------------------------------
       ACTION BUTTONS  (no green anywhere)
       ----------------------------------------------------------------- */
    --warning: #0080f4;
    --error: #0080f4;
    --success: #2027ba;
    --success-dark: #171d8f;

    /* -----------------------------------------------------------------
       TEXT COLORS
       ----------------------------------------------------------------- */
    --text-color: #222222;
    --text-muted: #6b6f80;

    /* -----------------------------------------------------------------
       BACKGROUNDS
       ----------------------------------------------------------------- */
    --light-bg: #f7f7f8;
    --white: #ffffff;
    --dark-bg: #171d8f;

    /* -----------------------------------------------------------------
       BORDERS  ->  neutral light gray
       ----------------------------------------------------------------- */
    --border-color: #e3e3e6;

    /* -----------------------------------------------------------------
       FLATPICKR DATE PICKER
       ----------------------------------------------------------------- */
    --flatpickr-hover-bg: #f1f1f3;
    --flatpickr-hover-text: #2027ba;
}


/* ==========================================================================
   QUICK REFERENCE
   ==========================================================================
   BLUE      #0080f4  -> Buttons, CTA, link/footer hover, selected, focus
   BLUE-D    #0069c9  -> Button hover
   DEEP BLUE     #2027ba  -> Top bar bg, header/footer text, prices, icons
   WHITE    #ffffff  -> Header & Footer bg, text on blue/dark
   GRAY-L   #e3e3e6  -> Borders (cards, inputs)
   ========================================================================== */


/* 1. Labels */
.ez-sf-field label {
    font-weight: 600 !important;
    font-size: 0.73rem !important;
    color: #0c0c0c;
}


/* ==========================================================================
   2. TOP NAV BAR (DEEP BLUE)  --  WHITE TEXT, BLUE HOVER
   ========================================================================== */
.topbar,
.top-bar,
.ez-topbar,
.ez-top-bar {
    background-color: #2027ba !important;
    color: #ffffff !important;
}
.topbar a,
.top-bar a,
.ez-topbar a,
.ez-top-bar a,
.topbar i,
.top-bar i,
.ez-topbar i,
.ez-top-bar i {
    color: #ffffff !important;
}
.topbar a:hover,
.top-bar a:hover,
.ez-topbar a:hover,
.ez-top-bar a:hover {
    color: #4da3f7 !important;
}


/* ==========================================================================
   3. HEADER (WHITE)  &  FOOTER (WHITE)  --  DEEP BLUE TEXT, BLUE HOVER
   ========================================================================== */

/* --- Header --- */
header.bg-gray-950.text-gray-300.shadow-sm.sticky.top-0.z-50 {
    background-color: #ffffff;
    box-shadow: 0 1px 8px rgba(32, 39, 186, 0.10);
}

/* --- Nav links --- */
.ez-nav-link {
    color: #2027ba !important;
    font-weight: 600;
}
.ez-nav-link:hover {
    color: #0080f4 !important;
}

button#nav-toggle {
    color: #2027ba;
}

/* --- Mobile nav --- */
@media (max-width: 1024px) {
    #nav-menu.nav-menu--open {
        background-color: #ffffff;
        box-shadow: 0 8px 20px rgba(32, 39, 186, 0.12);
    }
}


/* --- Footer --- */
footer.bg-gray-950.text-gray-300.py-12.relative.overflow-hidden.font-sans {
    background-color: #ffffff;
    border-top: 1px solid #e3e3e6;
}
footer .text-custom-accent {
    color: #0080f4;
}
footer .border-custom-accent\/30 {
    border-color: rgba(0, 128, 244, 0.30);
}

/* --- Footer texts --- DEEP BLUE --- */
footer .footer-link-item {
    color: #2027ba;
}
footer .footer-link-item:hover {
    color: #0080f4;
}
footer .footer-link-item::before {
    background-color: #0080f4;
}
p.flex.items-center.text-gray-400.hover\:text-custom-accent.transition {
    color: #2027ba;
}
p.flex.items-center.text-gray-400.hover\:text-custom-accent.transition:hover {
    color: #0080f4;
}
p.text-gray-400.text-base.max-w-sm.leading-relaxed.hover\:text-custom-accent {
    color: #2027ba;
}
.text-center.md\:text-center.space-y-0\.5.w-full.mt-4 {
    color: #2027ba;
}
footer .hover\:text-custom-accent {
    color: #2027ba;
}
footer .hover\:text-custom-accent:hover {
    color: #0080f4;
}
footer .text-gray-400,
footer .text-gray-300,
footer .text-gray-500 {
    color: #2027ba;
}

/* --- Footer headings --- DEEP BLUE, blue underline --- */
h5.font-bold.text-white.mb-4.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2,
h5.font-bold.text-white.mb-5.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2 {
    color: #2027ba;
    border-color: rgba(0, 128, 244, 0.35);
}
footer .text-white {
    color: #2027ba;
}


/* ==========================================================================
   4. BUTTONS  ->  BLUE (white text)   |   PRICES  ->  DEEP BLUE
   ========================================================================== */
.btn-primary,
.btn-cta,
.ez-btn-primary,
button[type="submit"] {
    background-color: #0080f4;
    border-color: #0080f4;
    color: #ffffff;
    font-weight: 600;
}
.btn-primary:hover,
.btn-cta:hover,
.ez-btn-primary:hover,
button[type="submit"]:hover {
    background-color: #0069c9;
    border-color: #0069c9;
    color: #ffffff !important;
}

/* --- Book Now / fleet CTA --- */
a[href*="book"].btn,
a[href*="booking"].btn,
.ez-book-btn,
.ez-btn-book-now,
.card .btn-primary,
.model-card .btn-primary,
.ez-fleet-card a,
.fleet .btn,
.fleet a.btn,
.fleet button,
.fleet-card .btn,
.ez-fleet-card .btn,
.model-card .btn,
.book-now,
.btn-book,
.btn-book-now,
.ez-book-now,
.ez-btn-book,
a.book-now {
    background-color: #0080f4 !important;
    border-color: #0080f4 !important;
    color: #ffffff !important;
}
.fleet .btn i,
.fleet-card .btn i,
.ez-fleet-card .btn i,
.model-card .btn i,
.book-now i,
.btn-book i,
.btn-book-now i,
.ez-book-now i,
.ez-btn-book i {
    color: #ffffff !important;
}
.fleet .btn:hover,
.fleet a.btn:hover,
.fleet button:hover,
.fleet-card .btn:hover,
.ez-fleet-card .btn:hover,
.model-card .btn:hover,
.book-now:hover,
.btn-book:hover,
.btn-book-now:hover,
.ez-book-now:hover,
.ez-btn-book:hover,
a.book-now:hover {
    background-color: #0069c9 !important;
    border-color: #0069c9 !important;
    color: #ffffff !important;
}

/* --- Prices --- DEEP BLUE --- */
.price,
.model-price,
.ez-price,
.ez-fleet-price-value,
.ez-price-value--large {
    color: #2027ba !important;
    font-weight: 700;
}


/* ==========================================================================
   5. FLEET / BOOK NOW BUTTONS  --  WHITE TEXT ON HOVER
   ========================================================================== */
.fleet .btn:hover,
.fleet a.btn:hover,
.fleet button:hover,
.fleet-card .btn:hover,
.ez-fleet-card .btn:hover,
.model-card .btn:hover,
.model-card a:hover,
.book-now:hover,
.btn-book:hover,
.btn-book-now:hover,
.ez-book-now:hover,
.ez-btn-book:hover,
a.book-now:hover,
.fleet .btn:hover i,
.fleet-card .btn:hover i,
.ez-fleet-card .btn:hover i,
.model-card .btn:hover i,
.book-now:hover i,
.btn-book:hover i,
.btn-book-now:hover i,
.ez-book-now:hover i,
.ez-btn-book:hover i {
    color: #ffffff !important;
}


/* ==========================================================================
   6. MISC ACCENTS
   ========================================================================== */
.model-spec-item {
    border-color: #e3e3e6;
    background-color: #f7f7f8;
}
.model-spec-item:hover {
    border-color: #0080f4;
}
.model-includes-title i {
    color: #0080f4;
}

/* --- Form borders --- */
.form-group input[type="text"], .form-group input[type="date"],
.form-group input[type="time"], .form-group select {
    border: 1px solid #e3e3e6;
}

/* --- Form focus --- BLUE --- */
.form-group input[type="text"]:focus, .form-group input[type="date"]:focus,
.form-group input[type="time"]:focus, .form-group select:focus {
    border-color: #0080f4;
    outline: none;
}

/* --- Form field icons --- */
.mf-field label i {
    color: #0080f4 !important;
}
.model-spec-icon {
    color: #5c5b66;
}


/* ==========================================================================
   7. NO-GREEN HOVER OVERRIDES
   ========================================================================== */

/* --- Generic link hover --- BLUE --- */
a:hover {
    color: #0080f4;
}

/* --- Success / secondary buttons --- DEEP BLUE --- */
.btn-success,
.ez-btn-success,
.btn-secondary {
    background-color: #2027ba;
    border-color: #2027ba;
    color: #ffffff;
}
.btn-success:hover,
.ez-btn-success:hover,
.btn-secondary:hover {
    background-color: #171d8f;
    border-color: #171d8f;
    color: #ffffff;
}

/* --- Outline / ghost buttons --- DEEP BLUE border, blue fill on hover --- */
.btn-outline,
.ez-btn-outline {
    border-color: #2027ba;
    color: #2027ba;
    background: transparent;
}
.btn-outline:hover,
.ez-btn-outline:hover {
    background-color: #0080f4;
    border-color: #0080f4;
    color: #ffffff;
}

/* --- Cards / list items --- BLUE border on hover --- */
.card:hover,
.model-card:hover,
.ez-card:hover {
    border-color: #0080f4;
}

/* --- Icons --- */
a:hover i,
.icon:hover,
.ez-icon:hover {
    color: #0080f4;
}

/* --- Badges / tags --- DEEP BLUE bg --- */
.badge-success,
.tag-success {
    background-color: #2027ba;
    color: #ffffff;
}

/* --- Flatpickr selected/hover --- light hover, BLUE selected --- */
.flatpickr-day:hover {
    background: #f1f1f3;
    border-color: #f1f1f3;
    color: #2027ba;
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #0080f4;
    border-color: #0080f4;
    color: #ffffff;
}

/* --- Dropdown / select option hover --- */
option:checked,
option:hover,
.select-option:hover {
    background-color: #2027ba;
    color: #ffffff;
}


/* ==========================================================================
   8. BOX-SHADOW
   ========================================================================== */
.btn:hover,
.btn-secondary:hover,
.btn-success:hover,
.btn-outline:hover,
.ez-btn-success:hover,
.ez-btn-outline:hover {
    box-shadow: 0 4px 14px rgba(32, 39, 186, 0.18);
}

/* --- Blue buttons keep a SOFT BLUE glow --- */
.btn-cta:hover,
.btn-primary:hover,
.ez-btn-primary:hover,
button[type="submit"]:hover {
    box-shadow: 0 4px 14px rgba(0, 128, 244, 0.35);
}

/* --- Focus rings on inputs --- SOFT BLUE --- */
.form-group input[type="text"]:focus,
.form-group input[type="date"]:focus,
.form-group input[type="time"]:focus,
.form-group select:focus,
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(0, 128, 244, 0.18);
}

/* --- Cards / panels --- */
.card,
.model-card,
.ez-card,
.panel {
    box-shadow: 0 2px 8px rgba(32, 39, 186, 0.06);
}
.card:hover,
.model-card:hover,
.ez-card:hover,
.panel:hover {
    box-shadow: 0 8px 20px rgba(32, 39, 186, 0.14);
}

.selected,
.is-active,
.active {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0) !important;
}

.badge,
.badge-success,
.tag,
.tag-success {
    box-shadow: none;
}

.flatpickr-day.selected,
.flatpickr-day:hover {
    box-shadow: none;
}
.flatpickr-calendar {
    box-shadow: 0 6px 20px rgba(32, 39, 186, 0.16);
}


/* ==========================================================================
   9. BOOKING FORM BUTTON  --  BLUE
   ========================================================================== */
.booking-form button {
    background-color: #0080f4 !important;
    border-color: #0080f4 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 128, 244, 0.30) !important;
}
.booking-form button:hover {
    background-color: #0069c9 !important;
    border-color: #0069c9 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 128, 244, 0.40) !important;
}
.booking-form button:focus,
.booking-form button:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 128, 244, 0.30) !important;
    outline: none !important;
}
.booking-form button:active {
    background-color: #0057a8 !important;
    box-shadow: 0 1px 4px rgba(0, 128, 244, 0.30) !important;
}


/* ==========================================================================
   10. INSURANCE / PRICE CARDS
   ========================================================================== */
.ez-ins-card {
    border-color: #e3e3e6 !important;
}
.ez-ins-card:hover {
    border-color: #0080f4 !important;
    box-shadow: 0 8px 20px rgba(32, 39, 186, 0.14) !important;
}
.ez-ins-card:hover i,
.ez-ins-card:hover .ez-ins-title,
.ez-ins-card:hover a {
    color: #0080f4 !important;
}
.ez-price-card--selected {
    background-color: #eaf3fe !important;
    border-color: #0080f4 !important;
}
.border-green-500 {
    border-color: #0080f4 !important;
}
.affiliateNextBtn {
    box-shadow: 0 6px 15px rgba(0, 128, 244, 0.20);
}
.affiliateNextBtn:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0) !important;
}
.ez-accent-link:hover {
    color: #0080f4;
}


/* ==========================================================================
   11. FLEET PAGE (car.fleet.php)  --  BOOK NOW  ->  BLUE
   ========================================================================== */
.ez-fleet-book-btn {
    background: #0080f4 !important;
    background-color: #0080f4 !important;
    background-image: linear-gradient(135deg, #0080f4 0%, #0069c9 100%) !important;
    border-color: #0080f4 !important;
}
.ez-fleet-book-btn,
.ez-fleet-book-btn *,
.ez-fleet-book-btn i,
.ez-fleet-book-btn span,
.ez-fleet-book-btn:visited,
.ez-fleet-book-btn:focus,
.ez-fleet-book-btn:active {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
.ez-fleet-book-btn:hover {
    background: #0069c9 !important;
    background-color: #0069c9 !important;
    background-image: linear-gradient(135deg, #0069c9 0%, #0057a8 100%) !important;
    border-color: #0069c9 !important;
}
.ez-fleet-book-btn:hover,
.ez-fleet-book-btn:hover *,
.ez-fleet-book-btn:hover i,
.ez-fleet-book-btn:hover span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}


/* ==========================================================================
   12. POLISH  --  smooth, consistent, uniform
   ========================================================================== */
a, button, .btn, .card, .model-card, .ez-card, .ez-ins-card,
.ez-fleet-book-btn, input, select, textarea, .badge, .tag {
    transition: background-color .22s ease, border-color .22s ease,
                color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.btn-primary:hover,
.btn-cta:hover,
.ez-btn-primary:hover,
.ez-fleet-book-btn:hover,
.booking-form button:hover,
button[type="submit"]:hover {
    transform: translateY(-2px);
}
.btn-primary:active,
.btn-cta:active,
.ez-fleet-book-btn:active,
.booking-form button:active {
    transform: translateY(0);
}

/* --- Animated nav underline (blue, ορατό πάνω στο άσπρο header) --- */
.ez-nav-link {
    position: relative;
}
.ez-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #0080f4;
    transition: width .25s ease;
}
.ez-nav-link:hover::after {
    width: 100%;
}

/* --- Cards --- */
.card,
.model-card,
.ez-card,
.ez-ins-card {
    border: 1px solid #e3e3e6;
    border-radius: 10px;
}

/* --- Pill badges --- */
.badge,
.tag,
.badge-success,
.tag-success {
    border-radius: 999px;
    padding: .25em .75em;
    font-weight: 600;
}

/* --- Inputs --- */
.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group select,
input, textarea, select {
    border: 1px solid #e3e3e6;
    border-radius: 8px;
}

/* --- Buttons: consistent radius --- */
.btn, button, .ez-fleet-book-btn, .booking-form button {
    border-radius: 8px;
}

@media (prefers-blueuced-motion: blueuce) {
    a, button, .btn, .card, .model-card, .ez-card, .ez-ins-card,
    .ez-fleet-book-btn, input, select, textarea, .badge, .tag,
    .ez-nav-link::after {
        transition: none !important;
    }
    .btn-primary:hover,
    .btn-cta:hover,
    .ez-btn-primary:hover,
    .ez-fleet-book-btn:hover,
    .booking-form button:hover,
    button[type="submit"]:hover {
        transform: none !important;
    }
}


/* ==========================================================================
   13. GREEN / BLUE KILLER  --  ό,τι έρχεται από το style.css μπαίνει στην παλέτα
   ========================================================================== */

/* --- Tailwind red utilities -> BRAND BLUE --- */
.bg-red-400, .bg-red-500, .bg-red-600, .bg-red-700,
.hover\:bg-red-500:hover, .hover\:bg-red-600:hover, .hover\:bg-red-700:hover {
    background-color: #0080f4 !important;
}
.text-red-400, .text-red-500, .text-red-600, .text-red-700,
.hover\:text-red-500:hover, .hover\:text-red-600:hover {
    color: #0080f4 !important;
}
.border-red-400, .border-red-500, .border-red-600, .border-red-700 {
    border-color: #0080f4 !important;
}
.from-red-500, .from-red-600 { --tw-gradient-from: #0080f4 !important; }
.to-red-500, .to-red-600, .to-red-700 { --tw-gradient-to: #0069c9 !important; }

/* --- Tailwind green utilities -> DEEP BLUE --- */
.bg-green-400, .bg-green-500, .bg-green-600, .bg-green-700,
.hover\:bg-green-500:hover, .hover\:bg-green-600:hover, .hover\:bg-green-700:hover {
    background-color: #2027ba !important;
}
.text-green-400, .text-green-500, .text-green-600, .text-green-700,
.hover\:text-green-500:hover, .hover\:text-green-600:hover {
    color: #2027ba !important;
}
.border-green-400, .border-green-600, .border-green-700 {
    border-color: #2027ba !important;
}

/* --- Θεματικές μεταβλητές που ίσως ορίζει το style.css --- */
:root {
    --red: #0080f4;
    --danger: #0080f4;
    --danger-dark: #0069c9;
    --secondary-color: #2027ba;
    --secondary-color-dark: #171d8f;
    --custom-cta: #0080f4;
    --brand-red: #0080f4;
}

/* --- Ό,τι έχει inline/theme κόκκινο σε ΚΟΥΜΠΙ/CTA -> brand blue --- */
[class*="btn"][style*="rgb(237"],
[class*="btn"][style*="#ed2426"],
[class*="cta"] {
    background-color: #0080f4 !important;
    border-color: #0080f4 !important;
    color: #ffffff !important;
}
[class*="btn"][style*="rgb(237"]:hover,
[class*="btn"][style*="#ed2426"]:hover,
[class*="cta"]:hover {
    background-color: #0069c9 !important;
    border-color: #0069c9 !important;
    color: #ffffff !important;
}

/* --- Flatpickr header --- DEEP BLUE --- */
.flatpickr-months {
    background-color: #2027ba;
}
.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-current-month input.cur-year,
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month,
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}
.flatpickr-weekdays,
span.flatpickr-weekday {
    background-color: transparent;
    color: #5c5b66;
}
.flatpickr-day:hover {
    background: #f1f1f3;
    border-color: #f1f1f3;
}
.flatpickr-day.selected, .flatpickr-day.selected:hover {
    background: #0080f4;
    border-color: #0080f4;
}