/* ═══════════════════════════════════════════════════════════════
   Torden Booking — matches Loveable app CSS variables exactly
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

.torden-booking-app {
    /* Exact oklch values from the Loveable app */
    --tb-bg:          oklch(13% .015 330);
    --tb-card:        oklch(17% .018 330);
    --tb-card-2:      oklch(21% .02  330);
    --tb-input-bg:    oklch(24% .02  330);
    --tb-border:      oklch(28% .022 330 / .7);
    --tb-accent:      oklch(72% .25  350);   /* gold/primary */
    --tb-accent-soft: oklch(62% .18  350);
    --tb-accent-dark: oklch(42% .18  340);   /* burgundy */
    --tb-accent-dim:  oklch(72% .25  350 / .14);
    --tb-text:        oklch(96% .012  85);
    --tb-muted:       oklch(68% .018  70);
    --tb-success:     oklch(70% .16  150);
    --tb-danger:      oklch(58% .22   27);
    --tb-radius:      0.75rem;
    --tb-radius-sm:   0.5rem;

    /* No background — the plugin floats on whatever the page provides.
       Each card has its own dark background via --tb-card.             */
    display: block; width: 100%; height: auto;
    box-sizing: border-box;
    background: transparent;
    color: var(--tb-text);
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

/* Playfair Display for headings — matches --font-display in Loveable */
.torden-booking-app h2,
.torden-booking-app h3,
.torden-booking-app .tb-confirm-title {
    font-family: "Playfair Display", ui-serif, Georgia, serif;
}

.tb-inner { padding: 0 28px 36px; }

/* ── Progress bar ── */
.tb-progress { display: flex; align-items: center; padding: 28px 0 0; }
.tb-step-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 7px; flex: 1; position: relative;
}
.tb-step-item:not(:last-child)::after {
    content: ''; position: absolute; top: 15px;
    left: calc(50% + 20px); right: calc(-50% + 20px);
    height: 1px; background: var(--tb-border); transition: background 0.3s;
}
.tb-step-item.done:not(:last-child)::after { background: var(--tb-accent); }
.tb-step-circle {
    width: 30px; height: 30px; border-radius: 50%;
    border: 1.5px solid var(--tb-border); background: var(--tb-card);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: var(--tb-muted);
    transition: all 0.3s; z-index: 1; position: relative;
}
.tb-step-item.active .tb-step-circle { border-color: var(--tb-accent); color: var(--tb-accent); background: var(--tb-accent-dim); }
.tb-step-item.done  .tb-step-circle  { border-color: var(--tb-accent); background: var(--tb-accent); color: var(--tb-bg); }
.tb-step-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tb-muted); white-space: nowrap; }
.tb-step-item.active .tb-step-label { color: var(--tb-accent); }
.tb-step-item.done   .tb-step-label { color: var(--tb-text); }
.tb-step-item.tb-back { cursor: pointer; }
.tb-step-item.tb-back:hover .tb-step-circle { filter: brightness(1.15); }
.tb-step-item.tb-locked { cursor: not-allowed; opacity: 0.45; }

/* ── Body: both columns are cards ── */
.tb-body { display: grid; grid-template-columns: 1fr 268px; gap: 20px; padding-top: 28px; }
.tb-body.full { grid-template-columns: 1fr; }
.tb-main {
    background: var(--tb-card); border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius); padding: 28px; min-width: 0;
}
.tb-main h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 4px; }
.tb-main .tb-subtitle { color: var(--tb-muted); font-size: .875rem; margin: 0 0 22px; }

