/* Yatoon walk-in self check-in. Own colors, so it reads the same in any theme. */
.ywc {
	--ywc-accent: #111827;
	--ywc-on-accent: #ffffff;
	--ywc-ink: #111827;
	--ywc-muted: #4b5563;
	--ywc-line: #e5e7eb;
	--ywc-soft: #f9fafb;
	max-width: 560px;
	margin: 24px auto;
	color: var(--ywc-ink);
	font-family: var(--ywc-font, inherit);
	font-size: 16px;
	line-height: 1.5;
}

.ywc *,
.ywc *::before,
.ywc *::after {
	box-sizing: border-box;
}

.ywc-card {
	background: #fff;
	color: var(--ywc-ink);
	border: 1px solid var(--ywc-line);
	border-radius: var(--ywc-card-r, 18px);
	box-shadow: 0 10px 30px rgba(17, 24, 39, .08);
	padding: 28px 24px;
}

.ywc-title {
	margin: 0 0 6px;
	font-size: 1.6em;
	line-height: 1.2;
	color: var(--ywc-ink);
}

.ywc-intro,
.ywc-closed {
	margin: 0 0 18px;
	color: var(--ywc-muted);
}

.ywc-error {
	margin: 0 0 14px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.ywc-field {
	display: block;
	margin: 0 0 14px;
}

.ywc-field > span {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.ywc-field small,
.ywc-check small {
	color: var(--ywc-muted);
	font-weight: 400;
}

.ywc-field input {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #d1d5db;
	border-radius: var(--ywc-btn-r, 12px);
	background: #fff;
	color: var(--ywc-ink);
	font: inherit;
	font-size: 17px;
}

.ywc-field input:focus,
.ywc-check input:focus-visible,
.ywc-btn:focus-visible,
.ywc-link:focus-visible {
	outline: 3px solid var(--ywc-accent);
	outline-offset: 2px;
}

.ywc-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0 0 16px;
	cursor: pointer;
}

.ywc-check input {
	width: 22px;
	height: 22px;
	margin: 2px 0 0;
	flex: none;
	accent-color: var(--ywc-accent);
}

.ywc-check small {
	display: block;
	font-size: .85em;
}

.ywc-services {
	border: 0;
	margin: 0 0 18px;
	padding: 0;
}

.ywc-services legend {
	font-weight: 600;
	padding: 0;
}

.ywc-hint {
	margin: 4px 0 10px;
	color: var(--ywc-muted);
	font-size: .9em;
}

/* Services: a tidy list of rows. Ticking one with choices opens them underneath. */
.ywc-svc-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 8px;
	font-size: .9em;
}

.ywc-svc {
	border: 1.5px solid #d1d5db;
	border-radius: var(--ywc-btn-r, 12px);
	background: #fff;
	overflow: hidden;
	transition: border-color .15s, background-color .15s;
}

.ywc-svc.is-on {
	border-color: var(--ywc-accent);
	background: var(--ywc-soft);
}

.ywc-svc.is-open {
	grid-column: 1 / -1;
}

.ywc-svc-head,
.ywc-opt {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
}

.ywc-svc-head {
	min-height: 46px;
	padding: 7px 12px;
	gap: 10px;
}

.ywc-svc-head input,
.ywc-opt input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ywc-svc-name {
	flex: 1 1 auto;
	min-width: 0;
	font-weight: 600;
	overflow-wrap: break-word;
}

.ywc-svc-time,
.ywc-opt small {
	flex: none;
	color: var(--ywc-muted);
	font-weight: 500;
	white-space: nowrap;
}

/* The tick box: square for "any of these", round for "pick one". */
.ywc-mark {
	flex: none;
	width: 20px;
	height: 20px;
	border: 2px solid #9ca3af;
	border-radius: 6px;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color .15s, border-color .15s;
}

.ywc-mark.is-round {
	border-radius: 50%;
}

.ywc-svc-head input:checked + .ywc-mark,
.ywc-opt input:checked + .ywc-mark {
	background: var(--ywc-accent);
	border-color: var(--ywc-accent);
}

.ywc-svc-head input:checked + .ywc-mark::after,
.ywc-opt input:checked + .ywc-mark::after {
	content: "";
	width: 5px;
	height: 10px;
	margin-top: -2px;
	border: solid var(--ywc-on-accent);
	border-width: 0 0 2.5px 2.5px;
	transform: rotate(-45deg);
}

