/* Velocity Suites guest web - design system shared with the app (red brand, sentence case, tabular figures). */
:root {
    --vs-red: #C7333E;
    --vs-red-dark: #A62B34;
    --vs-red-soft: #FDECEC;
    --vs-ink: #1b1b1f;
    --vs-muted: #5f6368;
    --vs-line: #e7e7ea;
    --vs-surface: #ffffff;
    --vs-bg: #f7f7f9;
    --vs-green: #1b5e20;
    --vs-green-soft: #e8f5e9;
    --vs-amber: #8a5a00;
    --vs-amber-soft: #fff4de;
    --vs-radius: 14px;
    --vs-shadow: 0 2px 10px rgba(20, 20, 30, .07);
}
[data-bs-theme="dark"] {
    --vs-ink: #ededf0; --vs-muted: #b4b6bd; --vs-line: #34383f; --vs-surface: #1e2128; --vs-bg: #14161b;
    --vs-red-soft: #3d1f1f; --vs-green: #81c784; --vs-green-soft: #1d3322; --vs-amber: #f2c36b; --vs-amber-soft: #3a2f17;
}

.vs-page { background: var(--vs-bg); color: var(--vs-ink); min-height: 70vh; }
.vs-page .text-muted { color: var(--vs-muted) !important; }
.vs-num, .vs-amount { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.vs-amount { text-align: right; white-space: nowrap; }

/* cards */
.vs-card { background: var(--vs-surface); border: 1px solid var(--vs-line); border-radius: var(--vs-radius); box-shadow: var(--vs-shadow); padding: 1.1rem 1.25rem; margin-bottom: 1rem; }
.vs-card > h2, .vs-card-title { font-size: .95rem; font-weight: 700; color: var(--vs-red); margin: 0 0 .75rem; letter-spacing: 0; text-transform: none; }
.vs-section-title { font-size: 1.15rem; font-weight: 700; margin: 0 0 .75rem; }

/* label left / amount right rows */
.vs-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .28rem 0; }
.vs-row > span:first-child { color: var(--vs-muted); }
.vs-row > span:last-child { text-align: right; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; font-weight: 600; color: var(--vs-ink); }
.vs-row.vs-strong > span { color: var(--vs-ink); font-weight: 700; }
.vs-row.vs-sub { padding-left: 1rem; font-size: .88rem; }
.vs-rule { border: 0; border-top: 1px solid var(--vs-line); margin: .6rem 0; }
.vs-neg { color: var(--vs-green) !important; }

