/* HBCOC Banquet Tickets — My Account → My Tickets, dashboard CTA, thank-you panel. */
.hbt, .hbt-cta, .hbt-thanks, .hbt-dlg, .hbt-login {
	--hbt-bg: #151923;
	--hbt-card: #1C2130;
	--hbt-line: #2E3446;
	--hbt-text: #ECEDF1;
	--hbt-muted: #8E94A3;
	--hbt-gold: #D6A84E;
	--hbt-gold-1: #F4D688;
	--hbt-gold-3: #C08A3A;
	--hbt-grad: linear-gradient(135deg, #F4D688 0%, #D6A84E 55%, #C08A3A 100%);
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--hbt-text);
}
.hbt *, .hbt-cta *, .hbt-thanks *, .hbt-dlg * { box-sizing: border-box; }

.hbt-kicker {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--hbt-gold);
}
.hbt-intro { margin: 0 0 28px; }
.hbt-intro__title {
	margin: 6px 0 10px !important;
	font-size: clamp(26px, 4vw, 34px) !important;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--hbt-text) !important;
}
.hbt-intro__lead { margin: 0 0 14px; color: var(--hbt-muted); font-size: 17px; line-height: 1.6; max-width: 60ch; }
.hbt-tip {
	display: flex; gap: 10px; align-items: flex-start;
	margin: 0; padding: 12px 14px;
	border: 1px solid rgba(214, 168, 78, .35);
	background: rgba(214, 168, 78, .08);
	border-radius: 12px;
	color: var(--hbt-text); font-size: 15px; line-height: 1.5;
}
.hbt-tip svg { color: var(--hbt-gold-1); flex: none; margin-top: 2px; }

/* Buttons */
.hbt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px;
	border-radius: 999px; border: 1px solid transparent;
	font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2;
	text-decoration: none !important; cursor: pointer;
	transition: filter .2s, transform .2s, background-color .2s;
}
.hbt-btn--gold { background: var(--hbt-grad); color: #1A1408 !important; box-shadow: 0 8px 24px -10px rgba(214, 168, 78, .6); }
.hbt-btn--gold:hover { filter: brightness(1.06); transform: translateY(-1px); }
.hbt-btn--ghost { background: transparent; color: var(--hbt-text) !important; border-color: var(--hbt-line); }
.hbt-btn--ghost:hover { border-color: var(--hbt-gold); color: var(--hbt-gold-1) !important; }
.hbt-btn:focus-visible, .hbt-qr:focus-visible, .hbt-wallet:focus-visible { outline: 2px solid var(--hbt-gold-1); outline-offset: 3px; }

/* Orders */
.hbt-order { margin: 0 0 36px; }
.hbt-order__head {
	display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between;
	padding: 0 0 16px; margin: 0 0 18px; border-bottom: 1px solid var(--hbt-line);
}
.hbt-order__label { margin: 0; font-size: 13px; color: var(--hbt-muted); letter-spacing: .04em; }
.hbt-order__count { margin: 2px 0 0; font-size: 20px; font-weight: 800; color: var(--hbt-text); }
.hbt-grid { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }

/* Ticket card */
.hbt-card {
	position: relative;
	container: hbtcard / inline-size;
	padding: 24px 22px 22px;
	background:
		radial-gradient(120% 60% at 100% 0%, rgba(214, 168, 78, .10), transparent 60%),
		var(--hbt-card);
	border: 1px solid var(--hbt-line);
	border-radius: 20px;
	box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .7);
	overflow: hidden;
}
.hbt-card::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--hbt-grad);
}
.hbt-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hbt-chip {
	display: inline-block; padding: 6px 12px; border-radius: 999px;
	background: rgba(214, 168, 78, .14); border: 1px solid rgba(214, 168, 78, .45);
	color: var(--hbt-gold-1); font-size: 13px; font-weight: 700; white-space: nowrap;
}
.hbt-card__title {
	margin: 8px 0 16px !important;
	font-size: 28px !important; line-height: 1.1; font-weight: 800; letter-spacing: -.02em;
	background: var(--hbt-grad); -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
.hbt-meta { margin: 0; display: grid; gap: 12px; }
.hbt-meta > div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: baseline; }
.hbt-meta dt { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--hbt-muted); }
.hbt-meta dd { margin: 0; font-size: 16px; line-height: 1.45; color: var(--hbt-text); font-weight: 600; }
.hbt-sub { display: block; font-size: 14px; font-weight: 400; color: var(--hbt-muted); }
.hbt-sub a { color: var(--hbt-gold-1) !important; }
.hbt-num { font-variant-numeric: tabular-nums; letter-spacing: .04em; }

