/* ── Chauffeur Booking — Premium Dark Hero ──────────────────────────────── */

/* Hero shell */
.cb-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    font-family: Georgia, 'Times New Roman', serif;
    background: #0d0d0d;
}

/* Background image */
.cb-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cb-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cb-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8,8,8,.6) 0%,
        rgba(8,8,8,.2) 45%,
        rgba(8,8,8,.72) 100%
    );
}

/* Blue arch accent */
.cb-hero-arch {
    position: absolute;
    top: 0;
    right: 8%;
    width: 36%;
    height: 88%;
    background: linear-gradient(180deg, #1a3a6b 0%, #0d2040 100%);
    border-radius: 0 0 50% 50% / 0 0 40% 40%;
    opacity: .85;
    z-index: 1;
}

/* Hero content block */
.cb-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 0 24px 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* Ride type toggle pills */
.cb-toggle {
    display: inline-flex;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 100px;
    padding: 4px;
    backdrop-filter: blur(10px);
}

.cb-toggle-btn {
    padding: 10px 28px;
    border-radius: 100px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,.7);
    font-size: 15px;
    font-family: Georgia, serif;
    cursor: pointer;
    transition: all .22s;
    letter-spacing: .2px;
}

.cb-toggle-btn.active {
    background: #3b82f6;
    color: #fff;
    font-weight: 500;
}

.cb-toggle-btn:not(.active):hover {
    color: #fff;
    background: rgba(255,255,255,.08);
}

/* Hero headline */
.cb-hero-title {
    font-size: clamp(44px, 6.5vw, 86px) !important;
    font-weight: 400 !important;
    color: #fff !important;
    letter-spacing: -.02em !important;
    line-height: 1.05 !important;
    font-style: italic;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    text-shadow: 0 2px 24px rgba(0,0,0,.3);
}

/* Success message */
.cb-success-hero {
    background: rgba(16,185,129,.14);
    border: 1px solid rgba(16,185,129,.35);
    border-radius: 12px;
    padding: 20px 24px;
    color: #fff;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    max-width: 480px;
    text-align: left;
    font-size: 14px;
}

.cb-success-hero strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.cb-success-hero p {
    opacity: .8;
    margin: 4px 0 0;
    font-size: 13px;
}

.cb-wa-btn {
    display: inline-block;
    margin-top: 10px;
    background: #25d366;
    color: #fff;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* Bar wrapper */
.cb-bar-wrap {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1300px;
    padding: 0 32px 48px;
}

/* Main horizontal bar */
.cb-bar {
    display: flex;
    align-items: stretch;
    background: rgba(16,16,18,.84);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.cb-bar-field {
    flex: 1;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cb-bar-field--narrow {
    flex: 0 0 155px;
}

.cb-bar-sep {
    width: 1px;
    background: rgba(255,255,255,.09);
    margin: 14px 0;
    flex-shrink: 0;
}

.cb-bar-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    color: rgba(255,255,255,.45);
    font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
}

.cb-bar-input {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 15px !important;
    font-family: Georgia, serif !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    caret-color: #3b82f6;
    -webkit-appearance: none;
    appearance: none;
}

.cb-bar-input::placeholder { color: rgba(255,255,255,.32) !important; }
.cb-bar-input option { background: #1a1a2e; color: #fff; }

/* Dark date/time */
.cb-date-input,
.cb-time-input {
    color-scheme: dark;
}

.cb-date-input::-webkit-calendar-picker-indicator,
.cb-time-input::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(.35);
    cursor: pointer;
}

/* View options button */
.cb-bar-btn {
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 0 14px 14px 0;
    padding: 0 30px;
    font-size: 15px;
    font-weight: 600;
    font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
    flex-shrink: 0;
    letter-spacing: .2px;
    min-width: 140px;
}

.cb-bar-btn:hover  { background: #2563eb; }
.cb-bar-btn:active { background: #1d4ed8; }
.cb-bar-btn:disabled { background: #555; cursor: not-allowed; }

/* Error box */
.cb-error-hero {
    background: rgba(220,38,38,.14);
    border: 1px solid rgba(220,38,38,.35);
    border-radius: 8px;
    padding: 11px 16px;
    color: #fca5a5;
    font-size: 13px;
    margin-top: 8px;
    font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

/* Details panel */
.cb-details {
    margin-top: 2px;
    background: rgba(16,16,18,.84);
    border: 1px solid rgba(255,255,255,.1);
    border-top: none;
    border-radius: 0 0 16px 16px;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.cb-details-inner {
    padding: 24px 26px;
}

.cb-details-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.cb-details-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding-bottom: 10px;
}

/* Price badge */
.cb-price-tag {
    font-size: 12px;
    color: #6ee7b7;
    margin-top: 3px;
    font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

.cb-price-tag strong { color: #fff; }

/* Confirm button */
.cb-confirm-btn {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif;
    cursor: pointer;
    letter-spacing: .3px;
    transition: background .2s, transform .1s;
}

.cb-confirm-btn:hover  { background: #2563eb; }
.cb-confirm-btn:active { transform: scale(.99); }
.cb-confirm-btn:disabled { background: #555; cursor: not-allowed; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .cb-hero-arch { display: none; }

    .cb-bar {
        flex-direction: column;
        border-radius: 16px;
    }

    .cb-bar-sep { display: none; }

    .cb-bar-field {
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .cb-bar-field--narrow { flex: 1; }

    .cb-bar-btn {
        border-radius: 0 0 14px 14px;
        padding: 16px;
        min-width: unset;
    }

    .cb-details {
        border-radius: 0 0 16px 16px;
    }

    .cb-details-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .cb-bar-wrap { padding: 0 16px 32px; }
    .cb-hero-content { padding-bottom: 40px; }
}
