/* ==========================================================================
   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:  Teal #4dc4d0  |  Sand #c8bda1  |  White #ffffff
     - Header                -> WHITE #ffffff  (black text on top)
     - Top nav bar           -> TEAL  #4dc4d0  (dark teal text on top)
     - Footer                -> WHITE #ffffff  (black text on top)
     - Main accents (links, icons, borders, nav) -> TEAL
     - CTA buttons / prices / highlights          -> DEEP TEAL #2e9aa6
     - Secondary buttons / muted elements         -> SAND

   NOTE: #4dc4d0 is light, so white text on it fails contrast.
   Text on teal = #0d4a51; text/CTA colors use the deeper teal #2e9aa6.

   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: Teal #4dc4d0 (primary) + Sand #c8bda1 (secondary) === */
    --accent-color: #4dc4d0;
    --accent-color-dark: #2e9aa6;
    --accent-color-light: #8adde5;
    --accent-color-mid: #38b2be;

    /* -----------------------------------------------------------------
       SECONDARY / CTA COLOR  ->  SAND
       ----------------------------------------------------------------- */
    --cta-color: #c8bda1;
    --cta-color-dark: #a89c7d;
    --cta-color-light: #ded6c3;

    /* -----------------------------------------------------------------
       ACCENT TRANSPARENT VARIANTS  (TEAL)
       ----------------------------------------------------------------- */
    --accent-glow-strong: rgba(77, 196, 208, 1);
    --accent-glow: rgba(77, 196, 208, 0.7);
    --accent-glow-soft: rgba(77, 196, 208, 0.45);
    --accent-glow-dim: rgba(77, 196, 208, 0.35);
    --accent-glow-faint: rgba(77, 196, 208, 0.08);
    --accent-bg-subtle: rgba(77, 196, 208, 0.12);
    --accent-bg-glass: rgba(46, 154, 166, 0.10);
    --accent-bg-radial: rgba(77, 196, 208, 0.15);
    --accent-border-subtle: rgba(77, 196, 208, 0.22);
    --accent-border-medium: rgba(77, 196, 208, 0.30);
    --accent-text-85: rgba(46, 154, 166, 0.85);
    --accent-text-70: rgba(46, 154, 166, 0.70);

    /* -----------------------------------------------------------------
       CTA / SAND TRANSPARENT VARIANTS
       ----------------------------------------------------------------- */
    --cta-glow: rgba(200, 189, 161, 0.7);
    --cta-glow-soft: rgba(200, 189, 161, 0.45);
    --cta-bg-subtle: rgba(200, 189, 161, 0.12);
    --cta-border-medium: rgba(200, 189, 161, 0.30);

    /* -----------------------------------------------------------------
       ACTION BUTTONS
       NOTE: --success/--success-dark were GREEN (#10B981/#059669).
       Remapped to the palette so no green appears on hover states.
       ----------------------------------------------------------------- */
    --warning: #c8bda1;
    --error: #2e9aa6;
    --success: #4dc4d0;
    --success-dark: #2e9aa6;

    /* -----------------------------------------------------------------
       TOP NAVIGATION BAR  ->  TEAL
       ----------------------------------------------------------------- */
    --topbar-bg: #4dc4d0;
    --topbar-text: #0d4a51;

    /* -----------------------------------------------------------------
       TEXT COLORS
       ----------------------------------------------------------------- */
    --text-color: #333;
    --text-muted: #8e856e;

    /* -----------------------------------------------------------------
       BACKGROUNDS
       ----------------------------------------------------------------- */
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-bg: #2e9aa6;

    /* -----------------------------------------------------------------
       BORDERS
       ----------------------------------------------------------------- */
    --border-color: #e2e8f0;

    /* -----------------------------------------------------------------
       FLATPICKR DATE PICKER
       ----------------------------------------------------------------- */
    --flatpickr-hover-bg: #2e9aa6;
    --flatpickr-hover-text: #ffffff;
}


/* ==========================================================================
   QUICK REFERENCE
   ==========================================================================
   TEAL    #4dc4d0  -> Top nav bar, borders, badges, selected states
   D-TEAL  #2e9aa6  -> Links, icons, CTA buttons, prices, hover states
   DK-TEAL #0d4a51  -> Text on top nav bar
   SAND    #c8bda1  -> Secondary buttons, soft fills
   D-SAND  #a89c7d  -> Hover states on sand elements
   WHITE   #ffffff  -> Header & Footer background
   BLACK   #000000  -> Header & Footer text
   ========================================================================== */


