/* Chauffeur Booking Engine — standalone front pages (payment / thank-you / failed / journey)
   2.17.0 · Aman-style luxury + liquid glass. Ivory default; deep-blue dark via .cbe-fp-dark.
   Surfaces are OPAQUE so they read on any host background. */
.cbe-fp{margin:0;min-height:100vh;background:linear-gradient(180deg,#faf7f0 0%,#f3ecdd 100%);
    font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,system-ui,sans-serif;color:#1a1a1a;
    -webkit-font-smoothing:antialiased;padding:0 16px;box-sizing:border-box}
.cbe-fp *{box-sizing:border-box}
.cbe-fp-wrap{max-width:560px;margin:0 auto;padding:36px 0 56px}
.cbe-fp-brand{text-align:center;margin-bottom:24px;letter-spacing:4px;font-size:15px;font-weight:700;color:#1a1a1a;text-transform:uppercase}
.cbe-fp-brand img{max-height:40px}

.cbe-fp-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#ffffff,#fbf8f1);
    border:1px solid #ece3d2;border-radius:18px;padding:26px 24px;margin-bottom:16px;
    box-shadow:0 12px 40px rgba(120,100,60,.10),inset 0 1px 0 rgba(255,255,255,.9)}
.cbe-fp-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#d9c79a,#c5a96a,#d9c79a)}
.cbe-fp-center{text-align:center}
.cbe-fp-left{text-align:left}
.cbe-fp-eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#b0a890;margin-bottom:8px}
.cbe-fp-h{font-size:24px;font-weight:800;letter-spacing:-.3px;line-height:1.2;margin:0 0 6px}
.cbe-fp-muted{color:#8a8a8a;font-size:14px;line-height:1.5;margin:0 0 8px}
.cbe-fp-sm{font-size:12.5px}
.cbe-fp-mb{margin-bottom:12px}.cbe-fp-mt{margin-top:14px}

.cbe-fp-icon,.cbe-fp-check,.cbe-fp-cross{width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;margin:0 auto 14px;color:#fff}
.cbe-fp-icon{background:linear-gradient(135deg,#cdb074,#b6995a);box-shadow:0 10px 24px rgba(181,153,90,.4)}
.cbe-fp-check{background:linear-gradient(135deg,#3fae7a,#2f7d4f);box-shadow:0 10px 24px rgba(47,125,79,.4);animation:cbe-fp-pop .45s cubic-bezier(.2,1.3,.4,1) both}
.cbe-fp-cross{background:linear-gradient(135deg,#e87a6a,#c14a3a);box-shadow:0 10px 24px rgba(193,74,58,.35)}
@keyframes cbe-fp-pop{0%{transform:scale(.5);opacity:0}100%{transform:scale(1);opacity:1}}

.cbe-fp-summary{text-align:left;margin:18px 0;padding:16px;border-radius:12px;background:linear-gradient(135deg,#fffdf9,#f6f0e4 70%,#f1e9d8);border:1px solid #e8dcc4}
.cbe-fp-route{font-size:16px;font-weight:700;line-height:1.35}
.cbe-fp-arrow{color:#c5a96a;margin:0 4px}
.cbe-fp-amount{display:flex;align-items:baseline;justify-content:space-between;margin-top:12px;padding-top:12px;border-top:1px solid rgba(197,169,106,.22)}
.cbe-fp-amount span{font-size:13px;color:#7a6f58;font-weight:600}
.cbe-fp-amount strong{font-size:22px;font-weight:800}
.cbe-fp-order{display:inline-block;margin:8px 0 4px;padding:8px 16px;border-radius:10px;border:1px dashed #d9c79a;background:#fbf8f1;font-weight:700;letter-spacing:.5px}

.cbe-fp-badge-paid,.cbe-fp-badge-due{display:inline-block;margin-left:8px;font-size:11px;font-weight:700;padding:3px 9px;border-radius:20px;vertical-align:middle}
.cbe-fp-badge-paid{background:#e9f7ef;color:#2f7d4f}
.cbe-fp-badge-due{background:#fdf3e6;color:#9a6a16}

.cbe-fp-widget{margin:18px 0 8px;min-height:60px}
.cbe-fp-loading{display:flex;align-items:center;justify-content:center;gap:10px;color:#8a8a8a;font-size:14px;padding:18px 0}
.cbe-fp-spin{width:20px;height:20px;border:2px solid #e5dcc6;border-top-color:#c5a96a;border-radius:50%;display:inline-block;animation:cbe-fp-rot .7s linear infinite}
@keyframes cbe-fp-rot{to{transform:rotate(360deg)}}
.cbe-fp-status{margin:12px 0;padding:12px 14px;border-radius:10px;font-size:13.5px;background:#f1efe8;color:#555}
.cbe-fp-status-err{background:#fef2f2;color:#b91c1c;border:1px solid #fca5a5}
.cbe-fp-err{margin:10px 0;padding:10px 14px;border-radius:10px;background:#fef2f2;color:#b91c1c;font-size:13px;border:1px solid #fca5a5}
.cbe-fp-alt{margin-top:16px;font-size:12.5px;color:#9a9384;display:flex;gap:8px;align-items:flex-start}
.cbe-fp-alt i{color:#c5a96a;margin-top:2px}

.cbe-fp-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin:14px 0 0;padding:15px 22px;border-radius:12px;border:none;cursor:pointer;font-family:inherit;font-size:15px;font-weight:700;letter-spacing:.3px;color:#fff;text-decoration:none;
    background:linear-gradient(135deg,#cdb074 0%,#c5a96a 45%,#b6995a 100%);box-shadow:0 8px 22px rgba(181,153,90,.36),inset 0 1px 0 rgba(255,255,255,.45);transition:transform .15s,box-shadow .15s}
.cbe-fp-btn:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(181,153,90,.46)}
.cbe-fp-btn-ghost{background:#fff;color:#5d4d28;border:1px solid #e2d5be;box-shadow:0 2px 8px rgba(150,130,80,.08)}
.cbe-fp-btn-ghost:hover{border-color:#c5a96a;background:#fffdf8}

/* Journey timeline */
.cbe-fp-timeline{list-style:none;margin:6px 0 0;padding:0}
.cbe-fp-timeline li{position:relative;display:flex;align-items:flex-start;gap:14px;padding:9px 0 9px 2px}
.cbe-fp-timeline li+li::before{content:'';position:absolute;left:13px;top:-12px;height:18px;width:2px;background:#e6dcc8}
.cbe-fp-tl-dot{flex:0 0 28px;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;background:#efe9dc;color:#fff;border:2px solid #efe9dc}
.cbe-fp-tl-label{font-size:14px;color:#9a9384;flex:1 1 auto;min-width:0;padding-top:5px}
.cbe-fp-tl-meta{margin-left:auto;flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;text-align:right;max-width:56%;padding-top:4px}
.cbe-fp-tl-time{font-size:12.5px;font-weight:700;color:#5d4d28;white-space:nowrap}
.cbe-fp-tl-addr{font-size:11px;color:#9a9384;line-height:1.3;margin-top:2px}
.cbe-fp-countdown{margin-top:12px;font-size:14px;font-weight:700;color:#5d4d28;background:rgba(197,169,106,.12);border:1px solid rgba(197,169,106,.3);border-radius:10px;padding:9px 13px}
.cbe-fp-vehicle-photo{display:block;width:100%;height:auto;max-height:180px;object-fit:cover;border-radius:12px;margin-top:14px;background:#f0e9d8}
.cbe-fp-brands{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center;font-size:28px;color:#b9ad93;margin:16px 0 4px}
.cbe-fp-dark .cbe-fp-brands{color:#6f8198}
.cbe-fp-testbadge{display:inline-block;font-size:11px;font-weight:800;letter-spacing:1.5px;color:#7a4a00;background:#fde68a;border:1px solid #f59e0b;border-radius:20px;padding:4px 12px;margin-bottom:12px}
.cbe-fp-testbadge i{margin-right:5px}
/* Driver portal / registration forms */
.cbe-fp-form{margin-top:12px}
/* 2.28.0 — terms consent on chauffeur registration. A legal act, so it gets a real hit
   area and sits directly above the button it gates. */
.cbe-fp-consent{display:flex;gap:10px;align-items:flex-start;margin:14px 0 0;font-size:13.5px;line-height:1.55;cursor:pointer}
.cbe-fp-consent input{flex:0 0 auto;width:18px;height:18px;margin:1px 0 0;accent-color:#c5a96a;cursor:pointer}
.cbe-fp-consent a{color:#c5a96a;font-weight:600}
.cbe-fp-group-title{font-size:11px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:#b0a890;margin:20px 0 6px;padding-top:14px;border-top:1px solid rgba(197,169,106,.2)}
.cbe-fp-field{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}
.cbe-fp-field label{font-size:12.5px;font-weight:600;color:#6b6253}
.cbe-fp-input{width:100%;box-sizing:border-box;font-size:15px;font-family:inherit;color:#1a1a1a;background:#fff;border:1px solid #e0d7c5;border-radius:10px;padding:11px 13px;transition:border-color .15s}
.cbe-fp-input:focus{outline:none;border-color:#c5a96a}
.cbe-fp-input:disabled{background:#f5f0e6;color:#9a9384}
.cbe-fp-submit{margin-top:16px;width:100%;border:none;cursor:pointer;font-size:14px}
.cbe-fp-dark .cbe-fp-group-title{color:#7e93ab;border-top-color:#1d3a57}
.cbe-fp-dark .cbe-fp-field label{color:#b6c6d6}
.cbe-fp-dark .cbe-fp-input{background:#0e2034;border-color:#34507a;color:#eaf0f7}
.cbe-fp-dark .cbe-fp-input:disabled{background:#11233a;color:#7e93ab}
.cbe-fp-tl-done .cbe-fp-tl-dot{background:#c5a96a;border-color:#c5a96a}
.cbe-fp-tl-done .cbe-fp-tl-label{color:#5d4d28}
.cbe-fp-tl-done+li::before{background:#c5a96a}
.cbe-fp-tl-active .cbe-fp-tl-dot{background:#1a1a1a;border-color:#1a1a1a;box-shadow:0 0 0 4px rgba(197,169,106,.25);animation:cbe-fp-pulse 1.8s ease-in-out infinite}
.cbe-fp-tl-active .cbe-fp-tl-label{color:#1a1a1a;font-weight:700}
@keyframes cbe-fp-pulse{0%,100%{box-shadow:0 0 0 4px rgba(197,169,106,.25)}50%{box-shadow:0 0 0 7px rgba(197,169,106,.12)}}

/* Chauffeur block */
.cbe-fp-driver{display:flex;align-items:center;gap:14px}
.cbe-fp-driver-photo{flex:0 0 64px;width:64px;height:64px;border-radius:14px;object-fit:cover;background:#f0e9d8}
.cbe-fp-driver-ph{display:flex;align-items:center;justify-content:center;color:#c5a96a;font-size:24px}
.cbe-fp-driver-name{font-size:16px;font-weight:700}
.cbe-fp-rating{color:#c5a96a;font-size:13px;font-weight:700;margin-left:4px}
.cbe-fp-rating i{font-size:11px}
.cbe-fp-tel{display:inline-flex;align-items:center;gap:6px;margin-top:4px;color:#1a1a1a;text-decoration:none;font-size:13px;font-weight:600}
.cbe-fp-tel i{color:#c5a96a}

/* Contact strip */
.cbe-fp-contact{margin-top:18px;padding:16px;border-radius:14px;background:linear-gradient(135deg,#ffffff,#fbf8f1);border:1px solid #e8dcc8;text-align:center}
.cbe-fp-contact-t{font-size:13px;color:#8b7341;font-weight:600;margin-bottom:10px}
.cbe-fp-contact-l{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.cbe-fp-contact-l a{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:10px 14px;border-radius:10px;background:#fff;border:1px solid #e2d5be;color:#1a1a1a;text-decoration:none;font-size:13px;font-weight:600}
.cbe-fp-contact-l a i{color:#c5a96a;font-size:15px}
.cbe-fp-contact-l a:hover{border-color:#c5a96a}

@media(max-width:480px){.cbe-fp-wrap{padding:24px 0 40px}.cbe-fp-h{font-size:21px}.cbe-fp-card{padding:22px 18px}}
@media(prefers-reduced-motion:reduce){.cbe-fp-check,.cbe-fp-tl-active .cbe-fp-tl-dot{animation:none}}

/* ===== Dark deep-blue theme (LUXI preset on) ===== */
.cbe-fp-dark{background:linear-gradient(180deg,#0c1a2b 0%,#081320 100%);color:#eaf0f7}
.cbe-fp-dark .cbe-fp-brand{color:#eaf0f7}
.cbe-fp-dark .cbe-fp-card{background:linear-gradient(135deg,#13283f,#0e2034);border-color:#1d3a57;box-shadow:0 14px 44px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.05)}
.cbe-fp-dark .cbe-fp-h{color:#f3f7fb}
.cbe-fp-dark .cbe-fp-muted{color:#8ea3ba}
.cbe-fp-dark .cbe-fp-summary{background:linear-gradient(135deg,#15293f,#102134);border-color:#1d3a57}
.cbe-fp-dark .cbe-fp-amount{border-top-color:rgba(197,169,106,.28)}
.cbe-fp-dark .cbe-fp-amount span{color:#9fb3c9}
.cbe-fp-dark .cbe-fp-order{background:#11233a;border-color:#34507a;color:#eaf0f7}
.cbe-fp-dark .cbe-fp-eyebrow{color:#7e93ab}
.cbe-fp-dark .cbe-fp-tl-label{color:#8ea3ba}
.cbe-fp-dark .cbe-fp-tl-dot{background:#1b314c;border-color:#1b314c}
.cbe-fp-dark .cbe-fp-tl-active .cbe-fp-tl-dot{background:#c5a96a;border-color:#c5a96a}
.cbe-fp-dark .cbe-fp-tl-active .cbe-fp-tl-label{color:#f3f7fb}
.cbe-fp-dark .cbe-fp-tl-done .cbe-fp-tl-label{color:#cdbf9c}
.cbe-fp-dark .cbe-fp-timeline li+li::before{background:#22405f}
.cbe-fp-dark .cbe-fp-btn-ghost{background:#11233a;border-color:#34507a;color:#eaf0f7}
.cbe-fp-dark .cbe-fp-driver-photo{background:#11233a}
.cbe-fp-dark .cbe-fp-tel{color:#eaf0f7}
.cbe-fp-dark .cbe-fp-contact{background:linear-gradient(135deg,#13283f,#0e2034);border-color:#1d3a57}
.cbe-fp-dark .cbe-fp-contact-l a{background:#0e2034;border-color:#34507a;color:#eaf0f7}
.cbe-fp-dark .cbe-fp-status{background:#11233a;color:#9fb3c9}
.cbe-fp-dark .cbe-fp-tl-time{color:#e3cd97}
.cbe-fp-dark .cbe-fp-tl-addr{color:#8ea3ba}
.cbe-fp-dark .cbe-fp-tl-active .cbe-fp-tl-dot{box-shadow:none}
.cbe-fp-dark .cbe-fp-countdown{color:#f3f7fb;background:rgba(197,169,106,.16);border-color:rgba(197,169,106,.4)}
.cbe-fp-dark .cbe-fp-vehicle-photo{background:#11233a}

/* ── 2.30.0 — the external partner offer form ─────────────────────────
   A photograph that is on file has to LOOK like it is on file: a file input cannot hold a value
   across a page load, so without the thumbnail the operator reads an empty field as a lost upload
   and uploads it again. The prepared version sits beside the original for the same reason it does
   on the admin review screen — the two are only meaningful next to each other. */
.cbe-fp-photoslot{margin:0 0 18px}
.cbe-fp-shots{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 8px}
.cbe-fp-shots figure{margin:0;max-width:150px}
.cbe-fp-shots img{width:100%;height:auto;border-radius:10px;border:1px solid #e8dcc4;display:block}
.cbe-fp-shots figcaption{font-size:11px;color:#8a8a8a;margin-top:4px;line-height:1.3}
.cbe-fp-dark .cbe-fp-shots img{border-color:#1d3a57}
.cbe-fp-dark .cbe-fp-shots figcaption{color:#8ea3ba}
/* The lookup widget is mounted into a page that never went through wp_enqueue_scripts, so it gets
   its breathing room here rather than from the booking form's grid. */
#cbe-clk-host{margin:0 0 12px}

/* ── 2.32.1 — the partner offer form: a summary strip, three tabs, ride controls ──────────────
 * The strip is sticky on a phone because the job is what the operator is answering questions
 * about, and losing sight of it is how a wrong price gets quoted. */
.cbe-fp-strip{background:linear-gradient(180deg,#fffdf8,#faf6ec);border:1px solid #e8dfc9;border-radius:14px;padding:14px 16px;margin:0 0 16px}
.cbe-fp-strip-route{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:17px;font-weight:700;color:#3d3524;line-height:1.35}
.cbe-fp-strip-route i{color:#c5a96a;font-size:14px}
.cbe-fp-strip-facts{display:flex;flex-wrap:wrap;gap:8px 22px;margin:12px 0 0;padding:0}
.cbe-fp-strip-facts>div{margin:0}
.cbe-fp-strip-facts dt{margin:0;font-size:10.5px;letter-spacing:.7px;text-transform:uppercase;color:#a2977f;font-weight:600}
.cbe-fp-strip-facts dd{margin:2px 0 0;font-size:14px;font-weight:700;color:#3d3524;white-space:nowrap}
.cbe-fp-strip-price dd{color:#8a6d1f}
.cbe-fp-strip-class{margin:10px 0 0;font-size:12px;letter-spacing:.6px;text-transform:uppercase;color:#8a7440;font-weight:700}

.cbe-fp-tabs{display:flex;gap:6px;margin:4px 0 16px;padding:4px;background:#f4efe3;border-radius:12px}
.cbe-fp-tab{flex:1 1 0;min-width:0;padding:10px 8px;border:none;border-radius:9px;background:transparent;cursor:pointer;
    font-family:inherit;font-size:13.5px;font-weight:700;color:#8a7d63;transition:background .15s,color .15s}
.cbe-fp-tab:hover{color:#5d4d28}
.cbe-fp-tab.is-on{background:#fff;color:#3d3524;box-shadow:0 2px 8px rgba(150,130,80,.14)}
.cbe-fp-panel{margin:0}

.cbe-fp-rc{display:flex;flex-direction:column;gap:8px;margin:8px 0 0}
.cbe-fp-rc-row{flex-direction:row;flex-wrap:wrap}
.cbe-fp-rc-go{display:flex;align-items:center;gap:11px;padding:14px 16px;border-radius:11px;background:#fff;border:1px solid #ddd0ad;
    color:#5d4d28;text-decoration:none;font-size:15px;font-weight:700;transition:border-color .15s,background .15s}
.cbe-fp-rc-go:hover{border-color:#c5a96a;background:#fffdf8}
.cbe-fp-rc-go i{color:#c5a96a;width:18px;text-align:center}
.cbe-fp-rc-done{display:flex;align-items:center;gap:11px;padding:12px 16px;border-radius:11px;background:#f2f7f3;color:#1a7f37;font-size:14px;font-weight:600}
.cbe-fp-rc-done i{width:18px;text-align:center}
.cbe-fp-rc-done em{margin-left:auto;font-style:normal;font-size:12px;color:#5c8a68;font-weight:400}
.cbe-fp-rc-pay{flex:1 1 30%;text-align:center;padding:11px 10px;border-radius:9px;background:#fff;border:1px solid #e2d5be;
    color:#5d4d28;text-decoration:none;font-size:13.5px;font-weight:600}
.cbe-fp-rc-pay:hover{border-color:#c5a96a}

.cbe-fp-shot-new img{outline:2px dashed #c5a96a;outline-offset:2px}

@media (max-width:520px){
    .cbe-fp-strip{position:sticky;top:0;z-index:5;margin-left:-2px;margin-right:-2px}
    .cbe-fp-strip-route{font-size:15.5px}
    .cbe-fp-strip-facts{gap:8px 16px}
    .cbe-fp-tab{font-size:12.5px;padding:9px 4px}
}

/* Dark preset */
.cbe-fp-dark .cbe-fp-strip{background:linear-gradient(180deg,#12253d,#0e1e33);border-color:#2c4468}
.cbe-fp-dark .cbe-fp-strip-route{color:#eaf0f7}
.cbe-fp-dark .cbe-fp-strip-facts dt{color:#8fa4c0}
.cbe-fp-dark .cbe-fp-strip-facts dd{color:#eaf0f7}
.cbe-fp-dark .cbe-fp-strip-price dd{color:#e2c88a}
.cbe-fp-dark .cbe-fp-strip-class{color:#c0a468}
.cbe-fp-dark .cbe-fp-tabs{background:#11233a}
.cbe-fp-dark .cbe-fp-tab{color:#9fb3cc}
.cbe-fp-dark .cbe-fp-tab.is-on{background:#1b3454;color:#eaf0f7;box-shadow:none}
.cbe-fp-dark .cbe-fp-rc-go{background:#11233a;border-color:#34507a;color:#eaf0f7}
.cbe-fp-dark .cbe-fp-rc-go:hover{border-color:#c5a96a;background:#162942}
.cbe-fp-dark .cbe-fp-rc-done{background:#12301f;color:#6ddc93}
.cbe-fp-dark .cbe-fp-rc-done em{color:#4f9c6b}
.cbe-fp-dark .cbe-fp-rc-pay{background:#11233a;border-color:#34507a;color:#eaf0f7}
