/* =============================================================
   TARAS LIMO FLEET — BOOKING SYSTEM CSS
   Dark luxury theme matching the Taras Limo reference design.

   STRUCTURE:
   01. Design tokens (CSS custom properties)
   02. Reset & base
   03. Step visibility & transitions
   04. Step 1 — Fleet selection
   05. Vehicle cards
   06. Step 2 — Date & time (split layout)
   07. Calendar
   08. Time slots
   09. Step 3 — Booking form
   10. Step 4 — Confirmation
   11. Shared components (back btn, split-left panel, meta rows)
   12. Responsive (tablet + mobile)
   ============================================================= */


/* ─────────────────────────────────────────────────────────────
   01  DESIGN TOKENS
───────────────────────────────────────────────────────────── */
:root {
    /* Palette */
    --color-bg: #000000;
    --color-surface-1: #0e0e0e;
    --color-surface-2: #161616;
    --color-surface-3: #1e1e1e;
    --color-surface-4: #272727;

    --color-text: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.58);
    --color-text-muted: rgba(255, 255, 255, 0.30);

    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-strong: rgba(255, 255, 255, 0.18);

    --color-selected-bg: #ffffff;
    --color-selected-text: #000000;

    /* Fleet step overrides (light theme) */
    --fleet-bg: #ffffff;
    --fleet-card-bg: #ffffff;
    --fleet-card-border: rgba(0, 0, 0, 0.08);
    --fleet-text: #111111;
    --fleet-text-sec: #555555;
    --fleet-input-bg: #f4f4f4;
    --fleet-search-border: #e0e0e0;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semi: 600;
    --fw-bold: 700;

    /* Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;

    /* Spacing unit */
    --sp: 8px;

    /* Easing */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

    /*
     * Sticky header offset — adjust this to match your WordPress theme's
     * header height so step transitions scroll to just below the header.
     * E.g. if your header is 100px tall, set this to 100.
     */
    --wp-sticky-offset: 80;
}


/* ─────────────────────────────────────────────────────────────
   02  RESET & BASE
───────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-weight: var(--fw-regular);
    background: var(--color-bg);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    font-size: 14px;
}

img {
    display: block;
    max-width: 100%;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    color: inherit;
}

input,
textarea {
    font-family: inherit;
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* App wrapper */
#limo-booking-app {
    position: relative;
    min-height: 1px;
    overflow: hidden;
}


/* ─────────────────────────────────────────────────────────────
   03  STEP VISIBILITY & TRANSITIONS
───────────────────────────────────────────────────────────── */
.booking-step {
    display: none;
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity 0.45s var(--ease-out),
        transform 0.45s var(--ease-out);
    min-height: 100vh;
    border-radius: 10px;
}

.booking-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Animate in — triggered by JS adding .step-enter */
.booking-step.step-enter {
    display: block;
    animation: stepFadeIn 0.45s var(--ease-out) forwards;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide exit */
.booking-step.step-exit {
    animation: stepFadeOut 0.3s var(--ease-in-out) forwards;
    pointer-events: none;
}

@keyframes stepFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-12px);
    }
}


/* ─────────────────────────────────────────────────────────────
   04  STEP 1 — FLEET SELECTION (light theme)
───────────────────────────────────────────────────────────── */
/* #step-fleet {
    background: var(--fleet-bg);
    padding: 0;
} */
#step-fleet {
    background: var(--fleet-bg);
    padding: 0;
    min-height: 1px;
}

.fleet-container {
    max-width: 100%;
    margin: 0 auto;
    padding: calc(var(--sp) * 4) calc(var(--sp) * 4) calc(var(--sp) * 8);
}

.fleet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--fleet-card-border);
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: calc(var(--sp) * 2);
}

.fleet-brand {
    font-size: 1.15rem;
    font-weight: var(--fw-semi);
    color: var(--fleet-text);
    letter-spacing: -0.02em;
}