/* buttons */
.btn-velocity, .btn-velocity:visited { background: var(--vs-red); border: 1px solid var(--vs-red); color: #fff; font-weight: 600; border-radius: 10px; padding: .55rem 1.1rem; transition: transform .12s ease, background .15s ease; }
.btn-velocity:hover { background: var(--vs-red-dark); border-color: var(--vs-red-dark); color: #fff; }
.btn-velocity:active { transform: scale(.98); }
.btn-velocity:disabled, .btn-velocity.disabled { opacity: .55; }
.btn-outline-velocity { border: 1px solid var(--vs-red); color: var(--vs-red); background: transparent; font-weight: 600; border-radius: 10px; padding: .5rem 1.05rem; }
.btn-outline-velocity:hover { background: var(--vs-red-soft); color: var(--vs-red-dark); }
.btn:focus-visible, .form-control:focus-visible, .form-select:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid rgba(214, 65, 75, .45); outline-offset: 2px; }
.form-control:focus, .form-select:focus { border-color: var(--vs-red); box-shadow: 0 0 0 .2rem rgba(214, 65, 75, .18); }

/* chips and status */
.vs-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--vs-red-soft); color: var(--vs-red-dark); }
.vs-chip.ok { background: var(--vs-green-soft); color: var(--vs-green); }
.vs-chip.wait { background: var(--vs-amber-soft); color: var(--vs-amber); }
.vs-chip.bad { background: #fde7e7; color: #a11; }
[data-bs-theme="dark"] .vs-chip.bad { background: #3d1f1f; color: #ff8a80; }
.vs-chip.gray { background: #eee; color: #444; }
[data-bs-theme="dark"] .vs-chip.gray { background: #2a2d34; color: #c6c6c6; }

/* room cards */
.vs-room { background: var(--vs-surface); border: 1px solid var(--vs-line); border-radius: var(--vs-radius); overflow: hidden; box-shadow: var(--vs-shadow); display: flex; flex-direction: column; height: 100%; transition: transform .18s ease, box-shadow .18s ease; }
.vs-room:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(20, 20, 30, .14); }
.vs-room-photo { position: relative; aspect-ratio: 16 / 10; background: #ddd; overflow: hidden; }
.vs-room-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vs-room-avail { position: absolute; top: .6rem; left: .6rem; }
.vs-room-promo { position: absolute; bottom: .6rem; left: .6rem; background: var(--vs-red); color: #fff; font-weight: 700; font-size: .78rem; padding: .22rem .6rem; border-radius: 999px; }
.vs-room-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.vs-room-body h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.vs-room-facts { color: var(--vs-muted); font-size: .88rem; }
.vs-room-price { font-size: 1.15rem; font-weight: 800; color: var(--vs-red); font-variant-numeric: tabular-nums; }
.vs-room-price small { color: var(--vs-muted); font-weight: 500; font-size: .8rem; }
.vs-room-price s { color: var(--vs-muted); font-weight: 500; font-size: .85rem; margin-right: .35rem; }

/* empty / skeleton / toast */
.vs-empty { text-align: center; padding: 2rem 1rem; color: var(--vs-muted); }
.vs-empty > i { font-size: 2rem; color: var(--vs-red); opacity: .8; margin-bottom: .6rem; }
.vs-skel { background: linear-gradient(90deg, var(--vs-line) 25%, rgba(255, 255, 255, .5) 50%, var(--vs-line) 75%); background-size: 200% 100%; border-radius: 8px; animation: vs-shimmer 1.3s infinite linear; }
@keyframes vs-shimmer { to { background-position: -200% 0; } }
.vs-toasts { position: fixed; z-index: 2000; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: .5rem; max-width: min(92vw, 380px); }
.vs-toast { display: flex; gap: .6rem; align-items: flex-start; background: var(--vs-surface); color: var(--vs-ink); border: 1px solid var(--vs-line); border-left: 4px solid var(--vs-red); border-radius: 10px; padding: .7rem .9rem; box-shadow: var(--vs-shadow); animation: vs-in .25s ease; }
.vs-toast-success { border-left-color: #2e7d32; } .vs-toast-warning { border-left-color: #b26a00; }
.vs-toast-out { opacity: 0; transform: translateY(6px); transition: all .3s; }
.vs-modal { border-radius: var(--vs-radius); background: var(--vs-surface); color: var(--vs-ink); }
@keyframes vs-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.vs-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.vs-reveal.vs-in { opacity: 1; transform: none; }
.vs-reduced .vs-reveal, .vs-reduced .vs-toast { opacity: 1; transform: none; animation: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
    .vs-reveal { opacity: 1; transform: none; transition: none; }
    .vs-skel, .vs-toast, .vs-room { animation: none; transition: none; }
}

/* step bar used by the wizards */
.vs-steps { display: flex; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; overflow-x: auto; }
.vs-steps li { flex: 1 0 auto; min-width: 2.2rem; height: 6px; border-radius: 4px; background: var(--vs-line); }
.vs-steps li.done { background: var(--vs-red); opacity: .55; }
.vs-steps li.now { background: var(--vs-red); }
.vs-stepline { color: var(--vs-muted); font-size: .88rem; margin-bottom: .25rem; }

/* pinned money summary (bottom) */
.vs-summary { position: sticky; bottom: 0; z-index: 30; background: var(--vs-red-soft); border-top: 1px solid var(--vs-line); border-radius: var(--vs-radius) var(--vs-radius) 0 0; padding: .8rem 1.1rem; box-shadow: 0 -6px 18px rgba(20, 20, 30, .08); }
.vs-summary .vs-row { padding: .12rem 0; }
.vs-summary .vs-pay { font-size: 1.25rem; font-weight: 800; color: var(--vs-red-dark); }
.vs-summary .vs-pay.settled { color: var(--vs-green); }
.vs-alert { border-radius: 10px; }

/* page header */
.vs-head { padding: 1.4rem 0 .6rem; }
.vs-head h1 { font-size: 1.5rem; font-weight: 800; margin: 0; }
.vs-head p { color: var(--vs-muted); margin: .2rem 0 0; }

@media (max-width: 575.98px) {
    .vs-card { padding: .95rem 1rem; }
    .vs-head h1 { font-size: 1.3rem; }
}
img { max-width: 100%; }
html, body { overflow-x: hidden; }

/* auth */
.vs-auth { max-width: 520px; margin: 1.5rem auto 3rem; }
.vs-otp { display: flex; gap: .5rem; justify-content: center; }
.vs-otp-box { width: 2.9rem; height: 3.3rem; text-align: center; font-size: 1.4rem; font-weight: 700; padding: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 380px) { .vs-otp-box { width: 2.5rem; height: 3rem; } }
.vs-checklist li { color: var(--vs-muted); padding: .1rem 0; }
.vs-checklist li.ok { color: var(--vs-green); }
.vs-checklist i { font-size: .8rem; }
.vs-success { width: 72px; height: 72px; border-radius: 50%; background: var(--vs-green-soft); color: var(--vs-green); display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; animation: vs-pop .45s ease; }
@keyframes vs-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.vs-reduced .vs-success { animation: none; }
.vs-terms { max-height: 52vh; overflow: auto; white-space: pre-line; font-size: .92rem; }

/* stays */
.vs-stay-card { color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.vs-stay-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20,20,30,.12); color: inherit; }
.vs-rcpt { border: 1px solid var(--vs-line); border-radius: 12px; padding: .7rem .9rem; margin-bottom: .55rem; color: var(--vs-ink); background: var(--vs-surface); }
a.vs-rcpt:hover { border-color: var(--vs-red); color: var(--vs-ink); }
.vs-rcpt-off { opacity: .75; background: transparent; }
.vs-tl { position: relative; padding-left: 1.2rem; border-left: 2px solid var(--vs-line); margin-left: .4rem; }
.vs-tl li { position: relative; padding: 0 0 .9rem .7rem; }
.vs-tl li::before { content: ""; position: absolute; left: -1.62rem; top: .3rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--vs-line); border: 2px solid var(--vs-surface); }
.vs-tl li.now::before { background: var(--vs-red); }
.vs-summary .vs-pay { font-variant-numeric: tabular-nums; }

/* dashboard */
.vs-donut { --p: 0; width: 76px; height: 76px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none;
    background: conic-gradient(var(--vs-red) calc(var(--p) * 1%), var(--vs-line) 0); position: relative; }
.vs-donut::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--vs-surface); }
.vs-donut span { position: relative; font-weight: 800; font-size: .95rem; font-variant-numeric: tabular-nums; }
.vs-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.vs-cal-day { position: relative; padding: .45rem 0; border-radius: 8px; font-variant-numeric: tabular-nums; }
.vs-cal-day.today { background: var(--vs-red-soft); font-weight: 800; }
.vs-cal-day i { position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--vs-red); }

/* notifications and profile */
.vs-note { border: 1px solid var(--vs-line); cursor: pointer; transition: border-color .15s ease; }
.vs-note:hover { border-color: var(--vs-red); }
.vs-note.unread { border-left: 4px solid var(--vs-red); }
.vs-cover { height: 190px; background-size: cover; background-position: center; }
.vs-avatar-wrap { position: relative; width: 112px; margin: -56px auto 0; }
.vs-avatar { width: 112px; height: 112px; border-radius: 50%; border: 4px solid var(--vs-surface); overflow: hidden; padding: 0; background: var(--vs-red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; cursor: pointer; }
.vs-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vs-avatar-init { cursor: default; }
.vs-cam { position: absolute; right: -2px; bottom: 4px; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--vs-surface); background: var(--vs-red); color: #fff; }
.vs-menu { position: absolute; z-index: 40; background: var(--vs-surface); border: 1px solid var(--vs-line); border-radius: 12px; box-shadow: var(--vs-shadow); min-width: 220px; padding: .3rem; }
.vs-menu button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: .55rem .75rem; border-radius: 8px; color: var(--vs-ink); }
.vs-menu button:hover { background: var(--vs-red-soft); }
.vs-viewer { position: fixed; inset: 0; z-index: 3000; background: rgba(0, 0, 0, .92); display: flex; align-items: center; justify-content: center; touch-action: none; overflow: hidden; }
.vs-viewer img { max-width: 100%; max-height: 100%; transition: transform .08s linear; }
.vs-viewer-x { position: absolute; top: 12px; right: 18px; background: transparent; border: 0; color: #fff; font-size: 2.2rem; line-height: 1; }

/* radio buttons drawn as buttons stay inside their column (no sideways scroll) */
#vsPct > [class*="col-"] { position: relative; }
.vs-page .btn-check { left: 0; top: 0; width: 1px; height: 1px; }
.btn-check:checked + .btn-outline-velocity { background: var(--vs-red); color: #fff; }

/* ---- the guest shell: the staff roles' sidebar, header, page area and footer ---- */
body.vs-page-body { background: var(--vs-bg); color: var(--vs-ink); }
.vs-footer { color: var(--vs-muted); font-size: .85rem; padding: 1.5rem 0; }
.vs-shell-main.vs-page { background: transparent; color: inherit; flex: 1 0 auto; min-height: auto; }
.vs-shell-body .app-footer { flex-shrink: 0; }
.vs-shell-main .container { max-width: none; padding-inline: 0; }
.vs-shell-main .vs-head { padding: 0; margin-bottom: 1.5rem; }
.vs-shell-main .vs-head h1 { font-size: 1.75rem; font-weight: 600; color: var(--text-dark); margin-bottom: .25rem; }
.vs-shell-main .vs-head p { color: var(--text-light); margin: 0; }
.vs-shell-main .vs-card { background: var(--surface-color); border-color: var(--border-color); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); }
.vs-shell-main .btn-velocity { background: var(--primary-color); border-color: var(--primary-color); border-radius: var(--radius-btn); }
.vs-shell-main .btn-velocity:hover { background: var(--accent-color); border-color: var(--accent-color); box-shadow: 0 4px 8px rgba(214, 65, 75, .3); }
.vs-shell-main .btn-outline-velocity { border-radius: var(--radius-btn); }

/* bell dropdown */
.vs-bell-menu { width: min(380px, calc(100vw - 1.5rem)); border-radius: var(--radius-card); border: 1px solid var(--border-color); box-shadow: var(--shadow-md); overflow: hidden; background: var(--surface-color); }
.vs-bell-head { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid var(--border-color); }
.vs-bell-head .btn-link { color: var(--primary-color); font-weight: 600; text-decoration: none; }
.vs-bell-list { max-height: min(60vh, 380px); overflow-y: auto; }
.vs-bell-item { display: flex; gap: .6rem; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--border-color); background: transparent; padding: .7rem 1rem; color: var(--text-dark); }
.vs-bell-item:hover, .vs-bell-item:focus-visible { background: var(--bg-color); }
.vs-bell-dot { flex: 0 0 .55rem; height: .55rem; margin-top: .4rem; border-radius: 50%; background: transparent; }
.vs-bell-item.unread .vs-bell-dot { background: var(--primary-color); }
.vs-bell-text { display: flex; flex-direction: column; min-width: 0; }
.vs-bell-msg { color: var(--text-light); font-size: .85rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vs-bell-time { color: var(--vs-muted); font-size: .75rem; margin-top: .15rem; }
.vs-bell-empty { padding: 1.5rem 1rem; text-align: center; color: var(--vs-muted); }
.vs-bell-foot { display: block; text-align: center; padding: .7rem 1rem; font-weight: 600; color: var(--primary-color); text-decoration: none; }
.vs-bell-foot:hover { background: var(--bg-color); }

/* sign-up: one card, step line with a progress bar, floating labels, actions always in view */
.vs-reg .vs-reg-logo { margin-bottom: 1.25rem; }
.vs-reg .vs-stepline { font-weight: 600; color: var(--vs-ink); margin-bottom: .4rem; }
.vs-prog { height: 8px; border-radius: 99px; background: var(--vs-line); }
.vs-prog .progress-bar { background: var(--vs-red); transition: width .25s ease; }
.vs-reduced .vs-prog .progress-bar { transition: none; }
.vs-reg .form-group { margin-bottom: 1rem; }
.vs-reg .vs-float { position: relative; }
.vs-reg .vs-float > label { position: absolute; z-index: 2; left: .75rem; top: .98rem; margin: 0; padding: 0 .2rem; font-size: 1rem; font-weight: 400; color: var(--vs-muted); line-height: 1.2; pointer-events: none; transform-origin: left top; transition: transform .15s ease, color .15s ease; }
.vs-reg .vs-float > .form-control, .vs-reg .vs-float > .form-select { height: 3.5rem; padding: 1.5rem .85rem .4rem; }
.vs-reg .vs-float.is-up > label { transform: translateY(-.62rem) scale(.78); color: var(--vs-red-dark); }
.vs-reg .vs-float > .form-control.is-invalid ~ label, .vs-reg .vs-float > .is-invalid ~ label { color: #b02a37; }
.vs-reduced .vs-reg .vs-float > label { transition: none; }
.vs-reg .vs-float > .invalid-feedback, .vs-reg .vs-float > .field-caption { position: static; }
.vs-reg .vs-reg-actions { display: flex; justify-content: space-between; gap: .75rem; position: sticky; bottom: 0; z-index: 5; margin: 1rem -.25rem 0; padding: .75rem .25rem .25rem; background: var(--secondary-color); border-top: 1px solid var(--vs-line); }
.vs-reg .vs-reg-actions .btn { min-width: 7.5rem; }
.vs-reg .vs-reg-actions .btn-velocity { margin-left: auto; }
@media (max-width: 400px) { .auth-card.vs-reg { padding: 1.25rem; } .vs-reg .vs-reg-actions .btn { min-width: 0; flex: 1; } }


/* room selection: quantity stepper on a card and the sticky bar */
.vs-stepper { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin: .2rem 0 .7rem; }
.vs-qty-label { font-size: .85rem; font-weight: 600; color: var(--vs-muted); }
.vs-qty { display: inline-flex; align-items: center; gap: .5rem; }
.vs-qty output { min-width: 1.8rem; text-align: center; font-size: 1.05rem; }
.vs-qty .btn { width: 2.1rem; height: 2.1rem; padding: 0; line-height: 1; font-size: 1.1rem; }
.vs-qty-msg { flex-basis: 100%; color: var(--vs-amber); }
.vs-qty-msg:empty { display: none; }
.vs-daterow .invalid-feedback { font-size: .8rem; }
.vs-selbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; background: var(--surface-color, #fff); border-top: 1px solid var(--border-color, var(--vs-line)); box-shadow: 0 -6px 18px rgba(20, 20, 30, .12); }
.vs-selbar[hidden] { display: none; }
.vs-selbar-in { max-width: 1140px; margin: 0 auto; padding: .7rem 1rem; display: flex; flex-wrap: wrap; gap: .6rem 1rem; justify-content: space-between; align-items: center; }
.vs-selbar-text { color: var(--vs-ink); }
.vs-selbar-actions { display: flex; gap: .5rem; margin-left: auto; }
body.vs-has-selbar { padding-bottom: 5.5rem; }
body.vs-shell-body.vs-has-selbar { padding-bottom: 0; }
body.vs-shell-body.vs-has-selbar .content-scroll-wrap { padding-bottom: 5.5rem; }
@media (min-width: 768px) {
    body.vs-shell-body .vs-selbar { left: var(--sidebar-width, 260px); }
    body.vs-shell-body.sidebar-collapsed .vs-selbar { left: var(--sidebar-collapsed-width, 76px); }
}
@media (max-width: 575px) { .vs-selbar-actions { width: 100%; } .vs-selbar-actions .btn { flex: 1; } }
html { scroll-padding-bottom: 6.5rem; }
.navbar-nav .dropdown-menu.vs-bell-menu { position: absolute; }
#vsBellItem { position: relative; }
@media (max-width: 575px) { #vsBellItem { position: static; } .navbar-nav .dropdown-menu.vs-bell-menu { right: .75rem; left: .75rem; width: auto; top: 100%; } }

/* Booking & Reservation tabs (the app's Bookings / Reservations switch) */
.vs-tabs { display: inline-flex; gap: .25rem; padding: .25rem; margin-bottom: 1rem; background: var(--bg-color, var(--vs-bg)); border: 1px solid var(--border-color, var(--vs-line)); border-radius: 12px; max-width: 100%; }
.vs-tab { border: 0; background: transparent; padding: .5rem 1.1rem; border-radius: 9px; font-weight: 600; color: var(--text-dark, var(--vs-ink)); white-space: nowrap; font-variant-numeric: tabular-nums; }
.vs-tab.active { background: var(--primary-color, var(--vs-red)); color: #fff; }
.vs-tab:not(.active):hover { background: rgba(214, 65, 75, .1); }
/* the six totals on the dashboard */
.vs-sumgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.vs-sumhead { font-size: .8rem; font-weight: 700; color: var(--vs-muted); text-transform: none; padding: 0 .25rem; }
.vs-sumtile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .1rem; padding: .7rem .5rem; border: 1px solid var(--border-color, var(--vs-line)); border-radius: 12px; text-decoration: none; color: var(--vs-ink); background: var(--surface-color, #fff); transition: border-color .15s ease, transform .15s ease; }
.vs-sumtile:hover, .vs-sumtile:focus-visible { border-color: var(--primary-color, var(--vs-red)); transform: translateY(-1px); color: var(--vs-ink); }
.vs-sumtile .n { font-size: 1.7rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.vs-sumtile .l { font-size: .82rem; color: var(--vs-muted); }
.vs-sumtile.zero { opacity: .6; }

/* Profile Management sections */
.vs-sec-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .75rem; }
.vs-sec-head h2 { margin: 0; }
.vs-sec-msg:empty { display: none; }
.vs-lock { padding: .6rem .9rem; margin-bottom: 1rem; border-radius: 10px; background: var(--bg-color, var(--vs-bg)); border: 1px solid var(--border-color, var(--vs-line)); }
.vs-lock.is-locked { background: var(--vs-amber-soft); color: var(--vs-amber); border-color: transparent; }
.vs-subform { margin-top: .75rem; padding: 1rem; border: 1px dashed var(--border-color, var(--vs-line)); border-radius: 12px; }
.vs-pwstages { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .8rem; font-weight: 600; }
.vs-pwstages li { flex: 1; padding: .3rem .5rem; border-radius: 8px; background: var(--bg-color, var(--vs-bg)); color: var(--vs-muted); text-align: center; }
.vs-pwstages li.now { background: var(--primary-color, var(--vs-red)); color: #fff; }
.vs-pwstages li.done { background: var(--vs-green-soft); color: var(--vs-green); }
.vs-strength { display: flex; gap: .3rem; margin: .4rem 0 .25rem; }
.vs-strength i { flex: 1; height: 6px; border-radius: 4px; background: var(--border-color, var(--vs-line)); }
.vs-strength i.s1 { background: #d32f2f; } .vs-strength i.s2 { background: #ef8f00; } .vs-strength i.s3 { background: #7cb342; } .vs-strength i.s4 { background: #2e7d32; }

/* Calendar screen */
.vs-cal-head, .vs-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.vs-cal-head { font-size: .78rem; font-weight: 700; color: var(--vs-muted); padding: .3rem 0; }
button.vs-cal-day { border: 0; background: transparent; color: inherit; cursor: pointer; padding: .6rem 0; }
button.vs-cal-day:hover { background: var(--vs-red-soft); }
button.vs-cal-day.picked { background: var(--primary-color, var(--vs-red)); color: #fff; }
button.vs-cal-day.picked i { background: #fff; }
.vs-sec-head h2 { font-size: 1.05rem; font-weight: 700; color: var(--primary-color, var(--vs-red)); }

/* Edit profile: one bar to start, one sticky bar to save */
.vs-editbar { padding: .7rem .9rem; margin-bottom: 1rem; border-radius: 12px; background: var(--surface-color, #fff); border: 1px solid var(--border-color, var(--vs-line)); }
.vs-editbar.is-locked { background: var(--vs-amber-soft); color: var(--vs-amber); border-color: transparent; }
.vs-savebar { position: sticky; bottom: 0; z-index: 20; margin: 0 -.25rem; padding: .75rem .25rem; background: var(--surface-color, #fff); border-top: 1px solid var(--border-color, var(--vs-line)); box-shadow: 0 -6px 16px rgba(20, 20, 30, .08); }
.vs-savebar-in { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.vs-savebar-in .btn { min-width: 8rem; }
@media (max-width: 575px) { .vs-savebar-in > div { width: 100%; } .vs-savebar-in .btn { flex: 1; } }
.vs-changes { list-style: none; padding: 0; margin: 0 0 .75rem; }
.vs-changes li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--border-color, var(--vs-line)); }
.vs-ch-l { color: var(--vs-muted); }
.vs-ch-v { text-align: right; overflow-wrap: anywhere; }

/* profile gender radios and the hotel GCash number */
#pg .form-check { display: inline-flex; align-items: center; gap: .45rem; padding-left: 0; margin: 0; }
#pg .form-check-input { float: none; margin: 0; flex: 0 0 auto; }
#pg .form-check-label { margin: 0; }
#vsHotelNo { flex-wrap: wrap; text-align: center; }
#vsHotelNo > span:first-child { flex-basis: 100%; }

/* receipt preview + print: only the document, on white, inside the printable area; the shell, menus and buttons are hidden */
.vs-paper { background: #fff; color: #000; border: 1px solid var(--border-color, var(--vs-line)); border-radius: 6px; padding: 14mm; box-shadow: var(--shadow-sm); }
.vs-paper .rcpt-doc { max-width: 100%; }
@media (max-width: 575px) { .vs-paper { padding: 1rem; } }
@media print {
    html, body { background: #fff !important; height: auto !important; }
    .app-shell, .content-column, .content-scroll-wrap { display: block !important; height: auto !important; max-height: none !important; overflow: visible !important; }
    nav.sidebar, .app-header, .app-footer, #mobileSidebar, .offcanvas, .vs-noprint, .vs-selbar, .vs-toasts, .modal, .modal-backdrop { display: none !important; }
    .main-content, .vs-shell-main, .vs-shell-main .container, .vs-shell-main .container-fluid { padding: 0 !important; margin: 0 !important; max-width: none !important; width: 100% !important; }
    .vs-paper { border: 0 !important; box-shadow: none !important; padding: 0 !important; border-radius: 0 !important; }
    .vs-rcpt-preview { max-width: none !important; padding: 0 !important; }
    * { color: #000 !important; -webkit-print-color-adjust: economy; }
}

/* Step 1: "Your dates and rooms" - one card per date range */
.vs-datelist { margin-bottom: 1.25rem; }
.vs-datelist-empty { display: flex; gap: .9rem; align-items: center; padding: 1rem; border: 1px dashed var(--border-color, var(--vs-line)); border-radius: 12px; background: var(--surface-color, #fff); }
.vs-datelist-empty i { font-size: 1.6rem; color: var(--primary-color, var(--vs-red)); }
.vs-dl-card { border: 1px solid var(--border-color, var(--vs-line)); border-radius: 12px; background: var(--surface-color, #fff); padding: .85rem 1rem; margin-bottom: .75rem; }
.vs-dl-card.is-editing { border-color: var(--primary-color, var(--vs-red)); box-shadow: 0 0 0 3px rgba(214, 65, 75, .18); }
.vs-dl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; flex-wrap: wrap; padding-bottom: .5rem; margin-bottom: .35rem; border-bottom: 1px solid var(--border-color, var(--vs-line)); }
.vs-dl-room { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; }
.vs-dl-sub { display: flex; justify-content: space-between; gap: 1rem; padding-top: .45rem; margin-top: .25rem; border-top: 1px dashed var(--border-color, var(--vs-line)); }
.vs-dl-total { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-radius: 12px; background: var(--vs-red-soft); font-weight: 800; font-size: 1.05rem; }

/* every guest page sits in one centered content area (about 1200px) with equal side margins */
.vs-shell-main > .container-fluid { width: 100%; max-width: 1232px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
.vs-shell-main .container, .vs-shell-main .container[style*="max-width"] { max-width: none !important; width: 100%; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
.vs-shell-main .vs-head { text-align: left; }
@media (min-width: 768px) { .vs-shell-main > .container-fluid { padding-left: 1.25rem; padding-right: 1.25rem; } }

/* dashboard quick actions: an even grid, equal tiles (3 x 2 on desktop, 2 x 3 on tablets, 2 x 3 or one column on phones) */
.vs-qa { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.vs-qa .btn { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.1rem; width: 100%; padding: .55rem .75rem; text-align: center; line-height: 1.2; }
@media (max-width: 991px) { .vs-qa { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 419px) { .vs-qa { grid-template-columns: minmax(0, 1fr); } }

/* the summary can be collapsed; it opens expanded, full width, with all six totals */
.vs-collapse-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; background: transparent; border: 0; padding: 0; text-align: left; }
.vs-collapse-head h2 { margin: 0; }
.vs-collapse-head .fa-chevron-down { transition: transform .2s ease; color: var(--vs-muted); }
.vs-collapse-head[aria-expanded="false"] .fa-chevron-down { transform: rotate(-90deg); }
.vs-reduced .vs-collapse-head .fa-chevron-down { transition: none; }
.vs-sumgrid { width: 100%; }

/* the selection bar's clear button */
.vs-selbar-clear { color: var(--vs-muted); text-decoration: none; font-weight: 600; padding: 0 .25rem; }
.vs-selbar-clear:hover { color: var(--primary-color, var(--vs-red)); text-decoration: underline; }
.vs-collapse-head h2 { font-size: .95rem; font-weight: 700; color: var(--primary-color, var(--vs-red)); }

/* "Other Deluxe rooms >": the rooms of a type with their own price or capacity */
.vs-other { border-top: 1px solid var(--vs-line, #e5e7eb); margin: .35rem 0 .7rem; padding-top: .35rem; }
.vs-other-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; background: transparent; border: 0; padding: .35rem 0; font-weight: 600; color: var(--vs-text, inherit); text-align: left; }
.vs-other-toggle .fa-chevron-right { transition: transform .2s ease; color: var(--vs-muted); }
.vs-other-toggle[aria-expanded="true"] .fa-chevron-right { transform: rotate(90deg); }
.vs-reduced .vs-other-toggle .fa-chevron-right { transition: none; }
.vs-other-list { display: grid; gap: .5rem; }
.vs-other-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .55rem .7rem; border: 1px solid var(--vs-line, #e5e7eb); border-radius: 10px; }
.vs-other-row .vs-stepper { margin: 0; }
.vs-other-unit { border-style: dashed; }

/* dashboard: the greeting and today's date/time are two cards side by side; the rest sit in an even, aligned grid */
.vs-dash-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-bottom: 1rem; }
.vs-dash-top > .vs-card { margin-bottom: 0; }
.vs-clockcard { display: block; color: inherit; }
.vs-clockcard:hover { color: inherit; border-color: var(--vs-red, #c0392b); }
.vs-clock { font-size: 1.75rem; font-weight: 700; letter-spacing: .02em; }
.vs-dash-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.vs-dash-grid > .vs-card { margin-bottom: 0; height: 100%; }
.vs-dash-grid > .vs-card > h2 { font-size: 1.05rem; margin: 0 0 .25rem; min-height: 1.6rem; display: flex; align-items: center; }
.vs-countdown { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; padding: .35rem .7rem; border-radius: 999px; background: var(--vs-soft, rgba(192, 57, 43, .08)); }
@media (min-width: 768px) { .vs-dash-top { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
@media (min-width: 992px) { .vs-dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vs-dash-grid > .vs-span2 { grid-column: 1 / -1; } }

/* profile: the cover is taller; the round photo sits centered on its bottom edge (half over it) with name, email and Guest ID centered below */
.vs-prof-head .vs-avatar-wrap { z-index: 2; }
.vs-prof-head .vs-menu { left: 50%; transform: translateX(-50%); }
/* profile menu: icon, label, short description, chevron */
.vs-menulist { overflow: hidden; }
.vs-mi { display: flex; align-items: center; gap: .9rem; width: 100%; padding: .85rem 1.1rem; border: 0; border-bottom: 1px solid var(--vs-line); background: transparent; color: var(--vs-ink); text-align: left; }
.vs-mi:last-child { border-bottom: 0; }
button.vs-mi:hover, button.vs-mi:focus-visible { background: var(--vs-red-soft); }
.vs-mi-ic { flex: 0 0 2.4rem; width: 2.4rem; height: 2.4rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--vs-red-soft); color: var(--vs-red); }
.vs-mi-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.vs-mi-l { font-weight: 600; }
.vs-mi-d { font-size: .85rem; color: var(--vs-muted); }
.vs-mi-c { color: var(--vs-muted); }
.vs-editsteps { margin-bottom: 1rem; }
.vs-editmodal .vs-sec { border: 0; box-shadow: none; padding: 0; margin: 0; background: transparent; }

/* ---- dark mode contrast (text 4.5:1): the brand red is lightened for TEXT, and the filled red is a little deeper under white text ---- */
[data-bs-theme="dark"] .vs-card > h2, [data-bs-theme="dark"] .vs-card-title, [data-bs-theme="dark"] .vs-sec-head h2, [data-bs-theme="dark"] .vs-room-price,
[data-bs-theme="dark"] .btn-outline-velocity, [data-bs-theme="dark"] .text-danger, [data-bs-theme="dark"] .vs-shell-main a:not(.btn):not(.vs-mi):not(.vs-clockcard):not(.vs-nscard),
[data-bs-theme="dark"] .vs-shell-main .vs-qa .btn span, [data-bs-theme="dark"] .vs-other-toggle .fa-chevron-right { color: #ff8f97 !important; }
/* the "Switch to booking" link on the light-blue mode banner: the brand red is 4.3:1 there, a deeper red reads at 7:1 */
html:not([data-bs-theme="dark"]) #vsModeBanner a { color: #8f1820 !important; text-decoration: underline; }
/* the green of "2 rooms available" is too dim on a dark card (3.6:1): a lighter green reads at 4.5:1 and more */
[data-bs-theme="dark"] .vs-page .text-success, [data-bs-theme="dark"] .vs-shell-main .text-success { color: #6fdc9c !important; }
[data-bs-theme="dark"] .btn-outline-velocity { border-color: #ff8f97; }
[data-bs-theme="dark"] .btn-outline-velocity:hover { background: #3d1f1f; color: #ffb3b8 !important; }
[data-bs-theme="dark"] .btn-outline-danger { color: #ff8f97; border-color: #ff8f97; }
[data-bs-theme="dark"] .btn-outline-danger:hover { background: #3d1f1f; color: #ffb3b8; }
[data-bs-theme="dark"] .btn-velocity, [data-bs-theme="dark"] .vs-tab.active, [data-bs-theme="dark"] .navbar-notif-badge, [data-bs-theme="dark"] .user-avatar-initials,
[data-bs-theme="dark"] .vs-room-promo, [data-bs-theme="dark"] .vs-avatar-init, [data-bs-theme="dark"] .vs-pwstages li.now { background: #b3262f; border-color: #b3262f; color: #fff; }
[data-bs-theme="dark"] .btn-velocity:hover { background: #c9303a; border-color: #c9303a; }
[data-bs-theme="dark"] .vs-chip:not(.ok):not(.wait):not(.bad):not(.gray) { background: #3d1f1f; color: #ffb3b8; }
[data-bs-theme="dark"] .vs-chip.ok { background: #1d3322; color: #a5d6a7; }
[data-bs-theme="dark"] .vs-chip.wait { background: #3a2f17; color: #f2c36b; }
[data-bs-theme="dark"] .vs-countdown { background: #3d1f1f; color: #ffb3b8; }
[data-bs-theme="dark"] .vs-collapse-head h2 { color: #ff8f97; }
:root { --primary-color: #C7333E; }

/* Booking & Reservation cards: one layout for every card; the title link covers the card, the buttons sit above it */
.vs-tabsum { font-weight: 600; color: var(--vs-muted); margin: .25rem 0 .75rem; }
.vs-stay-card { position: relative; }
.vs-stay-card .vs-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--vs-radius); }
.vs-stay-card .vs-acts, .vs-stay-card .vs-acts .btn { position: relative; z-index: 2; }
.vs-stay-card:hover { border-color: var(--vs-red); }
.vs-facts { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .9rem; }
.vs-facts i { width: 1.1rem; color: var(--vs-muted); margin-right: .35rem; }
.vs-next { color: var(--vs-muted); }
.min-w-0 { min-width: 0; }
@media (min-width: 992px) { #vsStayCards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } #vsStayCards > .vs-stay-card { margin-bottom: 0; } #vsStayCards > :not(.vs-stay-card) { grid-column: 1 / -1; } }

/* the receipt paper is a PAPER: white with black text in dark mode too (what the preview shows is what prints and what the PDF holds) */
[data-bs-theme="dark"] .vs-paper, [data-bs-theme="dark"] .vs-paper .rcpt-doc, [data-bs-theme="dark"] .vs-paper .rcpt-doc table, [data-bs-theme="dark"] .vs-paper .rcpt-doc thead, [data-bs-theme="dark"] .vs-paper .rcpt-doc tbody,
[data-bs-theme="dark"] .vs-paper .rcpt-doc tr, [data-bs-theme="dark"] .vs-paper .rcpt-doc td, [data-bs-theme="dark"] .vs-paper .rcpt-doc th, [data-bs-theme="dark"] .vs-paper .rcpt-doc div { background-color: #fff; --bs-table-bg: #fff; --bs-table-color: #000; }
/* receipt page buttons in dark mode */
[data-bs-theme="dark"] .vs-shell-main a.text-decoration-none:not(.btn):not(.vs-mi):not(.vs-clockcard):not(.vs-stretch) { color: #ff8f97; }

/* dashboard: full name wraps cleanly; the day strip; the stay cards; the calendar grid */
.vs-fullname { overflow-wrap: anywhere; word-break: normal; line-height: 1.25; }
.vs-strip { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem .1rem .6rem; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.vs-chipday { flex: 0 0 auto; min-width: 5.2rem; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .45rem .6rem; border: 1px solid var(--vs-line); border-radius: 12px; background: var(--vs-surface); color: var(--vs-ink); position: relative; scroll-snap-align: center; }
.vs-chipday .t { font-weight: 700; font-size: .85rem; }
.vs-chipday .s { font-size: .75rem; color: var(--vs-muted); white-space: nowrap; }
.vs-chipday .n { min-width: 1.4rem; height: 1.4rem; border-radius: 999px; background: var(--vs-red); color: #fff; font-size: .75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.vs-chipday .n.zero { background: var(--vs-line); color: var(--vs-muted); }
.vs-chipday.cur { border-color: var(--vs-red); }
.vs-chipday.sel { background: var(--vs-red-soft); border-color: var(--vs-red); box-shadow: 0 0 0 1px var(--vs-red) inset; }
.vs-chipday:focus-visible, .vs-calday:focus-visible { outline: 2px solid var(--vs-red); outline-offset: 2px; }
.vs-nscards { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
.vs-nscards .vs-nscard { margin-bottom: 0; color: inherit; display: block; }
.vs-nscards .vs-nscard:hover { border-color: var(--vs-red); }
@media (min-width: 768px) { .vs-nscards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vs-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .25rem; }
.vs-calday { position: relative; aspect-ratio: 1 / 1; min-height: 2.4rem; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--vs-ink); font-variant-numeric: tabular-nums; }
.vs-calday.stay { background: var(--vs-red-soft); }
.vs-calday.win { border-color: var(--vs-line); }
.vs-calday.today { font-weight: 800; text-decoration: underline; }
.vs-calday.sel { background: var(--vs-red); color: #fff; }
.vs-dot { position: absolute; bottom: 4px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--vs-red); }
.vs-calday.sel .vs-dot { background: #fff; }
[data-bs-theme="dark"] .vs-chipday .n, [data-bs-theme="dark"] .vs-calday.sel { background: #b3262f; color: #fff; }
[data-bs-theme="dark"] .vs-chipday.sel, [data-bs-theme="dark"] .vs-calday.stay { background: #3d1f1f; }
[data-bs-theme="dark"] .vs-dot { background: #ff8f97; }
.vs-calday { aspect-ratio: auto; height: 2.75rem; min-height: 0; }
#vsStayCal .vs-cal { max-width: 560px; margin-left: auto; margin-right: auto; }

/* dashboard, lower area: two even columns (Payment status + Notifications | Account summary + Need help?); no gaps, one gap size */
.vs-dash-cols { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.vs-dash-col { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.vs-dash-col > .vs-card { margin-bottom: 0; height: auto; }
.vs-dash-col > .vs-card:last-child { flex: 1 1 auto; }
@media (min-width: 992px) { .vs-dash-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vs-mail { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.vs-mail-addr { font-variant-numeric: tabular-nums; }
.vs-dash-grid > .vs-card > h2, .vs-dash-col > .vs-card > h2 { font-size: 1.05rem; margin: 0 0 .25rem; min-height: 1.6rem; display: flex; align-items: center; }
.vs-shell-body .user-avatar-initials { color: #a62b34; }
[data-bs-theme="dark"] .vs-shell-body .user-avatar-initials { color: #fff; }

/* room photos: the card / detail photo keeps its aspect ratio (cover crops, never stretches); full screen uses the shared viewer */
.vs-room-photo img { object-fit: cover; width: 100%; height: 100%; image-orientation: from-image; }
.vs-room-photo { position: relative; overflow: hidden; background: #e9ecef; }
.vs-fs-btn { position: absolute; right: .6rem; bottom: .6rem; z-index: 2; }
.vs-photo-missing::after { content: "Image unavailable"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #495057; font-weight: 600; }
[data-bs-theme="dark"] .vs-room-photo { background: #2a2d34; }
[data-bs-theme="dark"] .vs-photo-missing::after { color: #c6c6c6; }

/* v1.76 Booking & Reservation cards and Transaction History rows: the same compact summary everywhere, aligned labels and amounts */
.vs-sc { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.vs-sc-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.vs-sc-id { font-weight: 700; font-size: 1.05rem; color: var(--vs-ink); text-decoration: none; min-width: 0; }
.vs-sc-id:hover { color: var(--vs-ink); text-decoration: underline; }
.vs-sc-rooms { font-weight: 600; color: var(--vs-ink); overflow-wrap: anywhere; }
.vs-sc-dates { color: var(--vs-muted); font-size: .92rem; font-variant-numeric: tabular-nums; }
.vs-sc-money { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .25rem; padding-top: .6rem; border-top: 1px solid var(--vs-line); }
.vs-sc-lbl { display: block; font-size: .78rem; color: var(--vs-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.vs-sc-amt { display: block; font-weight: 700; font-size: 1.05rem; color: var(--vs-ink); font-variant-numeric: tabular-nums; }
.vs-sc-owed { color: #a8261e; }
.vs-sc-paid { color: var(--vs-green); }
.vs-sc-none { color: var(--vs-muted); font-weight: 600; }
.vs-sc-wait { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; color: var(--vs-amber); font-weight: 600; }
.vs-sc-acts { display: flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: .6rem; }
.vs-sc-acts .vs-more { margin-left: auto; }
.vs-sc:hover, .vs-sc:focus-within, .vs-hrow:hover, .vs-hrow:focus-within { z-index: 3; transform: none; }
.vs-filters .form-label { margin-bottom: .25rem; }
.vs-filters .vs-clear, .vs-empty .btn-light { display: inline-flex; align-items: center; justify-content: center; height: calc(2.25rem + 2px); padding: 0 1rem; background: var(--vs-surface); border: 1px solid var(--vs-line); color: var(--vs-ink); font-weight: 600; border-radius: 10px; }
.vs-filters .vs-clear:hover, .vs-empty .btn-light:hover { border-color: var(--vs-red); color: var(--vs-red); background: var(--vs-surface); }
[data-bs-theme="dark"] .vs-sc-owed { color: #ff8a80; }
[data-bs-theme="dark"] .vs-sc-id:hover { color: #fff; }
@media (min-width: 992px) { #vsStayCards > .vs-sc { margin-bottom: 0; } }

.vs-hrow { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.8fr) 8.5rem 8.5rem auto; gap: .5rem 1.25rem; align-items: center; padding: .9rem 1.25rem; margin-bottom: .75rem; }
.vs-hc { min-width: 0; }
.vs-hc-id { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.vs-hc-note { font-size: .78rem; color: var(--vs-muted); }
.vs-hc-act { text-align: right; white-space: nowrap; }
@media (max-width: 991px) { .vs-hrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .vs-hc-id { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; grid-column: 1 / -1; } .vs-hc-what { grid-column: 1 / -1; } .vs-hc-act { grid-column: 1 / -1; text-align: left; } }
.vs-stay-card a.vs-sc-id, .vs-stay-card a.vs-sc-id:hover { color: var(--vs-ink); }
[data-bs-theme="dark"] .vs-stay-card a.vs-sc-id:hover { color: #fff; }

/* v1.77 guest notifications: grouped list, category icon, bold title when unread, time on the right, 2-line preview, chip and unread dot */
.vs-ng { margin-bottom: 1.1rem; }
.vs-ng-h { font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--vs-muted); margin: 0 0 .5rem .15rem; }
.vs-ng-list { display: flex; flex-direction: column; gap: .5rem; }
.vs-nt { position: relative; display: flex; align-items: flex-start; gap: .85rem; width: 100%; text-align: left; padding: .8rem 2.2rem .8rem .9rem; background: var(--vs-surface); border: 1px solid var(--vs-line); border-radius: 12px; color: var(--vs-ink); transition: border-color .15s ease, box-shadow .15s ease; }
.vs-nt:hover, .vs-nt:focus-visible { border-color: var(--vs-red); box-shadow: 0 4px 14px rgba(20,20,30,.08); outline: none; }
.vs-nt.unread { border-left: 4px solid var(--vs-red); padding-left: calc(.9rem - 3px); }
.vs-nt-ic { flex: 0 0 auto; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--vs-red-soft); color: var(--vs-red-dark); font-size: .95rem; }
.vs-nt-ic.payment { background: var(--vs-green-soft); color: var(--vs-green); }
.vs-nt-ic.promotion { background: var(--vs-amber-soft); color: var(--vs-amber); }
.vs-nt-ic.system { background: #e8eefc; color: #1e40af; }
.vs-nt-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.vs-nt-top { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.vs-nt-title { font-weight: 500; overflow-wrap: anywhere; }
.vs-nt.unread .vs-nt-title { font-weight: 800; }
.vs-nt-time { flex: 0 0 auto; font-size: .8rem; color: var(--vs-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vs-nt-msg { color: var(--vs-muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.vs-nt-meta { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .15rem; }
.vs-nt-dot { position: absolute; right: .9rem; top: 50%; width: .65rem; height: .65rem; margin-top: -.33rem; border-radius: 50%; background: var(--vs-red); }
[data-bs-theme="dark"] .vs-nt-ic.system { background: #1e3a5f; color: #bcd6ff; }
[data-bs-theme="dark"] .vs-nt-ic { color: #ffb3b8; }
[data-bs-theme="dark"] .vs-nt-ic.payment { color: #a5d6a7; }
[data-bs-theme="dark"] .vs-nt-ic.promotion { color: #f2c36b; }
[data-bs-theme="dark"] .vs-nt-dot { background: #ff6b75; }
@media (max-width: 575px) { .vs-nt { padding-right: 1.9rem; gap: .65rem; } .vs-nt-ic { width: 2.1rem; height: 2.1rem; } .vs-nt-dot { right: .65rem; } }

/* v1.79 wizard: Selected rooms card and Next reason */
.vs-selrooms { border: 1px solid var(--vs-line); border-radius: 12px; padding: .75rem .9rem; margin: .5rem 0 1rem; background: var(--vs-red-soft); }
.vs-selrooms header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .35rem; }
.vs-sr-line { font-weight: 600; color: var(--vs-ink); padding: .1rem 0; overflow-wrap: anywhere; }
.vs-sr-total { color: var(--vs-muted); font-size: .92rem; margin-top: .35rem; }
.vs-next-reason[hidden] { display: none; }

/* v1.79 forgot password: one centered card, strength bar */
.vs-forgot { max-width: 460px; }
.vs-forgot .logo { text-align: center; margin-bottom: 1rem; }
.vs-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; }
.vs-strength span { height: .4rem; border-radius: 999px; background: var(--vs-line, #e7e7ea); }
.vs-strength span.on.s1 { background: #c62828; } .vs-strength span.on.s2 { background: #b26a00; } .vs-strength span.on.s3 { background: #2e7d32; } .vs-strength span.on.s4 { background: #1b5e20; }
#fStrengthLbl { color: var(--vs-muted, #5f6368); min-height: 1.2rem; }
.vs-forgot .vs-otp { justify-content: center; }
/* a disabled primary button stays readable (Next waiting for the dates, Save waiting for a valid password) */
.btn-velocity:disabled, .btn-velocity.disabled { opacity: 1; background: #6b6f76; border-color: #6b6f76; color: #fff; cursor: not-allowed; }

/* v1.80 Featured rooms: Room type dropdown, Check-in, Check-out and Search on one aligned row (stacked on phones) */
.vs-featbar { display: grid; grid-template-columns: 1fr; gap: .75rem; align-items: end; margin-bottom: 1.25rem; }
.vs-featbar .form-label { margin-bottom: .25rem; }
.vs-featbar .vs-feat-dates .vs-daterow { margin: 0; --bs-gutter-y: 0; }
.vs-featbar .vs-feat-dates [data-nights] { display: none; }
.vs-featbar .btn-velocity, .vs-featbar .form-select, .vs-featbar .form-control { min-height: 2.5rem; }
.vs-featbar .vs-feat-apply .btn { height: 2.5rem; padding-top: 0; padding-bottom: 0; }
@media (min-width: 768px) { .vs-featbar { grid-template-columns: 1fr 1fr; } .vs-featbar .vs-feat-dates { grid-column: 1 / -1; } .vs-featbar .vs-feat-apply { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .vs-featbar { grid-template-columns: minmax(12rem, 1.1fr) minmax(0, 2fr) 10rem; } .vs-featbar .vs-feat-dates, .vs-featbar .vs-feat-apply { grid-column: auto; } }
.vs-featbar .vs-feat-dates .vs-daterow > [class*="col-"] { flex: 1 1 0; width: auto; max-width: none; }
/* the reset cards are always light (the pre-login layout has no dark mode): keep their own text colours whatever the page theme says */
.vs-forgot[data-bs-theme="light"] { --text-dark: #000; --text-light: #1a1a1a; --border-color: #e0e0e0; --surface-color: #fff; color: #1a1a1a; }
.vs-forgot[data-bs-theme="light"] .text-muted { color: #5f6368 !important; }

/* v1.81 retry after a wrong code: one message under the boxes, a red outline (no "!") for a second; the Back button at the top-left of the auth cards */
.vs-otp-box.bad { border-color: #c62828; box-shadow: 0 0 0 .2rem rgba(198, 40, 40, .22); }
.vs-fmsg { min-height: 1.5rem; text-align: center; font-size: .92rem; margin-top: .5rem; color: #3c4043; }
.vs-fmsg.err { color: #b3261e; font-weight: 600; }
.vs-back { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: 0 .5rem; margin: -.4rem 0 .15rem -.5rem; color: #A62B34; font-weight: 600; font-size: .95rem; text-decoration: none; border-radius: 8px; }
.vs-back:hover { color: #8a232b; text-decoration: underline; }
.vs-back:focus-visible { outline: 2px solid #A62B34; outline-offset: 2px; }

/* the staff-request button, pointed at when a hotel address is typed on the guest / administrator reset form */
.vs-forgot .vs-staff-hl { border-color: #C7333E; color: #A62B34; background: #fdecec; box-shadow: 0 0 0 3px rgba(199, 51, 62, .25); font-weight: 600; }