.hbt-perf {
	position: relative; height: 1px; margin: 22px -22px;
	background-image: linear-gradient(90deg, var(--hbt-line) 50%, transparent 0);
	background-size: 12px 1px;
}
.hbt-perf::before, .hbt-perf::after {
	content: ""; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--hbt-bg); border: 1px solid var(--hbt-line);
}
.hbt-perf::before { left: -12px; }
.hbt-perf::after { right: -12px; }

/* QR */
.hbt-qr {
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; color: inherit; font: inherit;
}
.hbt-qr__plate {
	display: block; width: 100%; max-width: 300px; padding: 14px;
	background: #fff; border-radius: 18px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px -18px rgba(0, 0, 0, .8);
}
.hbt-qr__plate svg { display: block; width: 100%; height: auto; }
.hbt-qr__adm { font-size: 18px; font-weight: 800; color: var(--hbt-text); }
.hbt-qr__cap { font-size: 13px; color: var(--hbt-muted); }

.hbt-status { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; text-align: center; }
.hbt-status--used { background: rgba(62, 142, 99, .14); border: 1px solid rgba(62, 142, 99, .5); color: #9BE0B8; }
.hbt-status--void { background: rgba(255, 156, 143, .1); border: 1px solid rgba(255, 156, 143, .45); color: #FFB4A9; }
.hbt-card.is-void { opacity: .8; }
.hbt-card.is-void .hbt-card__title { background: none; color: var(--hbt-muted) !important; text-decoration: line-through; }

.hbt-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.hbt-actions .hbt-btn { min-height: 46px; }

/* Wallet badges (black, Apple-style) */
.hbt-wallet {
	display: inline-flex; align-items: center; gap: 9px;
	min-height: 46px; padding: 6px 16px 6px 12px;
	background: #000; color: #fff !important; border: 1px solid #A6A6A6; border-radius: 10px;
	text-decoration: none !important; line-height: 1.05;
}
.hbt-wallet span { display: flex; flex-direction: column; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.hbt-wallet small { font-size: 11px; font-weight: 400; }

.hbt-foot { margin: 8px 0 0; font-size: 14px; color: var(--hbt-muted); }
.hbt-foot a { color: var(--hbt-gold-1) !important; }

/* Dashboard CTA + thank-you */
.hbt-cta, .hbt-thanks {
	display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between;
	margin: 0 0 28px; padding: 22px 22px;
	background: radial-gradient(120% 80% at 0% 0%, rgba(214, 168, 78, .14), transparent 60%), #1C2130;
	border: 1px solid rgba(214, 168, 78, .45); border-radius: 18px;
}
.hbt-cta__title, .hbt-thanks__title { margin: 4px 0 2px; font-size: 21px; font-weight: 800; color: #ECEDF1; }
.hbt-cta__sub { margin: 0; color: #8E94A3; }
.hbt-thanks { display: block; margin: 24px 0; }
.hbt-thanks__text { margin: 6px 0 16px; color: #C9CCD5; font-size: 16px; line-height: 1.6; max-width: 62ch; }
.hbt-thanks__text a { color: #F4D688; }
.hbt-thanks__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Full-screen door view */
.hbt-dlg {
	width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0;
	background: #fff; color: #000;
}
.hbt-dlg::backdrop { background: #fff; }
.hbt-dlg__in { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); text-align: center; }
.hbt-dlg__qr { width: min(92vw, 70dvh, 520px); }
.hbt-dlg__qr svg { display: block; width: 100%; height: auto; }
.hbt-dlg__adm { margin: 0; font-size: 28px; font-weight: 800; }
.hbt-dlg__name { margin: 0; font-size: 20px; font-weight: 600; }
.hbt-dlg__num { margin: 0; font-size: 16px; color: #444; letter-spacing: .06em; }
.hbt-dlg__ev { margin: 0; font-size: 14px; color: #6B5320; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hbt-dlg__close {
	margin-top: 8px; min-height: 52px; padding: 12px 30px; border-radius: 999px; border: 0;
	background: #151923; color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer;
}
.hbt-dlg__nav { display: flex; gap: 10px; }
.hbt-dlg__nav button { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid #ccc; background: #fff; font: inherit; font-weight: 700; color: #151923; cursor: pointer; }

.hbt-card__in { display: flex; flex-direction: column; }
@container hbtcard (min-width: 640px) {
	.hbt-card__in { display: grid; grid-template-columns: minmax(0, 1fr) 270px; column-gap: 34px; align-items: start; }
	.hbt-card__in > * { grid-column: 1; }
	.hbt-card__in > .hbt-qr { grid-column: 2; grid-row: 1 / span 6; align-self: stretch; justify-content: center; padding-left: 34px; border-left: 1px dashed var(--hbt-line); }
	.hbt-perf { display: none; }
	.hbt-actions { justify-content: flex-start; }
	.hbt-status { text-align: left; }
}
@media (max-width: 600px) {
	.hbt-card { padding: 22px 16px 18px; border-radius: 18px; }
	.hbt-perf { margin: 20px -16px; }
	.hbt-meta > div { grid-template-columns: 1fr; gap: 2px; }
	.hbt-qr__plate { max-width: none; padding: 12px; }
	.hbt-order__head .hbt-btn, .hbt-thanks__actions .hbt-btn, .hbt-cta .hbt-btn { width: 100%; }
	.hbt-actions .hbt-btn, .hbt-actions .hbt-wallet { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .hbt-btn { transition: none; } }
@media print {
	.hbt-actions, .hbt-tip, .hbt-order__head .hbt-btn { display: none !important; }
}

.hbt [hidden], .hbt-dlg [hidden] { display: none !important; }

/* ---------------- Log-in page help ---------------- */
.hbt-login {
	position: relative;
	margin: 0 0 32px;
	padding: 26px 28px;
	border: 1px solid rgba(214, 168, 78, .45);
	border-radius: 20px;
	background: radial-gradient(120% 140% at 0% 0%, rgba(214, 168, 78, .14), rgba(214, 168, 78, 0) 55%), var(--hbt-card);
	box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .8);
	text-align: left;
}
.hbt-login *, .hbt-login *::before { box-sizing: border-box; }
.hbt-login__title {
	margin: 6px 0 16px !important;
	padding-bottom: .14em;
	font-size: clamp(22px, 3.2vw, 28px) !important;
	line-height: 1.2 !important;
	font-weight: 800;
	letter-spacing: -.01em;
	background: var(--hbt-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
}
.hbt-login__steps { margin: 0; padding: 0; list-style: none; counter-reset: hbt; display: grid; gap: 14px; }
.hbt-login__steps li {
	counter-increment: hbt;
	position: relative;
	padding-left: 44px;
	font-size: 16px;
	line-height: 1.55;
	color: #C9CDD6;
}
.hbt-login__steps li::before {
	content: counter(hbt);
	position: absolute;
	left: 0;
	top: -1px;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--hbt-grad);
	color: #1A1408;
	font: 800 14px/1 "Plus Jakarta Sans", sans-serif;
}
.hbt-login__steps strong { color: var(--hbt-text); }
.hbt-login a { color: var(--hbt-gold-1) !important; text-decoration: underline; text-underline-offset: 3px; }
.hbt-login__foot {
	display: grid;
	gap: 6px;
	margin: 20px 0 0 !important;
	padding-top: 16px;
	border-top: 1px solid var(--hbt-line);
	font-size: 14px;
	line-height: 1.55;
	color: var(--hbt-muted);
}
.hbt-login--slim { padding: 16px 20px; font-size: 15px; line-height: 1.6; color: #C9CDD6; }
@media (max-width: 560px) {
	.hbt-login { padding: 22px 18px; border-radius: 16px; }
	.hbt-login__steps li { padding-left: 40px; font-size: 15px; }
}