/* Search input */
.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: #999;
    pointer-events: none;
}

.search-input {
    background: var(--fleet-input-bg);
    border: 1px solid var(--fleet-search-border);
    border-radius: var(--r-xl);
    padding: 9px 16px 9px 38px;
    font-size: 0.875rem;
    color: var(--fleet-text);
    width: 220px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-input::placeholder {
    color: #aaa;
}

.search-input:focus {
    border-color: #bbb;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}


/* 17 april css */
@media (min-width:768px){
    .section-services .section-header {
        padding: 0;
    }
    .section-services {
        padding: 80px 0 0;
    }
    .section-safety {
        padding: 30px 0 0 0;
    }
    
    .section-booking .section-header {
        width: 100%;
        max-width: 896px;
        margin: auto;
        padding-bottom: 64px;
    }
    .section-fleet .section-header .section-title {
        font-size: 48px !important;
    }

    .booking-step .fleet-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: calc(var(--sp) * 2.5);
    }
}
/* ─────────────────────────────────────────────────────────────
   05  VEHICLE CARDS
───────────────────────────────────────────────────────────── */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--sp) * 2.5);
}

.vehicle-card {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--fleet-card-border);
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--fleet-card-bg);
    cursor: pointer;
    transition:
        box-shadow 0.25s var(--ease-out),
        border-color 0.25s,
        transform 0.2s var(--ease-out);
    min-height: 160px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* .vehicle-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
} */

.vehicle-card:active {
    transform: translateY(0);
}

/* Card image */
/* .card-img-wrap {
    flex: 0 0 190px;
    overflow: hidden;
    background: #e8e8e8;
} */
.card-img-wrap {
    flex: 0 0 130px;
    overflow: hidden;
    height: 148px;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s var(--ease-out);
    border-radius: 8px;
    height: 148px;
}

.vehicle-card:hover .card-img-wrap img {
    transform: scale(1.04);
}

/* Card body */
.card-body {
    flex: 1;
    padding: calc(var(--sp) * 2.5) calc(var(--sp) * 3);
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1rem;
    font-weight: var(--fw-semi);
    color: var(--fleet-text);
    margin-bottom: calc(var(--sp) * 1.5);
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.card-desc {
    font-size: 14px;
    color: #10182899;
    line-height: 1.55;
    flex: 1;
    /* Clamp to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: "Roboto", sans-serif;
}

.card-duration {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: calc(var(--sp) * 2);
    color: var(--fleet-text-sec);
    font-size: 0.82rem;
}

.duration-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.duration-radio::after {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: transparent;
}

.vehicle-card:hover .duration-radio {
    border-color: #555;
}

/* Hide odd single card if only 1 in row */
.fleet-grid .vehicle-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
}


/* ─────────────────────────────────────────────────────────────
   06  STEP 2 + 3 — SPLIT LAYOUT (dark theme)
───────────────────────────────────────────────────────────── */
#step-datetime,
#step-form,
#step-confirmation {
    background: var(--color-bg);
}

.split-layout {
    display: grid;
    grid-template-columns: 425px 1fr;
    min-height: 100vh;
    border: 1px solid #fcfcfd33;
    border-radius: 10px;
}

/* ── Left panel ── */
.split-left {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 20px;
    border-right: 1px solid #fcfcfd33;
}