/* ── Sidebar card ── */
.tb-sidebar {
    background: var(--tb-card); border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius); padding: 20px;
    position: sticky; top: 20px; align-self: start;
}
.tb-sidebar-title {
    font-size: .9375rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; margin-bottom: 16px;
    background: linear-gradient(135deg, oklch(72% .25 350) 0%, oklch(80% .22 340) 60%, oklch(72% .25 350) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.tb-sidebar-row { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--tb-border); font-size: .8125rem; }
.tb-sidebar-row:last-child { border-bottom: none; }
.tb-sidebar-row .label { color: var(--tb-muted); }
.tb-sidebar-row .value { color: var(--tb-text); font-weight: 500; text-align: right; max-width: 58%; font-size: .75rem; }
.tb-sidebar-total { margin-top: 4px; padding-top: 12px; }
.tb-sidebar-total .tb-sidebar-row .label { color: var(--tb-text); font-weight: 700; font-size: 1rem !important; }
.tb-sidebar-total .tb-sidebar-row .value { font-size: 1rem !important; font-weight: 700 !important; color: var(--tb-text) !important; }
.tb-deposit-amount { color: var(--tb-accent); font-size: 1.375rem; font-weight: 700; text-align: right; margin-top: 6px; }
.tb-deposit-note { color: var(--tb-muted); font-size: .6875rem; margin-top: 4px; line-height: 1.5; }

/* ── Nav buttons ── */
.tb-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.tb-btn {
    padding: 12px 28px; border-radius: 100px; font-size: .9375rem;
    font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
    line-height: 1; display: inline-flex; align-items: center; gap: 8px;
    font-family: inherit;
}
.tb-btn-primary { background: var(--tb-accent); color: var(--tb-bg); }
.tb-btn-primary:hover:not(:disabled) { background: var(--tb-accent-soft); transform: translateY(-1px); }
.tb-btn-primary:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.tb-btn-ghost { background: transparent; color: var(--tb-muted); border: 1px solid var(--tb-border); }
.tb-btn-ghost:hover { color: var(--tb-text); border-color: var(--tb-muted); }

/* ── Calendar ── */
.tb-calendar { background: var(--tb-card-2); border: 1px solid var(--tb-border); border-radius: var(--tb-radius); padding: 16px; }
.tb-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.tb-cal-header span { font-size: .875rem; font-weight: 600; }
.tb-cal-nav { background: none; border: none; color: var(--tb-muted); cursor: pointer; padding: 4px 8px; border-radius: 6px; transition: color 0.2s; display: flex; align-items: center; }
.tb-cal-nav:hover { color: var(--tb-text); }
.tb-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 2px; }
.tb-cal-dow { text-align: center; font-size: .6875rem; font-weight: 700; color: var(--tb-muted); padding: 4px 0 8px; }
.tb-cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: .75rem; color: oklch(68% .018 70 / .35); cursor: default; transition: all 0.15s; user-select: none; }
.tb-cal-day.open { color: var(--tb-accent); cursor: pointer; border: 1.5px solid var(--tb-accent); }
.tb-cal-day.open:hover { background: var(--tb-accent-dim); }
.tb-cal-day.selected { background: var(--tb-accent) !important; color: var(--tb-bg) !important; border-color: var(--tb-accent) !important; }
.tb-cal-day.past { opacity: 0.2; }
.tb-selected-date { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--tb-border); font-size: .8125rem; color: var(--tb-muted); text-align: center; }
.tb-selected-date strong { color: var(--tb-text); display: block; margin-top: 3px; }
.tb-night-badge {
    margin-top: 12px; padding: 11px 20px;
    background: oklch(72% .25 350 / .1);
    border: 1px solid oklch(72% .25 350 / .3);
    border-radius: var(--tb-radius-sm);
    color: var(--tb-accent); font-weight: 600;
    font-size: .9375rem; text-align: center;
}

/* ── Step 1 layout ── */
.tb-step1-layout { display: grid; grid-template-columns: 310px 1fr; gap: 28px; align-items: start; }
.tb-step1-right { display: flex; flex-direction: column; gap: 24px; }
.tb-section-label { font-size: 1.125rem; font-weight: 600; margin: 0 0 4px; font-family: "Playfair Display", serif; }
.tb-section-sub { color: var(--tb-muted); font-size: .8125rem; margin: 0 0 14px; }