/* 1. Labels */
.ez-sf-field label {
    font-weight: 600 !important;
    font-size: 0.73rem !important;
}


/* ==========================================================================
   2. TOP NAV BAR (TEAL)  --  DARK TEAL TEXT
   ========================================================================== */
.topbar,
.top-bar,
.ez-topbar,
.ez-top-bar {
    background-color: #4dc4d0 !important;
    color: #0d4a51 !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: #0d4a51 !important;
}
.topbar a:hover,
.top-bar a:hover,
.ez-topbar a:hover,
.ez-top-bar a:hover {
    color: #ffffff !important;
}


/* ==========================================================================
   3. HEADER (WHITE)  &  FOOTER (WHITE)  -- BLACK TEXT
   ========================================================================== */

/* --- Header --- WHITE background --- */
header.bg-gray-950.text-gray-300.shadow-sm.sticky.top-0.z-50 {
    background-color: #ffffff;
}

/* --- Nav links --- BLACK on white, hover TEAL --- */
.ez-nav-link {
    color: #000000 !important;
}
.ez-nav-link:hover {
    color: #2e9aa6 !important;
}

button#nav-toggle {
    color: #000000;
}

/* --- Mobile nav --- WHITE (matches header) --- */
@media (max-width: 1024px) {
    #nav-menu.nav-menu--open {
        background-color: #ffffff;
    }
}


/* --- Footer --- WHITE background --- */
footer.bg-gray-950.text-gray-300.py-12.relative.overflow-hidden.font-sans {
    background-color: #ffffff;
}
footer .text-custom-accent {
    color: #2e9aa6;
}
footer .border-custom-accent\/30 {
    border-color: rgba(77, 196, 208, 0.30);
}

/* --- Footer texts --- BLACK --- */
footer .footer-link-item {
    color: #000000;
}
footer .footer-link-item:hover {
    color: #2e9aa6;
}
p.flex.items-center.text-gray-400.hover\:text-custom-accent.transition {
    color: #000000;
}
p.flex.items-center.text-gray-400.hover\:text-custom-accent.transition:hover {
    color: #2e9aa6;
}
p.text-gray-400.text-base.max-w-sm.leading-relaxed.hover\:text-custom-accent {
    color: #000000;
}
.text-center.md\:text-center.space-y-0\.5.w-full.mt-4 {
    color: #000000;
}
footer .hover\:text-custom-accent {
    color: #000000;
}
footer .hover\:text-custom-accent:hover {
    color: #2e9aa6;
}

/* --- Footer headings --- BLACK --- */
h5.font-bold.text-white.mb-4.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2 {
    color: #000000;
}
h5.font-bold.text-white.mb-5.uppercase.tracking-widest.text-sm.border-b.border-custom-accent\/30.pb-2 {
    color: #000000;
}


/* ==========================================================================
   4. CTA BUTTONS & PRICES  ->  DEEP TEAL
   ========================================================================== */
.btn-primary,
.btn-cta,
.ez-btn-primary,
button[type="submit"] {
    background-color: #2e9aa6;
    border-color: #2e9aa6;
    color: #ffffff;
}
.btn-primary:hover,
.btn-cta:hover,
.ez-btn-primary:hover,
button[type="submit"]:hover {
    background-color: #237a83;
    border-color: #237a83;
    color: #ffffff;
}

/* --- Prices --- DEEP TEAL --- */
.price,
.model-price,
.ez-price {
    color: #2e9aa6;
}


/* ==========================================================================
   5. MISC ACCENTS
   ========================================================================== */
.model-spec-item:hover {
    border-color: #4dc4d0;
}
.model-includes-title i {
    color: #2e9aa6;
}

/* --- 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;
}

/* --- Form focus --- TEAL --- */
.form-group input[type="text"]:focus, .form-group input[type="date"]:focus,
.form-group input[type="time"]:focus, .form-group select:focus {
    border-color: #4dc4d0;
    outline: none;
}

/* --- Form field icons --- */
.mf-field label i {
    color: #2e9aa6 !important;
}
.model-spec-icon {
    color: #a89c7d;
}


/* ==========================================================================
   6. NO-GREEN HOVER OVERRIDES
   ========================================================================== */

/* --- Generic link hover --- DEEP TEAL --- */
a:hover {
    color: #2e9aa6;
}

