/* ============================================================
   DroppMate Booking Wizard  ·  v2
   Two-column reflow: stepped panel + live-price summary aside.
   Visual language matched to the Luxride theme.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Nunito:wght@500;800;900&display=swap');

/* ── Design tokens ─────────────────────────────────────────── */
.dm-booking {
    /* Luxride brand */
    --accent:      #E95440;
    --accent-d:    #d8412d;
    --accent-rgb:  233,84,64;
    --accent-tint: rgba(233,84,64,.07);
    --accent-ring: rgba(233,84,64,.20);

    --ink:    #181A1F;   /* headings */
    --ink-2:  #2c2f37;   /* raised */
    --body:   #5f6169;
    --muted:  #9a9ba3;
    --border: #ededf0;
    --line:   #f0f1f4;
    --bg:     #fafafb;
    --white:  #ffffff;
    --surface:#ffffff;
    --ok:     #1a9d63;
    --danger: #d8412d;

    /* soft, layered elevation */
    --sh-1: 0 1px 2px rgba(24,26,31,.05);
    --sh-2: 0 1px 3px rgba(24,26,31,.05), 0 12px 28px -12px rgba(24,26,31,.12);
    --sh-3: 0 12px 24px -8px rgba(24,26,31,.14), 0 32px 64px -16px rgba(24,26,31,.22);
    --sh-brand: 0 4px 14px -2px rgba(233,84,64,.4);
    --sh-brand-h: 0 8px 22px -4px rgba(233,84,64,.5);

    --r-lg: 18px;
    --r:    14px;
    --r-sm: 10px;

    --ease: .22s cubic-bezier(.4,0,.2,1);
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset within scope ────────────────────────────────────── */
.dm-booking *,
.dm-booking *::before,
.dm-booking *::after { box-sizing: border-box; margin: 0; padding: 0; }

.dm-booking {
    font-family: var(--font);
    color: var(--body);
    /* no backing panel — the card floats on the host page */
    background: transparent;
    -webkit-font-smoothing: antialiased;
    padding: 32px 16px 48px;
    font-size: 14px;
    line-height: 1.5;
}
.dm-booking button { font-family: inherit; }
.dm-booking [hidden] { display: none !important; }

/* tabular figures for prices + timers */
.dm-num { font-variant-numeric: tabular-nums; }

/* ── Shell ─────────────────────────────────────────────────── */
.dm-shell {
    max-width: 720px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-3);
    overflow: hidden;
}