/* ── Guest stepper ── */
.tb-guest-stepper { display: flex; align-items: center; gap: 16px; }
.tb-stepper-btn {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1.5px solid var(--tb-border); background: var(--tb-card-2);
    color: var(--tb-text); font-size: 22px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0;
}
.tb-stepper-btn:hover { border-color: var(--tb-accent); color: var(--tb-accent); }
.tb-stepper-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.tb-stepper-center { display: flex; flex-direction: column; align-items: center; min-width: 80px; }
.tb-stepper-val { font-size: 3rem; font-weight: 700; color: var(--tb-accent); line-height: 1; width: 80px; text-align: center; font-family: "Playfair Display", serif; }
.tb-stepper-unit { font-size: .625rem; color: var(--tb-muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 3px; }

/* ── Chips ── */
.tb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tb-chip { padding: 8px 16px; border-radius: 100px; border: 1.5px solid var(--tb-border); background: transparent; color: var(--tb-text); font-size: .8125rem; cursor: pointer; transition: all 0.15s; font-family: inherit; }
.tb-chip:hover { border-color: var(--tb-muted); }
.tb-chip.selected { border-color: var(--tb-accent); background: var(--tb-accent-dim); color: var(--tb-accent); font-weight: 600; }

/* ── Floor map ── */
.tb-floormap-wrap { background: oklch(11% .01 330); border: 1px solid var(--tb-border); border-radius: var(--tb-radius); overflow: hidden; }
.tb-floormap-svg { display: block; width: 100%; }
.tb-map-legend { display: flex; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--tb-border); flex-wrap: wrap; }
.tb-legend-item { display: flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--tb-muted); }
.tb-legend-dot { width: 12px; height: 12px; border-radius: 3px; }

/* ── Package cards ── */
.tb-package-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px,1fr)); gap: 14px; }
.tb-package-card { background: var(--tb-card-2); border: 1.5px solid var(--tb-border); border-radius: var(--tb-radius); overflow: hidden; cursor: pointer; transition: all 0.2s; }
.tb-package-card:hover { border-color: oklch(72% .25 350 / .5); transform: translateY(-2px); }
.tb-package-card.selected { border-color: var(--tb-accent); box-shadow: 0 0 0 1px var(--tb-accent); }
.tb-package-img { width: 100%; height: 130px; object-fit: cover; display: block; }
.tb-package-img-ph { width: 100%; height: 130px; background: var(--tb-card); display: flex; align-items: center; justify-content: center; color: var(--tb-muted); }
.tb-package-body { padding: 14px; }
.tb-package-hdr { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; gap: 6px; }
.tb-package-name { font-size: .875rem; font-weight: 700; }
.tb-package-price { font-size: .8125rem; font-weight: 700; color: var(--tb-accent); white-space: nowrap; }
.tb-package-desc { font-size: .6875rem; color: var(--tb-muted); margin-bottom: 8px; }
.tb-package-items { list-style: none; margin: 0; padding: 0; }
.tb-package-items li { font-size: .6875rem; color: var(--tb-muted); padding: 2px 0; display: flex; align-items: center; gap: 5px; }
.tb-package-items li svg { color: var(--tb-accent); flex-shrink: 0; }
.tb-custom-pkg { margin-top: 16px; background: var(--tb-card-2); border: 1px solid var(--tb-border); border-radius: var(--tb-radius); padding: 18px; }
.tb-custom-pkg h3 { font-size: .9375rem; font-weight: 600; margin: 0 0 5px; }
.tb-custom-pkg p { color: var(--tb-muted); font-size: .8125rem; margin: 0 0 10px; }
.tb-textarea { width: 100%; background: var(--tb-input-bg); border: 1px solid var(--tb-border); border-radius: var(--tb-radius-sm); color: var(--tb-text); padding: 10px 12px; font-size: .8125rem; resize: vertical; min-height: 70px; box-sizing: border-box; font-family: inherit; }
.tb-textarea:focus { outline: none; border-color: var(--tb-accent); }