.ywc-svc-head input:focus-visible + .ywc-mark,
.ywc-opt input:focus-visible + .ywc-mark {
	outline: 3px solid var(--ywc-accent);
	outline-offset: 2px;
}

.ywc-opts {
	padding: 2px 12px 12px;
	border-top: 1px solid var(--ywc-line);
	background: #fff;
}

.ywc-grp + .ywc-grp {
	margin-top: 4px;
}

.ywc-grp-t {
	margin: 10px 0 6px;
	color: var(--ywc-muted);
	font-size: .78em;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.ywc-opts-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 6px;
}

.ywc-opt {
	min-height: 42px;
	padding: 6px 10px;
	gap: 10px;
	font-size: .95em;
	border: 1px solid var(--ywc-line);
	border-radius: min(var(--ywc-btn-r, 9px), 12px);
	background: var(--ywc-soft);
}

.ywc-opt:has(input:checked) {
	border-color: var(--ywc-accent);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ywc-accent);
}

.ywc-opt-name {
	flex: 1 1 auto;
	min-width: 0;
	overflow-wrap: break-word;
	line-height: 1.3;
}

.ywc-hp {
	position: absolute !important;
	right: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

.ywc-btn {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 12px 18px;
	border: 0;
	border-radius: var(--ywc-btn-r, 14px);
	background: var(--ywc-accent);
	color: var(--ywc-on-accent);
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
}

.ywc-btn:disabled {
	opacity: .6;
	cursor: wait;
}

.ywc-btn-light {
	margin-top: 18px;
	background: var(--ywc-soft);
	color: var(--ywc-ink);
	border: 1px solid var(--ywc-line);
}

.ywc-link {
	display: inline-block;
	margin-top: 14px;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--ywc-muted);
	text-decoration: underline;
	font: inherit;
	font-size: .9em;
	cursor: pointer;
}

.ywc-status {
	text-align: center;
}

.ywc-badge {
	width: 56px;
	height: 56px;
	margin: 0 auto 12px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #ecfdf5;
	color: #047857;
	font-size: 28px;
	font-weight: 700;
}

.ywc-status.is-in_service .ywc-badge {
	background: var(--ywc-accent);
	color: var(--ywc-on-accent);
}

.ywc-status.is-left .ywc-badge {
	background: var(--ywc-soft);
	color: var(--ywc-muted);
}

.ywc-services-line {
	margin: 0 0 16px;
	color: var(--ywc-muted);
}

.ywc-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 8px 0 14px;
}

.ywc-stat {
	padding: 16px 12px;
	border-radius: var(--ywc-card-r, 14px);
	background: var(--ywc-soft);
	border: 1px solid var(--ywc-line);
}

.ywc-stat span {
	display: block;
	color: var(--ywc-muted);
	font-size: .85em;
}

.ywc-stat strong {
	display: block;
	font-size: 2.2em;
	line-height: 1.15;
	color: var(--ywc-ink);
}

.ywc-stat .ywc-wait {
	font-size: 1.35em;
	padding-top: .35em;
}

/* Front-desk tablet. */
.ywc-kiosk {
	max-width: 760px;
	font-size: 19px;
}

.ywc-kiosk .ywc-card {
	padding: 40px 36px;
}

.ywc-kiosk .ywc-title {
	font-size: 2em;
}

.ywc-kiosk .ywc-field input,
.ywc-kiosk .ywc-btn {
	min-height: 60px;
	font-size: 20px;
}

@media (max-width: 480px) {
	.ywc {
		margin: 12px auto;
	}

	.ywc-card {
		padding: 22px 16px;
		border-radius: var(--ywc-card-r, 14px);
	}
}

.ywc-note { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; opacity: .75; }