.back-btn svg {
    width: 28px;
    height: 28px;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 73%;
    border: 1px solid var(--color-border-strong);
    color: var(--color-text);
    margin-bottom: calc(var(--sp) * 4);
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.back-btn:hover {
    background: var(--color-surface-3);
    border-color: var(--color-border-strong);
}

.split-brand {
    font-size: 0.78rem;
    font-weight: var(--fw-medium);
    color: var(--color-text-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: calc(var(--sp) * 1.5);
}

/* .split-vehicle-name {
    font-size: 22px;
    font-weight: var(--fw-semi);
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--color-text);
    margin-bottom: calc(var(--sp) * 3);
} */
.split-vehicle-name {
    font-size: 22px;
    color: #fcfcfd;
    font-weight: 500;
    margin: 10px 0 10px;
    text-transform: unset;
    letter-spacing: 0;
}

.split-meta {
    display: flex;
    flex-direction: column;
    gap: calc(var(--sp) * 1.5);
    margin-bottom: calc(var(--sp) * 3.5);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: #fcfcfd99;
    text-transform: unset;
    margin: 10px 0 0 0;
}

.meta-item span {
    font-size: 13px;
    font-weight: 600;
}

.meta-item svg {
    flex-shrink: 0;
    opacity: 0.7;
    width: 20px;
    height: 20px;
}

.split-description {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin-top: auto;
}

/* ── Right panel ── */
.split-right {
    padding: 25px;
    padding-right: 0;
    overflow-y: auto;
    border-right: 0;
}

.section-heading {
    font-size: 17.6px;
    font-weight: var(--fw-semi);
    letter-spacing: -0.015em;
    margin-bottom: calc(var(--sp) * 4);
    color: #fcfcfd;
    font-weight: 500;
}


.section-header {
    padding: 80px 0 0;
}



/* ─────────────────────────────────────────────────────────────
   07  CALENDAR
───────────────────────────────────────────────────────────── */
.cal-timeslot-grid {
    display: grid;
    grid-template-columns: 1fr 315px;
    gap: calc(var(--sp) * 4);
    align-items: start;
}

.calendar-panel {
    width: 100%;
    max-width: 512px;
}

/* Nav row */
.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: calc(var(--sp) * 3);
    padding: 0 4px;
}

.cal-arrow {
    width: 41px;
    height: 41px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: background 0.2s;
    background: #ffffff12;
}

.cal-arrow svg {
    width: 25px;
    height: 25px;
}

/* .cal-arrow:hover {
    background: var(--color-surface-3);
} */

.cal-month-label {
    font-size: 1rem;
    font-weight: var(--fw-semi);
    letter-spacing: -0.01em;
    color: var(--color-text);
}

/* Weekday row */
.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: calc(var(--sp) * 1.5);
}

.cal-weekdays span {
    text-align: center;
    font-size: 0.775rem;
    font-weight: var(--fw-medium);
    color: var(--color-text-secondary);
    padding-bottom: calc(var(--sp));
    letter-spacing: 0.02em;
}

/* Days grid */
.cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 7px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: background 0.18s, color 0.18s;
    color: var(--color-text);
    user-select: none;
    max-width: 44px;
    height: 44px;
    margin: auto;
    background: #171616;
}

/* .cal-day:hover:not(.disabled):not(.selected) {
    
    background: #171616;
    color: #fff;
    font-weight: 600;
} */

.cal-day.disabled {
    color: var(--color-text-muted);
    cursor: default;
    pointer-events: none;
    background: transparent;
}

/* Today indicator — small dot below the number */
.cal-day.today::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-text-secondary);
}

/* Selected date */
.cal-day.selected {
    background: var(--color-selected-bg);
    color: var(--color-selected-text);
    font-weight: var(--fw-semi);
    width: 100%;
    max-width: 44px;
    height: 44px;
    margin: auto;
}

.cal-day.selected::after {
    background: transparent;
}

/* Timezone row */
.cal-timezone {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: calc(var(--sp) * 3);
    font-size: 0.8rem;
    color: #fff;
    padding: calc(var(--sp) * 1.5) calc(var(--sp) * 2);
    border: 1px solid var(--color-border);
    border-radius: var(--r-sm);
}

.cal-timezone svg {
    flex-shrink: 0;
    opacity: 0.6;
}