/* ── Extras ── */
.tb-cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tb-cat-tab { padding: 7px 15px; border-radius: 100px; border: 1.5px solid var(--tb-border); background: transparent; color: var(--tb-muted); font-size: .8125rem; cursor: pointer; transition: all 0.15s; font-family: inherit; }
.tb-cat-tab:hover { color: var(--tb-text); border-color: var(--tb-muted); }
.tb-cat-tab.active { border-color: var(--tb-accent); color: var(--tb-accent); background: var(--tb-accent-dim); }
.tb-extras-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: 10px; }
.tb-extra-item { display: flex; align-items: center; gap: 10px; background: var(--tb-card-2); border: 1px solid var(--tb-border); border-radius: var(--tb-radius-sm); padding: 12px; }
.tb-extra-img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.tb-extra-img-ph { width: 40px; height: 40px; border-radius: 6px; background: var(--tb-card); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--tb-muted); }
.tb-extra-info { flex: 1; min-width: 0; }
.tb-extra-name { font-size: .75rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-extra-price { font-size: .6875rem; color: var(--tb-accent); margin-top: 2px; }
.tb-qty-ctrl { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.tb-qty-btn { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--tb-border); background: var(--tb-card); color: var(--tb-text); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.tb-qty-btn:hover { border-color: var(--tb-accent); color: var(--tb-accent); }
.tb-qty-btn:disabled { opacity: 0.3; cursor: default; }
.tb-qty-val { font-size: .875rem; font-weight: 600; min-width: 16px; text-align: center; }

/* ── Step 5 form ── */
.tb-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tb-form-group { display: flex; flex-direction: column; gap: 6px; }
.tb-form-group.full { grid-column: 1 / -1; }
.tb-form-group label { font-size: .6875rem; font-weight: 700; color: var(--tb-muted); text-transform: uppercase; letter-spacing: .08em; }
.tb-form-group label span { color: var(--tb-accent); }
.tb-input { background: var(--tb-input-bg); border: 1px solid var(--tb-border); border-radius: var(--tb-radius-sm); color: var(--tb-text); padding: 11px 14px; font-size: .875rem; font-family: inherit; transition: border-color 0.2s; box-sizing: border-box; width: 100%; }
.tb-input:focus { outline: none; border-color: var(--tb-accent); }
.tb-input::placeholder { color: var(--tb-muted); }
.tb-input.invalid { border-color: var(--tb-danger); }
.tb-input.valid   { border-color: var(--tb-success); }
.tb-field-hint { font-size: .6875rem; color: var(--tb-muted); }
.tb-field-hint.error { color: var(--tb-danger); }

/* ── Phone input: [+45 ▾] [digits] ── */
.tb-phone-wrap { position: relative; display: flex; }
.tb-country-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 11px 12px; background: var(--tb-input-bg);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-sm);
    color: var(--tb-text); cursor: pointer; white-space: nowrap;
    font-size: .875rem; font-family: inherit; transition: border-color 0.2s; flex-shrink: 0;
}
.tb-country-btn:hover { border-color: var(--tb-muted); }
.tb-phone-wrap { gap: 8px; }
.tb-phone-wrap .tb-input { border-radius: var(--tb-radius-sm); flex: 1; min-width: 0; }
.tb-country-dd {
    position: absolute; top: calc(100% + 4px); left: 0; z-index: 200;
    background: var(--tb-card-2); border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-sm); min-width: 220px; max-height: 220px;
    overflow-y: auto; box-shadow: 0 8px 28px oklch(0% 0 0 / .5);
}
.tb-country-dd::-webkit-scrollbar { width: 4px; }
.tb-country-dd::-webkit-scrollbar-thumb { background: var(--tb-border); border-radius: 2px; }
.tb-country-opt { padding: 10px 14px; cursor: pointer; font-size: .8125rem; color: var(--tb-text); transition: background 0.1s; display: flex; align-items: center; gap: 8px; }
.tb-country-opt:hover { background: var(--tb-accent-dim); }
.tb-country-opt.active { color: var(--tb-accent); }

/* ── Errors / loading ── */
.tb-error-msg { color: var(--tb-danger); background: oklch(58% .22 27 / .1); border: 1px solid oklch(58% .22 27 / .4); border-radius: var(--tb-radius-sm); padding: 12px 16px; font-size: .875rem; margin-bottom: 16px; }
.tb-loading-wrap { display: flex; align-items: center; justify-content: center; padding: 60px 0; flex-direction: column; gap: 14px; }
.tb-spinner { width: 36px; height: 36px; border: 3px solid var(--tb-border); border-top-color: var(--tb-accent); border-radius: 50%; animation: tb-spin 0.75s linear infinite; }
@keyframes tb-spin { to { transform: rotate(360deg); } }
.tb-loading-text { color: var(--tb-muted); font-size: .875rem; }

