/* ══════════════════════════════════════════════════════════════════════════
   Booking flow — shared design system
   Pages : reservation.php, options.php, verification.php, paiement.php
   Aligné visuellement avec paiementreturn.php
   ══════════════════════════════════════════════════════════════════════════ */

:root {
    --bk-red: #c40018;
    --bk-red-dark: #900010;
    --bk-dark: #111;
    --bk-bg: #f4f4f4;
    --bk-card: #fff;
    --bk-muted: #888;
    --bk-border: #e5e5e5;
    --bk-shadow: 0 2px 16px rgba(0, 0, 0, .09);
    --bk-shadow-hover: 0 6px 24px rgba(0, 0, 0, .15);
    --bk-radius: 14px;
    --bk-radius-lg: 16px;
}

/* ── Base layout ─────────────────────────────────────────────────────── */
body.bk-page {
    background: var(--bk-bg);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.bk-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 72px;
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.bk-hero {
    background: linear-gradient(135deg, var(--bk-dark) 0%, var(--bk-red) 100%);
    color: #fff;
    padding: 120px 20px 56px;
    text-align: center;
    position: relative;
}
.bk-hero h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #fff;
    letter-spacing: -.5px;
}
.bk-hero p {
    font-size: 1.9rem;
    opacity: .85;
    margin: 0;
    font-weight: 400;
}
@media (max-width: 768px) {
    .bk-hero { padding: 100px 16px 40px; }
    .bk-hero h1 { font-size: 2.8rem; }
    .bk-hero p { font-size: 1.6rem; }
}

/* ── Progressbar moderne ─────────────────────────────────────────────── */
.bk-steps {
    max-width: 720px;
    margin: 28px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}
.bk-steps::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: rgba(255, 255, 255, .25);
    z-index: 0;
}
.bk-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    color: rgba(255, 255, 255, .6);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.bk-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    border: 2px solid rgba(255, 255, 255, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    transition: all .3s;
}
.bk-step--active { color: #fff; }
.bk-step--active .bk-step-num {
    background: #fff;
    color: var(--bk-red);
    border-color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}
.bk-step--done { color: rgba(255, 255, 255, .9); }
.bk-step--done .bk-step-num {
    background: rgba(255, 255, 255, .9);
    color: var(--bk-red);
    border-color: rgba(255, 255, 255, .9);
}
.bk-step--done .bk-step-num::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}
.bk-step--done .bk-step-num span { display: none; }
@media (max-width: 560px) {
    .bk-steps { max-width: 100%; }
    .bk-step { font-size: 1rem; }
    .bk-step-num { width: 36px; height: 36px; font-size: 1.3rem; }
    .bk-steps::before { top: 18px; }
}

/* ── Section title ───────────────────────────────────────────────────── */
.bk-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--bk-red);
    display: inline-block;
    text-shadow: none;
}