/* ─────────────────────────────────────────────────────────────
   08  TIME SLOTS
───────────────────────────────────────────────────────────── */
.timeslots-panel {
    height: 480px;
    overflow-y: auto;
    padding-right: 4px;
    /* Scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: var(--color-surface-4) transparent;
}

.timeslots-panel::-webkit-scrollbar {
    width: 4px;
}

.timeslots-panel::-webkit-scrollbar-track {
    background: transparent;
}

.timeslots-panel::-webkit-scrollbar-thumb {
    background: var(--color-surface-4);
    border-radius: 4px;
}

.timeslots-empty {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.83rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.timeslots-list {
    display: flex;
    flex-direction: column;
    gap: calc(var(--sp));
    padding-right: 30px;
}

.timeslot-btn {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--r-sm);
    font-size: 0.875rem;
    font-weight: var(--fw-medium);
    color: var(--color-text);
    text-align: center;
    background: transparent;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    letter-spacing: 0.01em;
    border: 1px solid #fff;
}

.timeslot-btn:hover {
    background: var(--color-surface-3);
    border-color: var(--color-border-strong);
}

.timeslot-btn.selected {
    background: var(--color-selected-bg);
    color: var(--color-selected-text);
    border-color: var(--color-selected-bg);
    font-weight: var(--fw-semi);
}


/* ─────────────────────────────────────────────────────────────
   09  STEP 3 — BOOKING FORM
───────────────────────────────────────────────────────────── */
.form-right {
    padding-top: calc(var(--sp) * 5);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: calc(var(--sp) * 1.5);
    max-width: calc(100% - 25px);
}

.form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--sp) * 1.5);
}

.form-group {
    width: 100%;
}

/* Inputs & textarea */
.form-input {
    width: 100%;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--r-sm);
    padding: 14px 16px;
    font-size: 0.9rem;
    color: var(--color-text);
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: var(--color-text-muted);
}

.form-input:focus {
    border-color: rgba(255, 255, 255, 0.35);
    background: var(--color-surface-3);
}

/* Remove number spinner */
.form-input[type="number"] {
    -moz-appearance: textfield;
}

.form-input[type="number"]::-webkit-inner-spin-button,
.form-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.form-textarea {
    resize: vertical;
    min-height: 90px;
}

/* Radio group */
.radio-group {
    display: flex;
    align-items: center;
    gap: calc(var(--sp) * 2.5);
    flex-wrap: wrap;
}

.radio-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--color-text);
    user-select: none;
}

.radio-opt input[type="radio"] {
    display: none;
}

.radio-ring {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s;
    position: relative;
}

.radio-opt input[type="radio"]:checked+.radio-ring {
    border-color: var(--color-text);
}

.radio-opt input[type="radio"]:checked+.radio-ring::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-text);
}

.radio-group-desc {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    margin-left: auto;
}

/* Address input */
.form-section-label {
    font-size: 0.78rem;
    font-weight: var(--fw-medium);
    color: var(--color-text-secondary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: calc(var(--sp) * 0.5) 0 2px;
}

.address-group {
    position: relative;
    display: flex;
    align-items: center;
}

.address-icon {
    position: absolute;
    left: 14px;
    color: var(--color-text-secondary);
    pointer-events: none;
    flex-shrink: 0;
}

.address-input {
    padding-left: 40px;
}

/* Submit button */
.form-submit-row {
    margin-top: calc(var(--sp) * 1.5);
}

.reserve-btn {
    width: 100%;
    padding: 15px 28px;
    background: var(--color-text);
    color: var(--color-bg);
    border-radius: var(--r-sm);
    font-size: 0.95rem;
    font-weight: var(--fw-semi);
    letter-spacing: -0.01em;
    text-align: center;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s,
        transform 0.15s var(--ease-out),
        box-shadow 0.2s;
}

.reserve-btn:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.12);
}

.reserve-btn:active {
    transform: translateY(0);
}


/* ─────────────────────────────────────────────────────────────
   10  STEP 4 — CONFIRMATION
───────────────────────────────────────────────────────────── */
.confirmation-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--sp) * 6) calc(var(--sp) * 4);
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    gap: calc(var(--sp) * 3);
}