/* Pre-reserve height for night badge so layout never shifts */
.tb-selected-date { min-height: 2em; }
.tb-night-badge   { min-height: 46px; }
/* Fixed-height area so selecting a date NEVER changes the card height */
.tb-date-area {
    height: 132px;       /* pre-calculated: date-text(68px) + badge(54px) + buffer */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Nav buttons always sit at bottom of card */
.tb-body:not(.full) .tb-main {
    display: flex; flex-direction: column; min-height: 500px;
}
.tb-body:not(.full) .tb-main .tb-nav { margin-top: auto; padding-top: 16px; }

/* ── Confirmation ── */
.tb-confirm-banner { background: oklch(70% .16 150 / .12); border: 1px solid oklch(70% .16 150 / .35); border-radius: 100px; padding: 10px 20px; font-size: .8125rem; color: var(--tb-success); text-align: center; margin-bottom: 28px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.tb-confirm-hero { text-align: center; margin-bottom: 32px; }
.tb-confirm-check { width: 60px; height: 60px; border-radius: 50%; background: oklch(42% .18 340 / .3); border: none; display: flex; align-items: center; justify-content: center; color: var(--tb-accent); margin: 0 auto 16px; }
.tb-confirm-eyebrow { font-size: .625rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--tb-accent); margin-bottom: 8px; }
.tb-confirm-title { font-size: 1.875rem; font-weight: 700; margin: 0 0 8px; }
.tb-confirm-sub { color: var(--tb-muted); font-size: .875rem; margin: 0; }
.tb-confirm-sub strong { color: var(--tb-accent); }
.tb-confirm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.tb-confirm-card { background: var(--tb-card); border: 1px solid var(--tb-border); border-radius: var(--tb-radius); padding: 20px; }
.tb-confirm-sec-label { font-size: .625rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tb-accent); margin-bottom: 16px; }
.tb-confirm-detail-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--tb-border); }
.tb-confirm-detail-row:last-of-type { border-bottom: none; }
.tb-confirm-detail-icon { color: var(--tb-accent); flex-shrink: 0; margin-top: 2px; line-height: 0; }
.tb-confirm-detail-label { font-size: .5625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tb-muted); margin-bottom: 2px; }
.tb-confirm-detail-val { font-size: .8125rem; font-weight: 500; }
.tb-confirm-line { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: .8125rem; color: var(--tb-muted); }
.tb-confirm-line.strong { color: var(--tb-text); font-weight: 600; border-top: 1px solid var(--tb-border); padding-top: 10px; margin-top: 4px; }
.tb-confirm-deposit-val {
    font-size: 1.375rem; font-weight: 700;
    font-family: "Playfair Display", serif;
    background: linear-gradient(135deg, oklch(72% .25 350) 0%, oklch(80% .22 340) 60%, oklch(72% .25 350) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.tb-confirm-pay { text-align: center; }
.tb-confirm-pay-sub { color: var(--tb-muted); font-size: .8125rem; margin: 0 0 16px; }
.tb-qr-outer { background: oklch(96% .012 85); border-radius: 10px; padding: 10px; display: inline-block; margin: 0 auto 16px; }
.tb-qr-outer canvas { display: block !important; }
.tb-qr-outer img { display: none !important; }  /* hide duplicate */
.tb-confirm-mp-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; text-decoration: none; margin-bottom: 16px; justify-content: center; }
.tb-confirm-mp-info { color: var(--tb-muted); font-size: .75rem; line-height: 2; }
.tb-confirm-mp-info strong { color: var(--tb-text); }
.tb-confirm-next { background: var(--tb-card); border: 1px solid var(--tb-border); border-radius: var(--tb-radius-sm); padding: 16px 20px; font-size: .8125rem; color: var(--tb-muted); line-height: 1.6; }
.tb-confirm-next strong { color: var(--tb-text); }

/* ── Responsive ── */
@media (max-width: 720px) {
    .tb-body, .tb-step1-layout, .tb-form-grid, .tb-confirm-cards { grid-template-columns: 1fr; }
    .tb-inner { padding: 0 16px 28px; }
    .tb-step-label { display: none; }
    .tb-main h2 { font-size: 1.25rem; }
}

/* ── Confirmation card heading (Detaljer / Betal depositum) ── */
.tb-confirm-card-title {
    font-family: "Playfair Display", ui-serif, Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tb-text);
    margin: 0 0 18px;
    letter-spacing: -.01em;
}