/* ── Recap bar (dates + agences) ─────────────────────────────────────── */
.bk-recap {
    background: var(--bk-card);
    border-radius: var(--bk-radius);
    box-shadow: var(--bk-shadow);
    padding: 20px 28px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.bk-recap-group {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 260px;
}
.bk-recap-dot {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.bk-recap-dot--dep { background: #eaf5ea; color: #27ae60; }
.bk-recap-dot--ret { background: #fde9e9; color: var(--bk-red); }
.bk-recap-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bk-recap-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    font-weight: 700;
}
.bk-recap-val {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--bk-dark);
}
.bk-recap-sub {
    font-size: 1.3rem;
    color: var(--bk-muted);
}
.bk-recap-sub i { color: var(--bk-red); margin-right: 4px; }
.bk-recap-edit {
    background: #f7f7f7;
    color: var(--bk-red);
    border: 1px solid var(--bk-border);
    border-radius: 24px;
    padding: 8px 18px;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .2s;
    cursor: pointer;
}
.bk-recap-edit:hover {
    background: var(--bk-red);
    color: #fff;
    border-color: var(--bk-red);
    text-decoration: none;
}
@media (max-width: 768px) {
    .bk-recap { padding: 16px 18px; }
    .bk-recap-group { min-width: 100%; }
    .bk-recap-val { font-size: 1.5rem; }
}

/* ── Vehicle card (grid & recap) ─────────────────────────────────────── */
.bk-veh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}
.bk-veh-card {
    background: var(--bk-card);
    border-radius: var(--bk-radius-lg);
    box-shadow: var(--bk-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .25s;
}
.bk-veh-card:hover {
    box-shadow: var(--bk-shadow-hover);
    transform: translateY(-4px);
}
.bk-veh-card.is-unavailable {
    opacity: .55;
    filter: grayscale(40%);
}
.bk-veh-card.is-unavailable:hover { transform: none; box-shadow: var(--bk-shadow); }

.bk-veh-photo {
    background: linear-gradient(135deg, #f7f7f7 0%, #eee 100%);
    padding: 32px 24px 16px;
    text-align: center;
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bk-veh-photo img {
    max-height: 150px;
    max-width: 95%;
    object-fit: contain;
}
.bk-veh-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--bk-red);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.bk-veh-badge--promo {
    background: #27ae60;
}

.bk-veh-body {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.bk-veh-cat {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--bk-red);
    margin-bottom: 4px;
}
.bk-veh-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--bk-dark);
    line-height: 1.2;
    margin-bottom: 4px;
}
.bk-veh-name .similar {
    display: block;
    font-size: 1.1rem;
    color: var(--bk-muted);
    font-weight: 400;
    margin-top: 2px;
}

.bk-veh-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 4px;
    padding: 14px 0;
    margin: 12px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
.bk-veh-spec {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.2rem;
    color: #555;
}
.bk-veh-spec img { width: 22px; height: 22px; opacity: .7; }

.bk-veh-price {
    text-align: right;
    margin: auto 0 14px;
}
.bk-veh-price-old {
    font-size: 1.3rem;
    color: var(--bk-muted);
    text-decoration: line-through;
    margin-right: 6px;
}
.bk-veh-price-off {
    background: #27ae60;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
}
.bk-veh-price-main {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--bk-dark);
    line-height: 1;
    margin-top: 4px;
}
.bk-veh-price-eur {
    font-size: 1.2rem;
    color: var(--bk-muted);
    font-style: italic;
    margin-top: 2px;
}

.bk-veh-unavailable {
    text-align: center;
    padding: 12px;
    color: var(--bk-muted);
    font-size: 1.3rem;
    font-style: italic;
}

.bk-veh-btn {
    width: 100%;
    background: linear-gradient(to right, var(--bk-dark), var(--bk-red));
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px 16px;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity .2s;
}
.bk-veh-btn:hover { opacity: .88; color: #fff; }
.bk-veh-btn i { font-size: 1.3rem; }

/* ── Recap card véhicule compact (options/verif/paiement) ────────────── */
.bk-veh-recap {
    background: #fff;
    border-radius: var(--bk-radius);
    box-shadow: var(--bk-shadow);
    padding: 16px 20px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.bk-veh-recap-img {
    width: 120px;
    height: 80px;
    background: #f7f7f7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bk-veh-recap-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bk-veh-recap-info { flex: 1; min-width: 180px; }
.bk-veh-recap-cat {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bk-red);
}
.bk-veh-recap-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bk-dark);
    line-height: 1.2;
}
.bk-veh-recap-sub {
    font-size: 1.3rem;
    color: var(--bk-muted);
}
.bk-veh-recap-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bk-dark);
    white-space: nowrap;
}