.dm-shell-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--line);
}
.dm-brand {
    display: flex;
    align-items: center;
    gap: 11px;
}
.dm-brand-mark {
    width: 36px; height: 36px;
    border-radius: var(--r-sm);
    background: var(--accent);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.dm-brand-mark svg { width: 20px; height: 20px; }
.dm-brand-text { line-height: 1.25; }
.dm-brand-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.dm-brand-sub   { font-size: 12px; color: var(--muted); }
.dm-step-count  { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.dm-step-count strong { color: var(--ink); }

/* ── Main column ───────────────────────────────────────────── */
.dm-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* ── Progress stepper ──────────────────────────────────────── */
.dm-steps {
    display: flex;
    padding: 22px 28px 4px;
    gap: 6px;
}
.dm-stepitem {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.dm-stepitem:last-child { flex: 0 0 auto; }

.dm-step-dot {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
    flex-shrink: 0;
    transition: all var(--ease);
}
.dm-step-dot svg { width: 14px; height: 14px; }

.dm-step-meta { line-height: 1.2; min-width: 0; }
.dm-step-kicker {
    font-size: 9.5px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted);
}
.dm-step-name {
    font-size: 12.5px; font-weight: 600;
    color: var(--muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dm-step-bar {
    flex: 1;
    height: 1.5px;
    background: var(--border);
    border-radius: 2px;
    margin: 0 4px;
    transition: background var(--ease);
}

.dm-stepitem.is-current .dm-step-dot {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: 0 0 0 4px var(--accent-ring);
}
.dm-stepitem.is-current .dm-step-name   { color: var(--ink); font-weight: 700; }
.dm-stepitem.is-current .dm-step-kicker { color: var(--accent); }

.dm-stepitem.is-done .dm-step-dot {
    background: var(--accent);
    border-color: var(--ink);
    color: var(--white);
}
.dm-stepitem.is-done .dm-step-name { color: var(--ink); }
.dm-stepitem.is-done .dm-step-bar  { background: var(--accent); }

/* ── Panel ─────────────────────────────────────────────────── */
.dm-panel { padding: 24px 28px 8px; flex: 1; }

.dm-panel-head { margin-bottom: 22px; }
.dm-panel-title {
    font-size: 24px; font-weight: 700;
    color: var(--ink);
    letter-spacing: -.025em;
    line-height: 1.2;
}
.dm-panel-sub {
    font-size: 13.5px; color: var(--body);
    margin-top: 6px;
}

/* ── Alert ─────────────────────────────────────────────────── */
.dm-alert {
    display: none;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 14px;
    border-radius: var(--r-sm);
    font-size: 13px; font-weight: 500;
    line-height: 1.45;
    margin-bottom: 16px;
}
.dm-alert.show { display: flex; }
.dm-alert svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.dm-alert.is-error { background: #fdf1ef; color: #b5311f; }
.dm-alert.is-ok    { background: #effaf3; color: #15784c; }

/* ── Fields ────────────────────────────────────────────────── */
.dm-field { margin-bottom: 16px; }
.dm-field:last-child { margin-bottom: 0; }

.dm-label {
    display: block;
    font-size: 12px; font-weight: 600;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: .005em;
}
.dm-label .dm-opt { font-weight: 400; color: var(--muted); }
.dm-req { color: var(--accent); }

.dm-input, .dm-textarea, .dm-select {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 14px; font-family: var(--font);
    color: var(--ink);
    background: var(--surface);
    outline: none;
    transition: border-color var(--ease), box-shadow var(--ease);
    line-height: 1.4;
    -webkit-appearance: none; appearance: none;
}
.dm-input::placeholder, .dm-textarea::placeholder { color: var(--muted); }
.dm-input:focus, .dm-textarea:focus, .dm-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-ring);
}
.dm-input.is-invalid, .dm-textarea.is-invalid { border-color: var(--danger); }
.dm-textarea { resize: vertical; min-height: 84px; }
.dm-err-text { font-size: 11.5px; color: var(--danger); margin-top: 5px; font-weight: 500; }

.dm-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dm-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }

/* ── Route box (pickup → drop-off) ─────────────────────────── */
.dm-route {
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    background: var(--bg);
    padding: 4px 14px;
    overflow: visible;
}
.dm-route-row {
    display: flex;
    align-items: stretch;
    position: relative;
}
.dm-route-row + .dm-route-row { border-top: 1px solid var(--line); }

.dm-route-rail {
    width: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
/* circular icon badge */
.dm-route-pin {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface);
    border: 1.5px solid var(--border);
    color: var(--ink);
    z-index: 1;
}
.dm-route-pin svg { width: 15px; height: 15px; }
.dm-route-pin--to {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}
/* dashed connector between the two badges */
.dm-route-row:first-child .dm-route-rail::after {
    content: '';
    position: absolute;
    left: 50%; transform: translateX(-50%);
    top: calc(50% + 16px); bottom: -50%;
    border-left: 2px dashed var(--border);
}
.dm-route-row:last-child .dm-route-rail::before {
    content: '';
    position: absolute;
    left: 50%; transform: translateX(-50%);
    bottom: calc(50% + 16px); top: -50%;
    border-left: 2px dashed var(--border);
}
/* a lone row (roadside, non-tow) needs no connector stubs */
.dm-route-row:only-child .dm-route-rail::after,
.dm-route-row:only-child .dm-route-rail::before { display: none; }

.dm-route-input-wrap { flex: 1; min-width: 0; position: relative; }
.dm-route-input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    padding: 16px 14px 16px 0;
    font-size: 14.5px; font-weight: 500;
    color: var(--ink);
    font-family: var(--font);
}
.dm-route-input::placeholder { color: var(--muted); font-weight: 400; }
.dm-route-tag {
    position: absolute;
    top: 7px; left: 0;
    font-size: 9.5px; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    color: var(--muted);
    pointer-events: none;
}
.dm-route-input { padding-top: 22px; padding-bottom: 11px; }

/* suggestions dropdown */
.dm-suggest {
    position: absolute;
    top: calc(100% + 4px); left: -44px; right: -8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--sh-3);
    z-index: 50;
    overflow: hidden;
    display: none;
}
.dm-suggest.open { display: block; }
.dm-sug {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px;
    cursor: pointer;
    transition: background var(--ease);
}
.dm-sug + .dm-sug { border-top: 1px solid var(--line); }
.dm-sug:hover { background: var(--bg); }
.dm-sug-ico {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--body);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.dm-sug-ico svg { width: 15px; height: 15px; }
.dm-sug-main { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.dm-sug-sub  { font-size: 11.5px; color: var(--muted); margin-top: 1px; }

.dm-dist-pill {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    background: var(--accent-tint);
    border: 1px solid var(--accent-ring);
    color: var(--accent-d);
    font-size: 12px; font-weight: 600;
}
.dm-dist-pill svg { width: 13px; height: 13px; }

/* ── Minimal step-1 hero (floating entry, no card) ─────────── */
.dm-hero { padding: 6px 20px 24px; }
.dm-hero-inner { max-width: 920px; margin: 0 auto; }
.dm-hero-head { text-align: center; margin-bottom: 30px; }
.dm-hero-title {
    font-size: 46px; font-weight: 800;
    letter-spacing: -.035em; line-height: 1.08;
    color: var(--ink);
}
.dm-hero-sub {
    font-size: 17px; line-height: 1.55;
    color: var(--body); margin-top: 13px;
}
.dm-hero-form { max-width: 640px; margin: 0 auto; }
.dm-hero .dm-route {
    background: var(--surface);
    box-shadow: 0 12px 36px -16px rgba(24,26,31,.26);
}
.dm-hero-when { display: flex; gap: 14px; margin-top: 16px; }
.dm-hero-fld { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.dm-hero-fld-l { font-size: 12px; font-weight: 600; color: var(--ink); }
.dm-hero select.dm-sel {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9ba3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 17px;
    padding-right: 38px;
    cursor: pointer;
}
.dm-hero-actions { margin-top: 22px; display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.dm-hero-go { padding: 14px 26px; font-size: 15px; min-width: 168px; justify-content: center; }
@media (max-width: 560px) {
    .dm-hero-actions { justify-content: stretch; }
    .dm-hero-go { width: 100%; min-width: 0; }
}

/* ── Skeleton (server-rendered placeholder while booking.js loads) ─── */
.dm-hero-skel .dm-hero-head { margin-bottom: 30px; }
.dm-skel {
    background: linear-gradient(90deg, #eef0f3 0%, #f7f8fa 50%, #eef0f3 100%);
    background-size: 200% 100%;
    border-radius: 8px;
    animation: dm-skel-shimmer 1.2s ease-in-out infinite;
}
.dm-skel-title { height: 32px; width: 70%; max-width: 520px; margin: 0 auto 14px; border-radius: 10px; }
.dm-skel-sub   { height: 14px; width: 80%; max-width: 580px; margin: 0 auto 8px; }
.dm-skel-sub-2 { width: 55%; }
.dm-skel-route { height: 56px; width: 100%; border-radius: var(--r); }
.dm-skel-btn   { height: 46px; width: 168px; border-radius: 13px; }
@keyframes dm-skel-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
    .dm-skel { animation: none; }
}

/* back-to-picker link on the move / roadside heroes */
.dm-svc-back {
    display: inline-flex; align-items: center; gap: 6px;
    margin-bottom: 16px;
    background: none; border: none; cursor: pointer;
    font-size: 13px; font-weight: 600; font-family: var(--font);
    color: var(--muted);
    transition: color var(--ease);
}
.dm-svc-back:hover { color: var(--accent-d); }
.dm-svc-back svg { width: 15px; height: 15px; }

/* ── Service picker (Move vs Roadside) ─────────────────────── */
.dm-svc-grid {
    max-width: 560px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 14px;
}
.dm-svc-card {
    display: flex; align-items: center; gap: 16px;
    padding: 22px 22px;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    background: var(--surface);
    box-shadow: 0 10px 30px -18px rgba(24,26,31,.22);
    cursor: pointer; text-align: left;
    transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.dm-svc-card:hover {
    border-color: var(--accent);
    box-shadow: 0 16px 38px -16px rgba(233,84,64,.3);
    transform: translateY(-3px);
}
.dm-svc-ico {
    width: 58px; height: 58px; flex-shrink: 0;
    border-radius: 15px;
    background: rgba(var(--accent-rgb),.1);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
}
.dm-svc-ico svg { width: 30px; height: 30px; }
.dm-svc-body { flex: 1; min-width: 0; }
.dm-svc-name { font-size: 18px; font-weight: 700; color: var(--ink); }
.dm-svc-desc { font-size: 13.5px; line-height: 1.55; color: var(--body); margin-top: 4px; }
.dm-svc-go {
    flex-shrink: 0; color: var(--muted);
    display: flex; align-items: center;
}
.dm-svc-go svg { width: 20px; height: 20px; }
.dm-svc-card:hover .dm-svc-go { color: var(--accent); }

/* ── Roadside form ─────────────────────────────────────────── */
.dm-rs-q {
    font-size: 12px; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase;
    color: var(--ink);
    margin: 22px 0 10px;
}
.dm-rs-q:first-child { margin-top: 0; }
.dm-rs-issues {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.dm-rs-issue {
    display: flex; flex-direction: column; align-items: center; gap: 9px;
    padding: 18px 8px;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    background: var(--surface);
    cursor: pointer; font-family: var(--font);
    transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
}
.dm-rs-issue:hover { border-color: var(--ink); }
.dm-rs-issue.is-sel {
    border-color: var(--accent);
    background: var(--accent-tint);
    box-shadow: 0 0 0 3px var(--accent-ring);
}
.dm-rs-issue-ic {
    width: 40px; height: 40px;
    border-radius: 11px;
    background: var(--bg);
    color: var(--ink);
    display: flex; align-items: center; justify-content: center;
}
.dm-rs-issue-ic svg { width: 21px; height: 21px; }
.dm-rs-issue.is-sel .dm-rs-issue-ic {
    background: rgba(var(--accent-rgb),.14); color: var(--accent-d);
}
.dm-rs-issue-l { font-size: 12.5px; font-weight: 600; color: var(--ink); text-align: center; }

/* ── Vehicle cards ─────────────────────────────────────────── */
.dm-veh-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.dm-veh-card {
    position: relative;
    display: flex;
    gap: 13px;
    padding: 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    background: var(--surface);
    cursor: pointer;
    text-align: left;
    transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.dm-veh-card:hover { border-color: var(--ink); box-shadow: var(--sh-1); }
.dm-veh-card.is-sel {
    border-color: var(--accent);
    background: var(--accent-tint);
    box-shadow: 0 0 0 3px var(--accent-ring);
}
.dm-veh-ico {
    width: 46px; height: 46px;
    border-radius: var(--r-sm);
    background: var(--bg);
    color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.dm-veh-ico svg { width: 24px; height: 24px; }
.dm-veh-card.is-sel .dm-veh-ico { background: rgba(var(--accent-rgb),.13); color: var(--accent-d); }
.dm-veh-body { min-width: 0; }
.dm-veh-name {
    font-size: 14px; font-weight: 700; color: var(--ink);
    line-height: 1.3;
}
.dm-veh-desc { font-size: 12px; color: var(--body); margin-top: 3px; }
.dm-veh-plate {
    display: inline-block;
    margin-top: 8px;
    font-size: 10.5px; font-weight: 700;
    letter-spacing: .04em;
    color: var(--body);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 2px 7px;
}
.dm-veh-check {
    position: absolute;
    top: 12px; right: 12px;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: transparent;
    transition: all var(--ease);
}
.dm-veh-check svg { width: 11px; height: 11px; }
.dm-veh-card.is-sel .dm-veh-check {
    background: var(--accent); border-color: var(--accent); color: var(--white);
}

.dm-add-trigger {
    display: inline-flex; align-items: center; gap: 7px;
    margin-top: 14px;
    padding: 10px 14px;
    border: 1.5px dashed var(--border);
    border-radius: var(--r-sm);
    background: var(--surface);
    color: var(--ink);
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    transition: all var(--ease);
}
.dm-add-trigger:hover { border-color: var(--accent); color: var(--accent-d); }
.dm-add-trigger svg { width: 15px; height: 15px; }

.dm-inline-form {
    margin-top: 14px;
    padding: 18px;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    background: var(--bg);
}

/* ── Sign-in bar + "or" divider (guest vehicle step) ───────── */
.dm-signin-bar {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    border: 1.5px solid var(--accent-ring);
    border-radius: var(--r);
    background: var(--accent-tint);
}
.dm-signin-bar-txt { flex: 1; min-width: 0; }
.dm-signin-bar-t { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.dm-signin-bar-s { font-size: 12.5px; color: var(--body); margin-top: 2px; }
.dm-signin-bar .dm-btn { flex-shrink: 0; padding: 10px 16px; font-size: 13px; }
.dm-signin-bar .dm-btn svg { width: 15px; height: 15px; }
.dm-or {
    display: flex; align-items: center; gap: 12px;
    margin: 20px 0 16px;
}
.dm-or::before, .dm-or::after {
    content: ''; flex: 1; height: 1px; background: var(--border);
}
.dm-or span {
    font-size: 11px; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    color: var(--muted);
}

/* ── Extras ────────────────────────────────────────────────── */
.dm-extras { display: flex; flex-direction: column; gap: 10px; }
.dm-extra {
    display: flex; align-items: center; gap: 13px;
    padding: 13px 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    background: var(--surface);
    cursor: pointer;
    user-select: none;
    transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.dm-extra:hover { border-color: var(--ink); }
.dm-extra.is-sel {
    border-color: var(--accent);
    background: var(--accent-tint);
    box-shadow: 0 0 0 3px var(--accent-ring);
}
.dm-extra-box {
    width: 22px; height: 22px;
    border-radius: 5px;
    border: 1.5px solid var(--border);
    background: var(--surface);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: transparent;
    transition: all var(--ease);
}
.dm-extra-box svg { width: 12px; height: 12px; }
.dm-extra.is-sel .dm-extra-box {
    background: var(--accent); border-color: var(--accent); color: var(--white);
}
.dm-extra-ico {
    width: 38px; height: 38px;
    border-radius: var(--r-sm);
    background: var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}
.dm-extra-body { flex: 1; min-width: 0; }
.dm-extra-name { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.dm-extra-desc { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.dm-extra-price { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.dm-extra.is-sel .dm-extra-price { color: var(--accent-d); }

/* ── Review list ───────────────────────────────────────────── */
.dm-review { display: flex; flex-direction: column; gap: 10px; }
.dm-review-card {
    display: flex; align-items: flex-start; gap: 13px;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
}
.dm-review-ico {
    width: 34px; height: 34px;
    border-radius: var(--r-sm);
    background: var(--bg);
    color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.dm-review-ico svg { width: 17px; height: 17px; }
.dm-review-body { flex: 1; min-width: 0; }
.dm-review-lbl {
    font-size: 10px; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    color: var(--muted);
}
.dm-review-val { font-size: 13.5px; font-weight: 600; color: var(--ink); margin-top: 2px; line-height: 1.4; }
.dm-review-edit {
    border: none; background: none;
    color: var(--accent-d);
    font-size: 12px; font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    padding: 2px;
}
.dm-review-edit:hover { text-decoration: underline; }

/* ── Footer nav ────────────────────────────────────────────── */
.dm-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 28px 24px;
    margin-top: 12px;
    border-top: 1px solid var(--line);
}
.dm-foot-solo { justify-content: flex-end; }

.dm-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: var(--r-sm);
    border: 1.5px solid transparent;
    font-size: 14.5px; font-weight: 700;
    cursor: pointer;
    transition: background var(--ease), border-color var(--ease),
        color var(--ease), transform var(--ease), box-shadow var(--ease);
    white-space: nowrap;
}
.dm-btn svg { width: 16px; height: 16px; }
.dm-btn:disabled { opacity: .45; pointer-events: none; box-shadow: none; }

/* primary — solid coral with a soft brand glow (matches the portal) */
.dm-btn-primary,
.dm-btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: var(--sh-brand);
}
.dm-btn-primary:hover,
.dm-btn-accent:hover {
    background: var(--accent-d);
    border-color: var(--accent-d);
    box-shadow: var(--sh-brand-h);
    transform: translateY(-1px);
}
.dm-btn-primary:active,
.dm-btn-accent:active { transform: translateY(0); box-shadow: var(--sh-brand); }

.dm-btn-ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--ink);
}
.dm-btn-ghost:hover { border-color: var(--ink); }

.dm-btn-block { width: 100%; }

.dm-btn-back {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: none;
    color: var(--body);
    font-size: 13.5px; font-weight: 600;
    cursor: pointer;
    padding: 8px 4px;
    transition: color var(--ease);
}
.dm-btn-back:hover { color: var(--ink); }
.dm-btn-back svg { width: 15px; height: 15px; }

.dm-btn-link {
    background: none; border: none;
    color: var(--accent-d);
    font-size: 13px; font-weight: 600;
    cursor: pointer;
}
.dm-btn-link:hover { text-decoration: underline; }

/* ── Live-price bar (compact, above the footer) ──────────── */
.dm-pricebar {
    margin: 8px 28px 0;
    padding: 13px 16px;
    border-radius: var(--r);
    background: var(--bg);
    border: 1.5px solid var(--border);
}
.dm-pricebar[hidden] { display: none; }
.dm-pb-line { display: flex; align-items: center; gap: 12px; }
.dm-pb-line svg { width: 16px; height: 16px; flex-shrink: 0; }
.dm-pb-left { flex: 1; min-width: 0; }
.dm-pb-label {
    font-size: 10px; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    color: var(--muted);
}
.dm-pb-sub {
    display: flex; align-items: center; gap: 5px;
    font-size: 12px; color: var(--body); margin-top: 3px;
}
.dm-pb-sub svg { width: 12px; height: 12px; }
.dm-pb-total {
    font-size: 25px; font-weight: 700;
    color: var(--ink); letter-spacing: -.02em;
}
.dm-pb-calc { font-size: 13px; font-weight: 600; color: var(--body); }
.dm-pb-err  { flex: 1; font-size: 12.5px; font-weight: 600; color: var(--danger); }
.dm-pb-expiry {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-top: 10px; padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 11.5px; color: var(--muted);
}
.dm-pb-expiry svg { width: 13px; height: 13px; }
.dm-pb-expiry strong { color: var(--ink); }
.dm-pb-expiry.is-urgent strong { color: var(--danger); }

/* ── Auth ──────────────────────────────────────────────────── */
.dm-auth { max-width: 408px; margin: 0 auto; padding: 36px 24px 8px; }
.dm-auth-head { text-align: center; margin-bottom: 22px; }
.dm-auth-title { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.dm-auth-sub { font-size: 13px; color: var(--body); margin-top: 5px; }
.dm-auth-tabs {
    display: flex;
    background: var(--bg);
    border-radius: var(--r-sm);
    padding: 4px;
    margin-bottom: 20px;
}
.dm-auth-tab {
    flex: 1;
    padding: 9px;
    border: none; background: none;
    border-radius: 3px;
    font-size: 13px; font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all var(--ease);
}
.dm-auth-tab.is-active {
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--sh-1);
}
.dm-input-pw { position: relative; }
.dm-pw-toggle {
    position: absolute;
    right: 4px; top: 50%; transform: translateY(-50%);
    border: none; background: none;
    color: var(--muted);
    cursor: pointer;
    padding: 8px;
    display: flex;
}
.dm-pw-toggle:hover { color: var(--ink); }
.dm-pw-toggle svg { width: 17px; height: 17px; }

/* ── Confirmation ──────────────────────────────────────────── */
.dm-confirm { text-align: center; max-width: 460px; margin: 0 auto; padding: 44px 24px 16px; }
.dm-confirm-ico {
    width: 72px; height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(var(--accent-rgb),.1);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    animation: dm-pop .4s cubic-bezier(.2,.8,.3,1.2);
}
.dm-confirm-ico svg { width: 34px; height: 34px; }
@keyframes dm-pop { from { transform: scale(.4); opacity: 0; } }
.dm-confirm-title { font-size: 23px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.dm-confirm-sub { font-size: 13.5px; color: var(--body); margin-top: 8px; line-height: 1.6; }
.dm-confirm-ref {
    display: inline-flex; align-items: center; gap: 8px;
    margin: 20px 0;
    padding: 10px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 13px; font-weight: 700; color: var(--ink);
}
.dm-confirm-ref svg { width: 15px; height: 15px; color: var(--accent); }
.dm-confirm-detail {
    text-align: left;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    margin-bottom: 22px;
}

/* ── Empty / loading / spinner ─────────────────────────────── */
.dm-empty {
    text-align: center;
    padding: 38px 16px;
    border: 1.5px dashed var(--border);
    border-radius: var(--r);
}
.dm-empty-ico {
    width: 44px; height: 44px;
    margin: 0 auto 12px;
    color: var(--muted);
}
.dm-empty-ico svg { width: 44px; height: 44px; }
.dm-empty-text { font-size: 13px; color: var(--muted); }

.dm-loading {
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    padding: 56px 0;
    color: var(--muted);
    font-size: 13px;
}
.dm-spinner {
    width: 18px; height: 18px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: dm-spin .65s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}
.dm-spinner-lg { width: 30px; height: 30px; border-width: 3px; color: var(--accent); }
@keyframes dm-spin { to { transform: rotate(360deg); } }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .dm-booking { padding: 20px 12px 56px; }
    .dm-step-meta { display: none; }
    .dm-stepitem { flex: 0 0 auto; }
    .dm-stepitem:not(:last-child) { flex: 1; }
    .dm-steps { padding: 18px 18px 2px; }
}
@media (max-width: 620px) {
    .dm-shell-head { padding: 16px 18px; }
    .dm-brand-sub { display: none; }
    .dm-panel { padding: 20px 18px 6px; }
    .dm-pricebar { margin: 8px 18px 0; }
    .dm-foot { padding: 16px 18px 20px; }
    .dm-veh-grid { grid-template-columns: 1fr; }
    .dm-grid-2, .dm-grid-3 { grid-template-columns: 1fr; }
    .dm-auth { padding: 26px 16px 4px; }
    .dm-btn { padding: 12px 18px; font-size: 14px; }
    .dm-hero-title { font-size: 32px; }
    .dm-hero-sub { font-size: 15.5px; }
    .dm-hero-when { flex-direction: column; gap: 12px; }
    .dm-svc-card { padding: 18px; gap: 13px; }
    .dm-svc-ico { width: 48px; height: 48px; }
    .dm-svc-ico svg { width: 25px; height: 25px; }
    .dm-signin-bar { flex-direction: column; align-items: stretch; gap: 12px; }
    .dm-signin-bar .dm-btn { justify-content: center; }
}

/* ── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .dm-booking *, .dm-booking *::before, .dm-booking *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ── DroppMate wordmark ─────────────────────────────────────── */
.dm-booking .dm-brand { flex-direction: column; align-items: flex-start; gap: 1px; }
.dm-wordmark {
    font-family: ui-rounded, 'Nunito', var(--font), sans-serif;
    font-weight: 500; font-size: 19px; letter-spacing: -.02em;
    color: var(--ink); line-height: 1.15;
}
.dm-wordmark b { font-weight: 900; color: var(--accent); }

/* ── Host-theme override ─────────────────────────────────────
   The Luxride theme styles every `body input[type=...]` at a
   higher specificity than the wizard's single-class rules, which
   clobbers the field backgrounds (visible in dark mode). These
   `.dm-booking`-scoped rules win it back. */
.dm-booking { color-scheme: light; }
.dm-booking .dm-input,
.dm-booking .dm-textarea,
.dm-booking .dm-select {
    margin: 0;
    min-height: 0;
    width: 100%;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    padding: 11px 13px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}
.dm-booking .dm-textarea { min-height: 88px; }
.dm-booking .dm-input:focus,
.dm-booking .dm-textarea:focus,
.dm-booking .dm-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-ring);
    background: var(--surface);
}
.dm-booking .dm-input::placeholder,
.dm-booking .dm-textarea::placeholder { color: var(--muted); font-weight: 400; }
.dm-booking .dm-route-input {
    margin: 0;
    min-height: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    padding: 22px 14px 11px 0;
}

/* hide the theme page-title banner on the booking page */
.breadcrumbs-div{display:none!important;}

/* ── Booking + live route map (two-column, Uber-style) ─────── */
.dm-bookmap {
    display: flex;
    gap: 36px;
    max-width: none;
    margin: 0;
    padding: 24px 48px 56px;
    align-items: flex-start;
}
.dm-bookmap-form { flex: 0 0 540px; min-width: 0; }
.dm-bookmap-map  { flex: 1; min-width: 0; }
.dm-bookmap-map #dm-map {
    position: sticky;
    top: 96px;
    height: calc(100vh - 150px);
    min-height: 520px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #ededf0;
    box-shadow: 0 22px 52px -30px rgba(24,26,31,.45);
    background: #eef0f2;
}
.dm-bookmap-map .leaflet-container { font-family: inherit; background: #eef0f2; }
/* route waypoint markers */
.dm-mk { display: flex; align-items: center; justify-content: center; }
.dm-mk-pin {
    display: block; width: 18px; height: 18px;
    border-radius: 50%;
    box-shadow: 0 2px 7px rgba(0,0,0,.4);
}
.dm-mk-pin--from { background: #fff;     border: 4px solid #181A1F; }
.dm-mk-pin--to   { background: #E95440;  border: 4px solid #fff; }

/* the booking-map page goes edge-to-edge — the Luxride theme otherwise
   caps content at an `.auto-container` (max-width ~1170px); lift it here */
body.page-book-appointment .auto-container {
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.page-book-appointment .auto-container > .row { margin: 0 !important; }
body.page-book-appointment .site-content .elementor { padding: 0 !important; }

@media (max-width: 1024px) {
    .dm-bookmap { flex-direction: column; gap: 18px; padding: 18px 14px 44px; }
    .dm-bookmap-form { flex: none; width: 100%; }
    .dm-bookmap-map  { width: 100%; }
    .dm-bookmap-map #dm-map {
        position: static; top: auto;
        height: 320px; min-height: 0;
    }
}
