/* ── Booking Card / Fare Estimator — shared styles ────────────────────────────
   Loaded on homepage (home.css imports these) and pricing page (standalone).
   ─────────────────────────────────────────────────────────────────────────── */

.booking-card {
    background: var(--white);
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    min-width: 0;
    width: 100%;
}
.booking-card-header {
    background: var(--navy);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 4px 4px 0 0;
}
.booking-card-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.03em;
}
.booking-card-badge {
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 100px;
    padding: 4px 10px;
}
.booking-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}
.b-tab {
    flex: 1;
    min-width: 0;
    padding: 13px 6px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    margin-bottom: -1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}
.b-tab.active,
.b-tab[aria-selected="true"] {
    color: var(--gold);
    border-bottom-color: var(--gold);
}
.b-tab:hover { color: var(--navy); }

.booking-body { padding: 20px 24px 24px; }
.b-field { margin-bottom: 14px; }
.b-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 7px;
}
.b-input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.b-input-group:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
}
.b-input-group .b-input {
    border: none;
    border-radius: 0;
    box-shadow: none !important;
    flex: 1;
    min-width: 0;
}
.b-input-group .b-input:focus { outline: none; }
.b-loc-btn {
    flex-shrink: 0;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(224,60,49,0.06);
    border: none;
    border-left: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}
.b-loc-btn:hover { background: rgba(224,60,49,0.14); }
.b-loc-btn:disabled { opacity: 0.4; cursor: default; }
.b-loc-btn svg { display: block; }
.b-input {
    width: 100%;
    min-height: 44px; /* WCAG touch target minimum */
    padding: 10px 13px;
    border: 1px solid var(--border);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-dark);
    background: var(--off-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}