/* ── Option rows (options.php) ───────────────────────────────────────── */
.bk-opt-group {
    background: var(--bk-card);
    border-radius: var(--bk-radius);
    box-shadow: var(--bk-shadow);
    margin-bottom: 24px;
    overflow: hidden;
}
.bk-opt-group-header {
    background: linear-gradient(to right, var(--bk-dark) 0%, var(--bk-red) 100%);
    color: #fff;
    padding: 14px 28px;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.bk-opt-group-body { padding: 4px 24px; }

.bk-opt-row {
    display: grid;
    grid-template-columns: 64px 1fr auto auto;
    gap: 20px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f2f2f2;
    transition: background .2s;
}
.bk-opt-row:last-child { border-bottom: none; }
.bk-opt-row.is-active {
    background: #fff8f8;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
}
.bk-opt-row-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.bk-opt-row-icon img { max-width: 36px; max-height: 36px; }
.bk-opt-row-icon i { font-size: 2rem; color: #555; }
.bk-opt-row.is-active .bk-opt-row-icon {
    background: linear-gradient(135deg, #fde9e9, #fff);
    border: 2px solid var(--bk-red);
}
.bk-opt-row.is-active .bk-opt-row-icon i,
.bk-opt-row.is-active .bk-opt-row-icon img { color: var(--bk-red); }

.bk-opt-check {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: var(--bk-red);
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.bk-opt-row.is-active .bk-opt-check { display: flex; }

.bk-opt-desc h4 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--bk-dark);
    margin: 0 0 3px;
}
.bk-opt-desc p {
    font-size: 1.3rem;
    color: var(--bk-muted);
    margin: 0;
    line-height: 1.4;
}
.bk-opt-price {
    text-align: right;
    min-width: 100px;
}
.bk-opt-price-main {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--bk-dark);
    white-space: nowrap;
}
.bk-opt-price-sub {
    font-size: 1.1rem;
    color: var(--bk-muted);
    font-style: italic;
    margin-top: 2px;
}
.bk-opt-select {
    min-width: 100px;
}
.bk-opt-select select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--bk-border);
    border-radius: 8px;
    background: #fff;
    font-size: 1.4rem;
    color: var(--bk-dark);
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c40018' d='M1.41 0L6 4.59 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
.bk-opt-select select:focus {
    outline: none;
    border-color: var(--bk-red);
}
.bk-opt-row.is-active .bk-opt-select select {
    border-color: var(--bk-red);
    background-color: #fff8f8;
}

@media (max-width: 768px) {
    .bk-opt-row {
        grid-template-columns: 48px 1fr;
        grid-template-rows: auto auto;
        gap: 12px;
    }
    .bk-opt-row-icon { width: 48px; height: 48px; }
    .bk-opt-price, .bk-opt-select {
        grid-column: 2;
    }
    .bk-opt-price { text-align: left; }
}