/* Tablet kiosk page (check-in page opened with ?kiosk=1, or from the home screen). */
.ywc-kiosk-body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	background: #f8f9fc;
	background: var(--ywc-page, #f8f9fc);
	font-family: var(--ywc-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.ywc-kiosk-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 24px 16px 4px;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	color: var(--ywc-ink, #111827);
}

.ywc-kiosk-head img {
	max-height: 64px;
	max-width: 240px;
	width: auto;
	object-fit: contain;
}

.ywc-kiosk-main {
	padding: 0 16px 32px;
}

.ywc-kiosk-main .ywc-kiosk {
	margin-top: 12px;
}

.ywc-kiosk .ywc-svc-head {
	min-height: 52px;
}

.ywc-kiosk .ywc-opt {
	min-height: 46px;
}

/* Tablet welcome screen: big, calm, and it drifts slowly so nothing stays lit in one spot. */
.ywc-kiosk:has(.ywc-attract) {
	max-width: none;
	margin: 0;
}

.ywc-attract {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 170px);
	min-height: calc(100dvh - 170px);
	padding: 24px 16px 96px;
	cursor: pointer;
	overflow: hidden;
	-webkit-user-select: none;
	user-select: none;
}

.ywc-attract:focus-visible {
	outline: 3px solid var(--ywc-accent);
	outline-offset: -6px;
}

.ywc-attract-in {
	width: 100%;
	max-width: 640px;
	padding: 40px 28px;
	text-align: center;
	background: #fff;
	border: 1px solid var(--ywc-line);
	border-radius: var(--ywc-card-r, 18px);
	box-shadow: 0 18px 48px rgba(17, 24, 39, .1);
	animation: ywc-drift 60s ease-in-out infinite alternate;
}

.ywc-attract-tag {
	display: inline-block;
	margin-bottom: 14px;
	padding: 6px 16px;
	border-radius: 999px;
	background: var(--ywc-accent);
	color: var(--ywc-on-accent);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ywc-attract-title {
	margin: 0 0 18px;
	color: var(--ywc-ink);
	font-size: 2.6em;
	line-height: 1.15;
	font-weight: 700;
}

.ywc-attract-live {
	min-height: 1.6em;
	margin: 0 0 26px;
	color: var(--ywc-muted);
	font-size: 1.35em;
	font-weight: 600;
}

.ywc-attract-live.is-free {
	color: #047857;
}

.ywc-attract-btn {
	display: inline-block;
	width: auto;
	min-width: 260px;
	padding: 18px 40px;
	font-size: 24px;
	line-height: 1.2;
	text-align: center;
	animation: ywc-pulse 3.2s ease-in-out infinite;
}

@keyframes ywc-drift {
	from { transform: translateY(-8px); }
	to { transform: translateY(8px); }
}

@keyframes ywc-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
	.ywc-attract-in,
	.ywc-attract-btn {
		animation: none;
	}
}

.ywc-attract.is-closed {
	cursor: default;
}

.ywc-attract.is-closed .ywc-attract-btn {
	display: none;
}

.ywc-attract.is-closed .ywc-attract-live {
	margin-bottom: 0;
}

.ywc-attract-title span {
	display: block;
}

.ywc-attract-hi {
	margin-bottom: 6px;
}

.ywc-attract-sub {
	font-size: .62em;
	font-weight: 600;
	color: var(--ywc-ink);
}

.ywc-attract-live {
	margin-top: 4px;
	font-size: 1.15em;
}

/* Welcome screen extras: language buttons (top right) and the "book online" QR code (bottom right). */
.ywc-attract {
	position: relative;
}

.ywc-langs {
	position: absolute;
	top: 12px;
	left: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	max-width: 70%;
}

.ywc-lang {
	min-height: 44px;
	padding: 8px 16px;
	border: 1.5px solid var(--ywc-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ywc-ink);
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.ywc-lang.is-on {
	border-color: var(--ywc-accent);
	background: var(--ywc-accent);
	color: var(--ywc-on-accent);
}

.ywc-attract-qr {
	position: absolute;
	left: 16px;
	bottom: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	max-width: 140px;
	padding: 10px;
	border: 1px solid var(--ywc-line);
	border-radius: var(--ywc-card-r, 12px);
	background: #fff;
	text-align: center;
}

.ywc-attract-qr img {
	display: block;
	width: 112px;
	height: 112px;
}

.ywc-attract-qr span {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--ywc-ink);
}


/* Compact language menu shared by the phone and kiosk check-in views. */
.ywc { position: relative; }
.ywc-language { position: relative; z-index: 10; display: flex; justify-content: flex-end; margin: 0 0 10px; }
.ywc-kiosk:has(.ywc-attract) .ywc-language { position: absolute; top: 12px; left: 12px; margin: 0; }
.ywc-language-trigger { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--ywc-line); border-radius: 999px; background: #fff; color: var(--ywc-ink); font-weight: 600; cursor: pointer; list-style: none; }
.ywc-language-trigger::-webkit-details-marker { display: none; }
.ywc-language-panel { position: absolute; left: 0; top: calc(100% + 6px); min-width: 190px; max-height: 60vh; overflow-y: auto; padding: 6px; border: 1px solid var(--ywc-line); border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.ywc-language-choice { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ywc-ink); text-align: right; font: inherit; cursor: pointer; }
.ywc-language-choice:hover, .ywc-language-choice:focus-visible, .ywc-language-choice[aria-current] { background: #f1f5f9; }

.ywc-language .sbs-language-flag { display: inline-flex; width: 24px; height: 24px; flex: 0 0 24px; border-radius: 50%; overflow: hidden; align-items: center; justify-content: center; }
.ywc-language .sbs-language-flag svg { display: block; width: 24px; height: 24px; }
.ywc-language-choice { display: flex; align-items: center; gap: 10px; }

/* Keep the trigger and its menu together at the right, including Safari on iPad. */
.ywc-language { display: block; width: max-content; max-width: 100%; margin-right: auto; margin-left: 0; }
.ywc-language-trigger { width: max-content; }
.ywc-services.has-error { padding: 10px; margin: 0 -10px 18px; border: 2px solid #dc2626; border-radius: 12px; background: #fff7f7; scroll-margin-top: 16px; }
.ywc-services.has-error legend { color: #991b1b; }
.ywc-service-error, .ywc-option-error { color: #991b1b; background: #fef2f2; border: 1px solid #fca5a5; border-radius: 8px; padding: 10px 12px; margin: 8px 0 12px; font-weight: 700; }
.ywc-service-error[hidden] { display: none; }
.ywc-svc.has-error { border-color: #dc2626; box-shadow: 0 0 0 2px #fecaca; }
.ywc-option-error { margin: 8px; }

/* Business hours: one slim line of small text; stronger only when closed or on a break. */
.ywc-hours { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; margin: 0 auto 14px; color: var(--ywc-muted); font-size: 15px; font-weight: 500; line-height: 1.4; }
.ywc-hours[hidden] { display: none; }
.ywc-card .ywc-hours { justify-content: flex-start; margin: 2px 0 14px; font-size: 14px; }
.ywc-locked .ywc-hours { justify-content: center; }
.ywc-hours-dot { flex: none; width: 8px; height: 8px; margin-inline-end: 8px; border-radius: 50%; background: #9ca3af; }
.ywc-hours.is-open .ywc-hours-dot { background: #16a34a; }
.ywc-hours.is-break .ywc-hours-dot { background: #d97706; }
.ywc-hours.is-closed .ywc-hours-dot { background: #6b7280; }
.ywc-hours.is-break .ywc-hours-label,
.ywc-hours.is-closed .ywc-hours-label { color: var(--ywc-ink); font-weight: 700; }
.ywc-hours-time::before { content: "\00b7"; margin: 0 .55em; opacity: .55; }
.ywc-attract-live[hidden] { display: none; }
.ywc-attract.is-closed .ywc-attract-sub { display: none; }
.ywc-attract.is-closed .ywc-hours { margin-bottom: 0; font-size: 18px; }

/* A customer's own phone: check-in belongs to the front-desk tablet. */
.ywc-locked { text-align: center; }
.ywc-lock-ico { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; background: var(--ywc-soft); color: var(--ywc-accent); border: 1px solid var(--ywc-line); }
.ywc-locked .ywc-title { margin-bottom: 8px; }
.ywc-locked .ywc-intro { margin: 0 auto; max-width: 30em; }

/* Required marks and the phone box (country flag + dial code in front of the number). */
.ywc-field > label { display: block; }
.ywc-field > label > span { display: block; margin-bottom: 6px; font-weight: 600; }
.ywc-field > label small { color: var(--ywc-muted); font-weight: 400; }
.ywc-req { color: #b91c1c; font-weight: 700; margin-inline-start: 2px; }
.ywc-legend { margin: 0 0 12px; font-size: 13px; color: var(--ywc-muted); }
.ywc-services legend .ywc-req { margin-inline-start: 4px; }
.ywc-phone-row { display: flex; align-items: stretch; gap: 8px; }
.ywc-phone-row input { flex: 1 1 auto; min-width: 0; }
.ywc-dial { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; min-height: 48px; padding: 0 12px; border: 1px solid #d1d5db; border-radius: var(--ywc-btn-r, 12px); background: var(--ywc-soft); font-size: 17px; font-weight: 600; white-space: nowrap; }
.ywc-dial-iso { letter-spacing: .04em; }
.ywc-field input.is-bad { border-color: #dc2626; box-shadow: 0 0 0 1px #dc2626; }
.ywc-phone-error { color: #b91c1c; opacity: 1; font-weight: 600; }
.ywc-phone-error[hidden] { display: none; }