/* --- Success / green-ish buttons --- SAND --- */
.btn-success,
.ez-btn-success,
.btn-secondary {
    background-color: #c8bda1;
    border-color: #c8bda1;
    color: #3d3728;
}
.btn-success:hover,
.ez-btn-success:hover,
.btn-secondary:hover {
    background-color: #a89c7d;
    border-color: #a89c7d;
    color: #ffffff;
}

/* --- Outline / ghost buttons --- TEAL on hover --- */
.btn-outline:hover,
.ez-btn-outline:hover {
    background-color: #2e9aa6;
    border-color: #2e9aa6;
    color: #ffffff;
}

/* --- Cards / list items --- TEAL border on hover --- */
.card:hover,
.model-card:hover,
.ez-card:hover {
    border-color: #4dc4d0;
}

/* --- Icons --- DEEP TEAL on hover --- */
a:hover i,
.icon:hover,
.ez-icon:hover {
    color: #2e9aa6;
}

/* --- Badges / tags --- TEAL --- */
.badge-success,
.tag-success {
    background-color: #4dc4d0;
    color: #0d4a51;
}

/* --- Flatpickr selected/hover --- DEEP TEAL --- */
.flatpickr-day:hover,
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #2e9aa6;
    border-color: #2e9aa6;
    color: #ffffff;
}

/* --- Dropdown / select option hover --- DEEP TEAL --- */
option:checked,
option:hover,
.select-option:hover {
    background-color: #2e9aa6;
    color: #ffffff;
}


/* ==========================================================================
   7. BOX-SHADOW  --  NO GREEN
   ========================================================================== */

/* --- Buttons --- TEAL glow --- */
.btn:hover,
.btn-primary:hover,
.btn-cta:hover,
.btn-secondary:hover,
.btn-success:hover,
.btn-outline:hover,
.ez-btn-primary:hover,
.ez-btn-success:hover,
.ez-btn-outline:hover,
button[type="submit"]:hover {
    box-shadow: 0 4px 14px rgba(46, 154, 166, 0.35);
}

/* --- Focus rings on inputs --- TEAL --- */
.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(77, 196, 208, 0.25);
}

/* --- Cards / panels --- NEUTRAL gray shadow --- */
.card,
.model-card,
.ez-card,
.panel {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.card:hover,
.model-card:hover,
.ez-card:hover,
.panel:hover {
    box-shadow: 0 6px 18px rgba(77, 196, 208, 0.22);
}

/* --- Selected / active states --- no glow --- */
.selected,
.is-active,
.active {
    box-shadow: 0 0 0 2px rgba(77, 196, 208, 0) !important;
}

/* --- Badges / tags --- no colored glow --- */
.badge,
.badge-success,
.tag,
.tag-success {
    box-shadow: none;
}

/* --- Flatpickr --- */
.flatpickr-day.selected,
.flatpickr-day:hover {
    box-shadow: none;
}
.flatpickr-calendar {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}


/* ==========================================================================
   8. BOOKING FORM BUTTON  --  TARGETED OVERRIDE
   ========================================================================== */

.booking-form button {
    background-color: #2e9aa6 !important;
    border-color: #2e9aa6 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(46, 154, 166, 0.25) !important;
}

.booking-form button:hover {
    background-color: #237a83 !important;
    border-color: #237a83 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(46, 154, 166, 0.40) !important;
}

.booking-form button:focus,
.booking-form button:focus-visible {
    box-shadow: 0 0 0 3px rgba(77, 196, 208, 0.35) !important;
    outline: none !important;
}

.booking-form button:active {
    background-color: #1b5f66 !important;
    box-shadow: 0 1px 4px rgba(46, 154, 166, 0.30) !important;
}


/* ==========================================================================
   9. INSURANCE / PRICE CARDS  --  NO GREEN
   ========================================================================== */

.ez-ins-card:hover {
    border-color: #4dc4d0 !important;
    box-shadow: 0 6px 18px rgba(77, 196, 208, 0.22) !important;
}

.ez-ins-card:hover i,
.ez-ins-card:hover .ez-ins-title,
.ez-ins-card:hover a {
    color: #2e9aa6 !important;
}

.ez-price-card--selected {
    background-color: rgba(77, 196, 208, 0.10) !important;
    border-color: #4dc4d0 !important;
}

.border-green-500 {
    border-color: #4dc4d0 !important;
}

.affiliateNextBtn {
    box-shadow: 0 6px 15px rgba(77, 196, 208, 0.18);
}
.affiliateNextBtn:hover {
    box-shadow: 0 10px 20px rgba(77, 196, 208, 0) !important;
}

.ez-accent-link:hover{
    color: #2e9aa6!important;

}