/* ── Included / inclus ───────────────────────────────────────────────── */
.bk-included {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .bk-included { grid-template-columns: repeat(2, 1fr); }
}
.bk-included-item {
    background: var(--bk-card);
    border-radius: var(--bk-radius);
    box-shadow: var(--bk-shadow);
    padding: 24px 18px;
    text-align: center;
}
.bk-included-item i {
    font-size: 2.8rem;
    color: var(--bk-red);
    margin-bottom: 10px;
}
.bk-included-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bk-dark);
    margin: 0 0 4px;
}
.bk-included-item p {
    font-size: 1.2rem;
    color: var(--bk-muted);
    margin: 0;
    line-height: 1.4;
}
.bk-included-full {
    background: var(--bk-card);
    border-left: 5px solid var(--bk-red);
    border-radius: var(--bk-radius);
    box-shadow: var(--bk-shadow);
    padding: 24px 32px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.bk-included-full i {
    font-size: 3.4rem;
    color: var(--bk-red);
    flex-shrink: 0;
}
.bk-included-full h4 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--bk-dark);
    margin: 0 0 6px;
}
.bk-included-full p {
    font-size: 1.4rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* ── Sticky cart (options.php) ───────────────────────────────────────── */
.bk-cart {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, .12);
    border-top: 3px solid var(--bk-red);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    z-index: 10;
    margin: 32px -24px -72px;
}
.bk-cart-summary {
    flex: 1;
    min-width: 240px;
}
.bk-cart-label {
    font-size: 1.2rem;
    color: var(--bk-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.bk-cart-detail {
    font-size: 1.3rem;
    color: #555;
    margin-top: 2px;
}
.bk-cart-total {
    text-align: right;
}
.bk-cart-total-label {
    font-size: 1.3rem;
    color: var(--bk-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.bk-cart-total-val {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--bk-red);
    line-height: 1;
    margin-top: 2px;
}
.bk-cart-btn {
    background: linear-gradient(to right, var(--bk-dark), var(--bk-red));
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: opacity .2s;
}
.bk-cart-btn:hover { opacity: .88; color: #fff; }

/* ── Price table (verif/paiement) ────────────────────────────────────── */
.bk-price-card {
    background: var(--bk-card);
    border-radius: var(--bk-radius);
    box-shadow: var(--bk-shadow);
    overflow: hidden;
    margin-bottom: 28px;
}
.bk-price-header {
    background: linear-gradient(to right, var(--bk-dark) 0%, var(--bk-red) 100%);
    color: #fff;
    padding: 16px 28px;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.bk-price-body { padding: 8px 28px 20px; }
.bk-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    font-size: 1.5rem;
    color: #444;
}
.bk-price-row + .bk-price-row { border-top: 1px solid #f0f0f0; }
.bk-price-row-val { font-weight: 600; white-space: nowrap; }
.bk-price-row--total {
    border-top: 2px solid var(--bk-border) !important;
    margin-top: 4px;
    padding-top: 16px;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--bk-dark);
}
.bk-price-row--total .bk-price-row-val {
    color: var(--bk-red);
    font-size: 2.1rem;
}
.bk-price-note {
    text-align: right;
    font-size: 1.1rem;
    color: #aaa;
    margin-top: 4px;
}

/* ── Payment choice cards (verification.php) ─────────────────────────── */
.bk-pay-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 28px;
    margin-bottom: 28px;
}
@media (max-width: 768px) {
    .bk-pay-choice { grid-template-columns: 1fr; }
}
.bk-pay-card {
    background: var(--bk-card);
    border-radius: var(--bk-radius);
    box-shadow: var(--bk-shadow);
    padding: 28px 28px;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    transition: all .2s;
}
.bk-pay-card:hover {
    border-color: var(--bk-red);
    box-shadow: var(--bk-shadow-hover);
    transform: translateY(-4px);
}
.bk-pay-card--discount { border-color: var(--bk-red); position: relative; }
.bk-pay-card--discount::before {
    content: 'Meilleure offre';
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(to right, var(--bk-dark), var(--bk-red));
    color: #fff;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.bk-pay-icon {
    font-size: 3rem;
    color: var(--bk-red);
    margin-bottom: 12px;
}
.bk-pay-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bk-dark);
    margin: 0 0 4px;
}
.bk-pay-discount {
    font-size: 1.4rem;
    color: #27ae60;
    font-weight: 700;
    margin-bottom: 12px;
}
.bk-pay-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bk-red);
    margin: 12px 0 4px;
    line-height: 1;
}
.bk-pay-amount-sub {
    font-size: 1.2rem;
    color: var(--bk-muted);
    margin-bottom: 14px;
}
.bk-pay-desc {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}
.bk-pay-btn {
    background: linear-gradient(to right, var(--bk-dark), var(--bk-red));
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: opacity .2s;
    width: 100%;
}
.bk-pay-btn:hover { opacity: .88; color: #fff; }
.bk-pay-btn--outline {
    background: #fff;
    color: var(--bk-red);
    border: 2px solid var(--bk-red);
}
.bk-pay-btn--outline:hover {
    background: var(--bk-red);
    color: #fff;
    opacity: 1;
}

/* ── Form (paiement.php) ─────────────────────────────────────────────── */
.bk-form {
    background: var(--bk-card);
    border-radius: var(--bk-radius);
    box-shadow: var(--bk-shadow);
    padding: 32px 36px;
    margin-bottom: 24px;
}
.bk-form-section {
    margin-bottom: 28px;
}
.bk-form-section:last-child { margin-bottom: 0; }
.bk-form-section h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--bk-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bk-red);
    display: inline-block;
}
.bk-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
}
.bk-form-grid--full > .bk-form-field { grid-column: 1 / -1; }
@media (max-width: 640px) { .bk-form-grid { grid-template-columns: 1fr; } }