/* Icon ring */
.conf-icon-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid var(--color-border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    position: relative;
    flex-shrink: 0;
    margin-bottom: calc(var(--sp));
}

/* Decorative dots */
.conf-icon-ring::before,
.conf-icon-ring::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-border-strong);
}

.conf-icon-ring::before {
    top: 4px;
    right: 8px;
}

.conf-icon-ring::after {
    bottom: 4px;
    left: 8px;
}

.conf-title {
    font-size: 1.65rem;
    font-weight: var(--fw-semi);
    letter-spacing: -0.025em;
    line-height: 1.25;
    color: var(--color-text);
    max-width: 500px;
}

.conf-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 480px;
}

/* Summary box */
.conf-summary {
    border: 1px solid var(--color-border-strong);
    border-radius: var(--r-lg);
    padding: calc(var(--sp) * 3) calc(var(--sp) * 4);
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: calc(var(--sp) * 2);
    text-align: left;
}

.conf-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.conf-row svg {
    flex-shrink: 0;
    opacity: 0.65;
}

/* Calendar add buttons */
.conf-cal-buttons {
    display: flex;
    gap: calc(var(--sp) * 1.5);
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 560px;
}

.conf-cal-btn {
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--r-sm);
    font-size: 0.875rem;
    font-weight: var(--fw-medium);
    color: var(--color-text);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.conf-cal-btn:hover {
    background: var(--color-surface-3);
    border-color: rgba(255, 255, 255, 0.25);
}

.cal-btn-icon {
    display: flex;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

/* New booking button */
.conf-new-booking-btn {
    font-size: 0.85rem;
    font-weight: var(--fw-medium);
    color: var(--color-text-secondary);
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    background: transparent;
    margin-top: calc(var(--sp));
}

.conf-new-booking-btn:hover {
    color: var(--color-text);
    border-color: var(--color-border-strong);
}


/* ─────────────────────────────────────────────────────────────
   11  SHARED UTILITY CLASSES
───────────────────────────────────────────────────────────── */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Search no-results */
.no-results {
    grid-column: 1 / -1;
    padding: calc(var(--sp) * 6) 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--fleet-text-sec);
}



/* 16 april css */
.rates-disclaimer p {
    font-family: Poppins, "helvetic nuuw, sans-serif";
    color: #ca8a04;
    font-size: 14px;
}

.rates-card-header h2 {
    font-size: 24px;
    font-family: Poppins, "helvetic nuuw, sans-serif";
}

.rates-card-body h3 {
    font-family: Poppins, "helvetic nuuw, sans-serif";
    font-size: 16px;
}

.rate-row span {
    font-family: Poppins, "helvetic nuuw, sans-serif";
    font-size: 14px;
}

.search-wrapper {
    margin-bottom: 20px;
}

.search-wrapper input {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 9px 16px 9px 38px;
    width: 30%;
    box-shadow: 0 1px 2px #1018280d;
    background: #fff;
}

.duration-radio::after {
    content: "\f017";
    font-family: 'FontAwesome';
    width: auto;
    height: auto;
    border-radius: 0;
    font-size: 16px;
}

.fleet-brand {
    color: #101828;
    font-size: 25px;
    font-family: "Roboto", sans-serif;
    font-style: normal;
    font-weight: 500;
}

.split-left .split-description {
    margin-top: 0;
    font-size: 14px;
    font-weight: 400;
    font-family: "Inter", sans-serif;
    /* color: #d6d6d699; */
}

.card-body h3 {
    font-size: 16px;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    color: #101828;
}

/* 17 april css */
.split-brand {
    font-size: 14px;
    color: #fcfcfd99;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    text-transform: unset;
    letter-spacing: 0;
    margin: 10px 0 0;
}

/* 17 new css Start */
.booking-iframe-wrap .vehicle-card {
    padding: 16px;
    gap: 20px;
}