/* ── Deposit card: glowing pink-accent border to draw the eye ── */
.tb-confirm-pay-card {
    border-color: oklch(72% .25 350 / .5) !important;
    box-shadow: 0 0 0 1px oklch(72% .25 350 / .08),
                0 0 28px oklch(72% .25 350 / .14) !important;
}

/* ── Detail row icons: accent colour not muted grey ── */
.tb-confirm-detail-icon { color: var(--tb-accent) !important; }

/* ── Larger checkmark inside confirmation circle ── */
.tb-confirm-check svg { width: 30px !important; height: 30px !important; }

/* ── QR outer background: warm cream ── */
.tb-qr-outer { background: #F5E8C8; }

/* ── Button slide-on-hover (text moves in arrow direction) ── */
.tbi { display: inline-flex; align-items: center; gap: 8px; transition: transform 0.22s cubic-bezier(.4,0,.2,1); }
.tb-btn-primary:hover:not(:disabled) { transform: none; box-shadow: 0 0 0 2px oklch(72% .25 350 / .5); }
.tb-btn-primary:hover:not(:disabled) .tbi { transform: translateX(4px); }
.tb-btn-ghost:hover .tbi { transform: translateX(-4px); }

/* ── Deposit amount: gradient text ── */
/* Deposit: label + value on same row */
.tb-deposit-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding-top: 8px; margin-top: 6px;
    /* no border-top here — tb-sidebar-total already has one */
}
.tb-deposit-row-label {
    color: var(--tb-text); font-size: .8125rem; font-weight: 600;
}
.tb-deposit-amount {
    font-size: .875rem; font-weight: 700;
    background: linear-gradient(135deg, oklch(72% .25 350) 0%, oklch(80% .22 340) 60%, oklch(72% .25 350) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Confirmation circle: semi-transparent bg + accent border (matches Loveable) ── */
.tb-confirm-check {
    background: oklch(42% .18 340 / .22) !important;
    border: 2px solid var(--tb-accent) !important;
}

/* ── Confirmation detail rows: vertically center icons ── */
.tb-confirm-detail-row { align-items: center !important; }

/* ── Toast notification ── */
@keyframes tb-toast-in  { from { opacity:0; transform:translate(-50%,-16px); } to { opacity:1; transform:translate(-50%,0); } }
@keyframes tb-toast-out { from { opacity:1; transform:translate(-50%,0); } to { opacity:0; transform:translate(-50%,-16px); } }
.tb-toast {
    position: fixed; top: 24px; left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    background: oklch(70% .16 150 / .15);
    border: 1px solid oklch(70% .16 150 / .4);
    color: var(--tb-success);
    padding: 11px 22px; border-radius: 100px;
    font-size: .875rem; font-weight: 500;
    display: flex; align-items: center; gap: 8px;
    white-space: nowrap;
    backdrop-filter: blur(12px);
    animation: tb-toast-in 0.35s cubic-bezier(.4,0,.2,1) forwards;
}
.tb-toast-out { animation: tb-toast-out 0.4s cubic-bezier(.4,0,.2,1) forwards !important; }

/* ── Night badge always reserves its height (no layout shift) ── */
.tb-night-badge { min-height: 44px; }
/* Deposit disclaimer on confirmation page */
.tb-confirm-deposit-note {
    font-size: .6875rem; color: var(--tb-muted);
    margin-top: 8px; line-height: 1.5;
}
/* Night badge when placed in the nav row — no top margin */
.tb-nav .tb-night-badge { margin-top: 0; }
.tb-body.full .tb-main .tb-nav { margin-top: 6px; }