.bk-form-field { display: flex; flex-direction: column; }
.bk-form-field.is-full { grid-column: 1 / -1; }
.bk-form-field label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 5px;
}
.bk-form-field label.is-error { color: var(--bk-red); }
/* ──────────────────────────────────────────────────────────────────────
   Champs de formulaire (.bk-form-field) — section consolidée
   ──────────────────────────────────────────────────────────────────────
   Style unique pour input / textarea / select / input[type=date] dans
   tous les contextes booking (modale, autres pages). Tout est groupé
   ici pour éviter les overrides éparpillés et la cascade compliquée.

   Variables CSS clés :
     - taille texte : 1.3rem
     - hauteur cible : 40px (= padding 8+8 + font ~24px)
     - bordure : --bk-border, focus : --bk-red

   Hacks navigateurs nécessaires :
     - <input type=date> : Chrome n'hérite pas du font-size sur le
       widget interne (shadow DOM). On le force via ::-webkit-datetime-edit-*.
     - <select> : flèche native moche. On la cache (appearance: none)
       et on dessine un chevron SVG en background.
   ────────────────────────────────────────────────────────────────────── */

/* Conteneur d'un champ */
.bk-form-field input,
.bk-form-field textarea,
.bk-form-field select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--bk-border);
    border-radius: 8px;
    font-size: 1.3rem;
    line-height: 1;
    color: var(--bk-dark);
    background: #fff;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}

/* Hauteur uniforme + reset apparence native pour les contrôles HTML5
   qui ont leur propre rendering (date, select). */
.bk-form-field input[type="date"],
.bk-form-field select {
    height: 40px;
    min-width: 0;
    appearance: none;
    -webkit-appearance: none;
}

/* <input type="date"> : forcer le font-size sur le shadow DOM interne
   (sans ça Chrome rend la date plus petite que les <select>). */
.bk-form-field input[type="date"]::-webkit-datetime-edit,
.bk-form-field input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.bk-form-field input[type="date"]::-webkit-datetime-edit-text,
.bk-form-field input[type="date"]::-webkit-datetime-edit-year-field,
.bk-form-field input[type="date"]::-webkit-datetime-edit-month-field,
.bk-form-field input[type="date"]::-webkit-datetime-edit-day-field {
    font: inherit;
    color: inherit;
    line-height: 1;
}
/* Icône calendrier discrète, pleine opacité au hover */
.bk-form-field input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: .55;
    filter: grayscale(.3);
    margin-left: 4px;
}
.bk-form-field input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* <select> : chevron SVG custom (la flèche native est masquée par
   appearance:none plus haut). */
.bk-form-field select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 6 8 10 12 6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

/* États focus / error */
.bk-form-field input:focus,
.bk-form-field textarea:focus,
.bk-form-field select:focus {
    outline: none;
    border-color: var(--bk-red);
    box-shadow: 0 0 0 3px rgba(196, 0, 24, .1);
}
.bk-form-field.is-error input,
.bk-form-field.is-error textarea,
.bk-form-field.is-error select {
    border-color: var(--bk-red);
    background: #fff8f8;
}

.bk-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    font-size: 1.4rem;
}
.bk-form-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--bk-red);
    cursor: pointer;
}
.bk-form-checkbox label { cursor: pointer; color: #444; }
.bk-form-checkbox label.is-error { color: var(--bk-red); }

/* ── CTA principal réutilisable (.bk-cta) ────────────────────────────
   Bouton d'action primaire harmonisé (gradient noir → rouge avis,
   uppercase, icône + flèche au hover). Réutilisable sur toutes les
   pages booking + vad.php + ailleurs.
   Variantes :
     - .bk-cta--block     : pleine largeur
     - .bk-cta--outline   : version outline (gris)
*/
.bk-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(to right, var(--bk-dark), var(--bk-red));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px 24px;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0,0,0,.15);
    transition: opacity .2s, transform .2s, box-shadow .2s;
}
.bk-cta:hover,
.bk-cta:focus {
    opacity: .94;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,.22);
    color: #fff;
    text-decoration: none;
}
.bk-cta i { transition: transform .2s; }
.bk-cta:hover i { transform: translateX(4px); }
.bk-cta--block { display: flex; width: 100%; }
.bk-cta--outline {
    background: transparent;
    color: var(--bk-dark);
    border: 2px solid var(--bk-border);
    box-shadow: none;
}
.bk-cta--outline:hover {
    border-color: var(--bk-dark);
    color: var(--bk-dark);
    background: #fafafa;
    box-shadow: 0 3px 8px rgba(0,0,0,.08);
}