.b-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.12);
    background: var(--white);
}
select.b-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888880' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
    cursor: pointer;
}
input[type="date"].b-input,
input[type="time"].b-input { cursor: pointer; }
.b-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .b-row-2 { grid-template-columns: 1fr; } }
.b-tab-content { display: none; }
.b-tab-content.active { display: block; }
.b-select {
    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 d='M1 1l5 5 5-5' stroke='%231A3A52' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 36px; cursor: pointer;
}
.b-add-stop-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    padding: 9px 14px;
    margin-bottom: 10px;
    background: rgba(212,175,55,0.07);
    border: 1.5px dashed rgba(212,175,55,0.6);
    border-radius: 7px;
    color: #b8921e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    text-align: left;
}
.b-add-stop-btn svg { flex-shrink: 0; stroke: #b8921e; }
.b-add-stop-btn:hover { background: rgba(212,175,55,0.14); border-color: #D4AF37; color: #96740f; }
.b-add-stop-price { margin-left: auto; font-size: 11px; opacity: 0.7; font-weight: 400; }
.b-stop-field { margin-bottom: 8px; cursor: default; transition: opacity 0.2s; }
.b-stop-field.drag-over { outline: 1px dashed rgba(212,175,55,0.6); border-radius: 6px; }
.b-stop-field[draggable="true"] { cursor: grab; }
.b-stop-input { flex: 1 1 0% !important; width: auto !important; min-width: 0 !important; }
.b-drag-handle { flex-shrink: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,0.3); cursor: grab; user-select: none; }
.b-drag-handle:hover { color: #D4AF37; }
.b-remove-stop-btn { flex-shrink: 0; width: 28px !important; height: 28px !important; display: inline-flex !important; align-items: center; justify-content: center; background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.15); border-radius: 50%; cursor: pointer; color: rgba(0,0,0,0.4); padding: 0; }
.b-remove-stop-btn:hover { background: rgba(212,175,55,0.15); border-color: rgba(212,175,55,0.5); color: #D4AF37; }
.b-price-preview {
    background: var(--gold-pale); border: 1px solid rgba(212,175,55,0.3);
    border-radius: 4px; padding: 14px 18px; margin: 14px 0; text-align: center;
}
.b-price-label { font-family: var(--font-ui); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.b-price-value { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.b-price-note { font-family: var(--font-ui); font-size: 10px; color: var(--text-muted); margin-top: 4px; }
.b-distance-row {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-ui); font-size: 12px; font-weight: 600;
    color: var(--navy); background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.2); border-radius: 3px;
    padding: 8px 12px; margin: 6px 0;
}
.b-quote-capture { background: rgba(212,175,55,0.06); border: 1px solid rgba(212,175,55,0.2); border-radius: 4px; padding: 12px 14px; margin-top: 8px; }
.b-quote-capture-label { font-family: var(--font-ui); font-size: 11px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; margin-bottom: 8px; }
.b-quote-capture-row { display: flex; gap: 8px; }
.b-quote-email-input { flex: 1; font-size: 13px !important; padding: 9px 12px !important; border-radius: 3px !important; }
.b-quote-send-btn { flex-shrink: 0; background: var(--gold); color: var(--navy-dark); border: none; border-radius: 3px; padding: 9px 16px; font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; cursor: pointer; white-space: nowrap; transition: opacity 0.2s; }
.b-quote-send-btn:hover { opacity: 0.85; }
.b-quote-send-btn:disabled { opacity: 0.5; cursor: default; }
.b-quote-msg { font-family: var(--font-ui); font-size: 11px; margin-top: 6px; min-height: 14px; }
.b-quote-msg--ok  { color: #2d9e6b; }
.b-quote-msg--err { color: #c0392b; }
.b-direction-toggle { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--border); border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.b-dir-btn { padding: 10px; font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.05em; background: none; border: none; cursor: pointer; color: var(--text-muted); transition: all 0.2s; }
.b-dir-btn.active { background: var(--navy); color: var(--white); }
.b-submit-btn {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; width: 100%; margin-top: 4px;
    font-family: var(--font-ui); font-size: 13px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    background: var(--gold); color: var(--navy-dark);
    padding: 16px; border-radius: 2px; transition: all 0.2s; text-decoration: none;
}
.b-submit-btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.hero-late-night-notice {
    display: flex; align-items: flex-start; gap: 9px;
    margin: 10px 0; padding: 10px 14px;
    background: linear-gradient(135deg, #12243a 0%, #1c3251 100%);
    border: 1px solid rgba(212,175,55,0.5); border-left: 3px solid #D4AF37;
    border-radius: 6px; font-family: var(--font-ui, 'Lato', sans-serif);
    font-size: 12px; color: #e8d48a; line-height: 1.55;
}
.hero-late-night-notice svg { flex-shrink: 0; margin-top: 1px; color: #D4AF37; opacity: 0.9; }
.hero-late-night-notice strong { color: #f5e29a; font-weight: 700; letter-spacing: 0.02em; }
.b-vehicle-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.b-vpick-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; padding: 10px 8px; background: #f7f8fa;
    border: 1.5px solid rgba(26,58,82,0.15); border-radius: 8px;
    cursor: pointer; transition: all 0.18s ease; color: rgba(26,58,82,0.55);
    text-align: center; min-height: 76px;
}
.b-vpick-btn svg { flex-shrink: 0; width: 40px; height: 20px; stroke: rgba(26,58,82,0.5); transition: stroke 0.18s, opacity 0.18s; }
.b-vpick-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.03em; color: rgba(26,58,82,0.8); line-height: 1.2; transition: color 0.18s; }
.b-vpick-sub { display: block; font-size: 9px; color: rgba(26,58,82,0.4); letter-spacing: 0.02em; line-height: 1.2; }
.b-vpick-btn:hover { border-color: rgba(212,175,55,0.6); background: rgba(212,175,55,0.06); }
.b-vpick-btn:hover svg { stroke: #D4AF37; }
.b-vpick-btn:hover .b-vpick-label { color: #1A3A52; }
.b-vpick-btn.is-active { border-color: #D4AF37; background: rgba(212,175,55,0.1); }
.b-vpick-btn.is-active svg { stroke: #D4AF37; }
.b-vpick-btn.is-active .b-vpick-label { color: #1A3A52; font-weight: 800; }
.b-vpick-btn.is-active .b-vpick-sub { color: rgba(212,175,55,0.75); }
@media (max-width: 380px) {
    .b-vehicle-picker { gap: 6px; }
    .b-vpick-btn { min-height: 68px; padding: 8px 6px; }
    .b-vpick-label { font-size: 10px; }
    .b-vpick-btn svg { width: 32px; height: 16px; }
}