.booking-iframe-wrap .vehicle-card .card-body {
    padding: 0;
}

.booking-iframe-wrap .vehicle-card .card-body .card-desc {
    -webkit-line-clamp: 2;
    max-height: 42px;
}

.booking-iframe-wrap .vehicle-card .card-body  .card-duration {
    margin-top: auto;
    padding-top: 8px;
}

.booking-iframe-wrap .card-img-wrap {
    border-radius: 8px;
}

#step-confirmation {
    min-height: 1px;
    max-width: 1200px;
    border: 1px solid #fcfcfd33;
}

#step-confirmation .confirmation-wrap {
    min-height: 1px;
    max-width: 100%;
}

#step-confirmation .conf-cal-btn {
    white-space: nowrap;
}

#step-confirmation .confirmation-wrap .conf-subtitle {
    max-width: 960px;
}

/* 17 new css End */

/* ─────────────────────────────────────────────────────────────
   12  RESPONSIVE
───────────────────────────────────────────────────────────── */
/* @media (min-width: 1024px) {
    .fleet-grid {
        grid-template-columns: repeat(3, 1fr);
    }
} */
/* ── Tablet: ≤ 960px ── */
@media (max-width: 960px) {

    /* Fleet: 2 columns → 1 column */
    .fleet-grid {
        grid-template-columns: 1fr;
    }

    .fleet-grid .vehicle-card:last-child:nth-child(odd) {
        grid-column: auto;
        max-width: 100%;
    }

    /* Split layout: side-by-side → stacked */
    .split-layout {
        grid-template-columns: 1fr;
    }

    .split-left {
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: calc(var(--sp) * 3.5) calc(var(--sp) * 3);
    }

    .split-description {
        display: none;
    }

    /* Calendar + timeslots: side-by-side still, slightly narrower */
    .cal-timeslot-grid {
        display: grid;
        grid-template-columns: 1fr 315px;
        gap: calc(var(--sp) * 4);
        align-items: start;
    }

    .timeslots-panel {
        height: 380px;
    }
}

/* ── Mobile: ≤ 640px ── */
@media (max-width: 640px) {

    .fleet-container {
        padding: calc(var(--sp) * 3) calc(var(--sp) * 2.5) calc(var(--sp) * 6);
    }

    .fleet-header {
        flex-direction: column;
        align-items: flex-start;
        gap: calc(var(--sp) * 1.5);
    }

    .search-input {
        width: 100%;
    }

    .search-wrapper input {
        width: 100%;
    }

    .search-wrapper {
        width: 100%;
    }

    .card-img-wrap {
        flex: 0 0 120px;
    }

    .split-right {
        padding: calc(var(--sp) * 3) calc(var(--sp) * 2.5);
        padding-right: 0;
    }

    .section-heading {
        font-size: 1.1rem;
        margin-bottom: calc(var(--sp) * 2.5);
    }

    /* Calendar + timeslots: fully stacked on mobile */
    .cal-timeslot-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--sp) * 3);
    }

    .timeslots-panel {
        height: auto;
        max-height: 260px;
    }

    .timeslots-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: calc(var(--sp));
    }

    .timeslot-btn {
        font-size: 0.8rem;
        padding: 10px 6px;
    }

    /* Form */
    .form-row.two-col {
        grid-template-columns: 1fr;
    }

    /* Confirmation */
    .conf-title {
        font-size: 1.3rem;
    }

    .conf-cal-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .conf-cal-btn {
        min-width: auto;
    }
}

/* ── Extra-small: ≤ 380px ── */
@media (max-width: 380px) {
    .card-img-wrap {
        flex: 0 0 100px;
    }

    .card-title {
        font-size: 0.9rem;
    }

    .split-vehicle-name {
        font-size: 1.25rem;
    }

    .timeslots-list {
        grid-template-columns: repeat(2, 1fr);
    }
}