/* ── Alertes unifiées (.bk-alert) ────────────────────────────────────── */
/* Une classe pour TOUS les messages d'erreur / avertissement / confirmation
   du flow de réservation : modale, bandeau plein-largeur, panneau inline.
   3 variantes : --error / --warning / --success.
   Ajouter --banner pour la version sticky pleine largeur (au-dessus de la
   navbar). */
.bk-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid;
    margin: 12px 0;
    font-size: 1rem;
    line-height: 1.5;
}
.bk-alert__icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1.5;
}
.bk-alert__body { flex: 1; }
.bk-alert__title {
    display: block;
    font-weight: 700;
    margin-bottom: 4px;
}
.bk-alert__actions {
    display: flex;
    gap: 14px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.bk-alert__btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: .9rem;
    border: 1.5px solid;
    cursor: pointer;
    background: transparent;
}
.bk-alert__btn:hover { text-decoration: none; }

/* Variants */
.bk-alert--error    { background: #fdebec; border-color: #c40018; color: #870010; }
.bk-alert--warning  { background: #fff8e1; border-color: #ffa000; color: #6b3a00; }
.bk-alert--success  { background: #e8f5e9; border-color: #2e7d32; color: #1b5e20; }

.bk-alert--error   .bk-alert__btn { border-color: #c40018; color: #c40018; }
.bk-alert--error   .bk-alert__btn:hover { background: #c40018; color: #fff; }
.bk-alert--warning .bk-alert__btn { border-color: #c47700; color: #6b3a00; }
.bk-alert--warning .bk-alert__btn:hover { background: #c47700; color: #fff; }
.bk-alert--success .bk-alert__btn { border-color: #2e7d32; color: #2e7d32; }
.bk-alert--success .bk-alert__btn:hover { background: #2e7d32; color: #fff; }

/* Banner sticky : pleine largeur, en haut, par-dessus la navbar */
.bk-alert--banner {
    margin: 0;
    border-radius: 0;
    border: none;
    border-bottom: 3px solid;
    padding: 16px 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    position: sticky;
    top: 0;
    z-index: 99999;
    justify-content: center;
    text-align: center;
}
.bk-alert--banner.bk-alert--error   { background: #c40018; color: #fff; border-bottom-color: #870010; }
.bk-alert--banner.bk-alert--error a { color: #fff; text-decoration: underline; font-weight: 600; }
.bk-alert--banner.bk-alert--error .bk-alert__btn { border-color: #fff; color: #fff; }
.bk-alert--banner.bk-alert--error .bk-alert__btn:hover { background: #fff; color: #c40018; }

/* ── Modal (reservation.php) ─────────────────────────────────────────── */
.bk-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    z-index: 99999;            /* au-dessus du widget Crisp (~ 9999) */
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    /* Reset au cas où un vieux CSS legacy (style.css / reservation.css)
       imposait visibility:hidden via le sélecteur #modifdateresa */
    visibility: visible;
}
.bk-modal.is-open { display: flex; visibility: visible; }

/* Le dropdown du timepicker (jquery.timepicker) a z-index:10001 par défaut
   → il apparaissait DERRIÈRE la modale .bk-modal qui est à 99999. On le
   passe au-dessus pour qu'il reste utilisable depuis l'intérieur de la
   modale "Modifier le trajet". Idem pour le datepicker jQuery UI. */
.ui-timepicker-wrapper { z-index: 100001 !important; }
.ui-datepicker         { z-index: 100001 !important; }
.bk-modal-box {
    background: #fff;
    border-radius: 14px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;        /* élimine le scroll horizontal parasite quand
                                  un input natif a une largeur intrinsèque
                                  qui dépasse de quelques pixels */
    padding: 16px 18px 18px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
    box-sizing: border-box;
}
/* (box-sizing border-box est déjà sur .bk-form-field input/textarea/select
   dans la section consolidée plus haut — pas besoin de le redéfinir ici.
   On garde juste max-width: 100% en filet de sécurité pour les boutons
   et autres éléments éventuels qui ne sont pas .bk-form-field) */
.bk-modal-box button { max-width: 100%; }
.bk-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f3f3f3;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.15rem;
    color: #555;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bk-modal-close:hover { background: var(--bk-red); color: #fff; }
.bk-modal h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bk-dark);
    margin: 0 0 10px;
}
.bk-modal-sub { display: none; }
.bk-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.bk-modal-col {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 10px 10px 11px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #eee;
}
.bk-modal-col-title {
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bk-dark);
    display: flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 1px;
}
/* Override label dans la modale : plus compact (label sur 1 ligne au-dessus
   du champ), pas en uppercase. Affecte uniquement les labels de la modale,
   pas les autres pages booking. */
.bk-modal .bk-form-field label {
    font-size: 1rem;
    margin-bottom: 2px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}
/* (Bloc .bk-modal .bk-form-field input retiré : il sur-contraignait les
   inputs uniquement — pas les <select> ni input[type=date] — créant une
   incohérence visuelle entre les types de champs. Les valeurs uniformes
   sont définies plus haut dans la section ".bk-form-field input/textarea/
   select" consolidée.) */
@media (max-width: 640px) { .bk-modal-grid { grid-template-columns: 1fr; } }

.bk-radio-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.bk-radio-group input[type=radio] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.bk-radio-group label {
    padding: 4px 12px;
    border: 1.5px solid var(--bk-border);
    border-radius: 18px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all .2s;
    font-size: 1.05rem;
    background: #fff;
}
.bk-radio-group label:hover {
    border-color: var(--bk-red);
    color: var(--bk-red);
    background: #fff5f6;
}
.bk-radio-group input[type=radio]:checked + label {
    background: linear-gradient(to right, var(--bk-dark), var(--bk-red));
    color: #fff;
    border-color: transparent;
}
.bk-radio-group input[type=radio]:checked + label:hover {
    opacity: .9;
    color: #fff;
}
.bk-modal-submit {
    width: 100%;
    background: linear-gradient(to right, var(--bk-dark), var(--bk-red));
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-top: 10px;
    transition: opacity .2s;
}
.bk-modal-submit:hover { opacity: .88; }
.bk-modal-err {
    background: #fde9e9;
    border-left: 4px solid var(--bk-red);
    color: #7a0010;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 1.3rem;
}

/* ── Alert banners ───────────────────────────────────────────────────── */
.bk-banner {
    background: #eaf5ea;
    border-left: 5px solid #27ae60;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 1.4rem;
    color: #1e5c28;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.bk-banner--info {
    background: #e6f3fa;
    border-left-color: #2980b9;
    color: #1b4d6b;
}
.bk-banner--warn {
    background: #fff4e0;
    border-left-color: #d98000;
    color: #7a4a00;
}

/* ── CGU link ────────────────────────────────────────────────────────── */
.bk-cgu {
    text-align: center;
    margin-top: 28px;
    font-size: 1.3rem;
}
.bk-cgu a {
    color: var(--bk-red);
    text-decoration: underline;
}
.bk-cgu a:hover { color: var(--bk-red-dark); }

/* ── Loading overlay (existing #Loading compatibility) ───────────────── */
.bk-loading {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, .92);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bk-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(196, 0, 24, .15);
    border-top-color: var(--bk-red);
    border-radius: 50%;
    animation: bk-spin .8s linear infinite;
}
@keyframes bk-spin { to { transform: rotate(360deg); } }
