/* ─────────────────────────────────────────────────────────────────────────────
   Bank transfer details

   The company's account details, rendered wherever a traveller is asked to
   pay by transfer: the checkout payment panel and the booking confirmation
   screen. Markup comes from Modules\Booking\Services\BankTransferDetails,
   which emits classes only — no CSS lives in the PHP.

   Traveller-facing, so this takes its type and spacing from design-tokens.css
   rather than the back-office monochrome rules.

   The PDF invoice deliberately does NOT use this file. dompdf can't reach
   public_html, so the printed version carries its own styles inside
   themes/BC/Booking/Views/pdf/invoice.blade.php.
   ───────────────────────────────────────────────────────────────────────────── */

.tm-bank {
    font-family: var(--tm-font-sans, inherit);
    font-size: .875rem;
    line-height: 1.6;
    color: var(--tm-ink, #000);
}

/* A label/value list rather than a table: it has to stay readable when the
   checkout column narrows on a phone, where a two-column table would either
   overflow or crush the account number. */
.tm-bank-rows {
    border: 1px solid var(--tm-line, #e2e8f0);
    border-radius: var(--tm-radius, .5rem);
    overflow: hidden;
}

.tm-bank-row {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1rem;
    padding: .625rem .875rem;
    border-bottom: 1px solid var(--tm-line, #e2e8f0);
}

.tm-bank-row:last-child {
    border-bottom: 0;
}

.tm-bank-label {
    flex: 0 0 11rem;
    max-width: 100%;
    color: var(--tm-slate-500, #64748b);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .6875rem;
    font-weight: 600;
    align-self: center;
}

/* Account numbers get tabular figures and are selectable as one run, because
   the whole point of this block is that someone copies the number correctly. */
.tm-bank-value {
    flex: 1 1 12rem;
    min-width: 0;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    word-break: break-word;
    user-select: all;
}

.tm-bank-note {
    margin: .75rem 0 0;
    font-size: .8125rem;
    color: var(--tm-slate-500, #64748b);
}

.tm-bank-note a {
    color: var(--tm-green, #038a52);
    font-weight: 600;
}

/* Below the checkout column's breakpoint the label stops reserving a column
   and simply sits above its value. */
@media (max-width: 575px) {
    .tm-bank-label {
        flex-basis: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Booking confirmation hero

   The same details, shown on the post-checkout screen while a balance is
   still outstanding. Sits inside .bk-hero (module/booking/css/checkout.css),
   whose panel is already tinted, so this block takes white paper to separate
   itself from the status tint the way .bk-hero-note does.
   ═══════════════════════════════════════════════════════════════════════════ */

.bk-hero-bank {
    margin-top: .75rem;
    padding: .85rem 1rem 1rem;
    background: var(--tm-white, #fff);
    border-radius: var(--tm-radius, .5rem);
}

.bk-hero-bank-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: .6rem;
}

.bk-hero-bank-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--tm-ink, #111827);
}

.bk-hero-bank-amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tm-green, #038a52);
}

.bk-hero-bank-ref {
    margin: .6rem 0 0;
    font-size: .8125rem;
    color: var(--tm-slate-500, #64748b);
}

@media (max-width: 767px) {
    .bk-hero-bank {
        padding: .65rem .7rem .75rem;
    }

    .bk-hero-bank-title,
    .bk-hero-bank-amount {
        font-size: .82rem;
    }
}
