/* Booking online (/book) and My bookings: the pages' own look, in the site's colours (the theme's --brand-primary and
   its gradient), scoped under .eb so nothing else on the site changes. WBAMS\Appointment\BookingPage draws the frame,
   assets/js/Booking.js the steps. */
/* (the bar is placed on the page's body, outside .eb: it carries the same colours) */
.eb, .eb-bar {
	--eb-accent: var(--brand-primary, #b0532a);
	--eb-accent-2: var(--brand-primary-gradient-end, var(--brand-primary-lighter, #e0915f));
	--eb-accent-dark: var(--brand-primary-darker, #7c3519);
	--eb-ink: #2a2129;
	--eb-muted: #7b6e78;
	--eb-line: rgba(42, 33, 41, .09);
	--eb-card: #fff;
	--eb-soft: color-mix(in srgb, var(--eb-accent) 7%, #fff);
	--eb-softer: color-mix(in srgb, var(--eb-accent) 4%, #fff);
	--eb-ring: color-mix(in srgb, var(--eb-accent) 35%, transparent);
	--eb-radius: 18px;
	--eb-shadow: 0 1px 2px rgba(42, 33, 41, .04), 0 8px 24px rgba(42, 33, 41, .06);
	--eb-shadow-lift: 0 2px 4px rgba(42, 33, 41, .05), 0 16px 36px rgba(42, 33, 41, .12);
	--eb-ease: cubic-bezier(.22, .9, .3, 1);
}
.eb {
	color: var(--eb-ink);
	max-width: 1120px;
	margin: 0 auto 40px;
	position: relative;
	font-size: 15px;
	line-height: 1.45;
}
.eb *, .eb *::before, .eb *::after, .eb-bar, .eb-bar * { box-sizing: border-box; }
.eb button, .eb-bar button { font: inherit; color: inherit; }
.eb-bar { font-size: 15px; line-height: 1.45; }
.eb-icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }

/* ---- the heading -------------------------------------------------------------------------------------------- */
.eb-hero {
	position: relative; overflow: hidden; border-radius: 26px; padding: 34px 36px 30px; margin: 4px 0 26px;
	/* the foot deepens in the band's own dark, so its white words read at its light end too */
	background: linear-gradient(0deg, color-mix(in srgb, color-mix(in srgb, var(--eb-accent) 30%, #000) 66%, transparent), transparent 70%),
		linear-gradient(120deg, color-mix(in srgb, var(--eb-accent) 92%, #000) 0%, var(--eb-accent) 45%, var(--eb-accent-2) 100%);
	color: #fff; box-shadow: 0 18px 40px color-mix(in srgb, var(--eb-accent) 28%, transparent);
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 30px;
	animation: eb-rise .7s var(--eb-ease) both;
}
.eb-hero__glow {
	/* centred on the band's top edge (a margin follows the width, as the circle does) */
	position: absolute; inset: 0 -10% auto auto; margin-top: -35%; width: 70%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 65%);
	animation: eb-drift 9s ease-in-out infinite alternate;
}
.eb-hero__body { position: relative; max-width: 640px; }
.eb-eyebrow {
	display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.eb-hero__title { color: #fff; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.08; font-weight: 700; margin: 14px 0 8px; letter-spacing: -.01em; }
.eb-hero__text { margin: 0; font-size: 16px; }
.eb-hero__text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.eb-hero__facts { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
/* the facts take a line of their own under the visit's words, on the band's deeper colour */
.eb-hero > .eb-hero__facts { flex: 0 0 100%; }
.eb-hero__facts li {
	display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500;
}
/* the way to My bookings, and My bookings' own heading */
.eb-hero__link {
	display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
	color: #fff !important; text-decoration: none !important; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); transition: background .2s;
}
.eb-hero__link:hover { background: rgba(255, 255, 255, .26); }
.eb-hero--mine { align-items: center; }
.eb-hero__action.eb-btn--primary { position: relative; background: #fff; color: var(--eb-accent-dark) !important; box-shadow: 0 10px 24px rgba(0, 0, 0, .14); }

/* ---- notices, headings ------------------------------------------------------------------------------------------ */
.eb-notice { border-radius: 14px; padding: 14px 18px; margin: 0 0 18px; font-weight: 500; animation: eb-rise .4s var(--eb-ease) both; border: 1px solid transparent; }
.eb-notice--success { background: #ecf8f0; border-color: #bfe6cc; color: #1d6b3a; }
.eb-notice--danger { background: #fdeeee; border-color: #f5c6c6; color: #9b2c2c; }
.eb-notice--warning { background: #fff6e8; border-color: #f6dcb0; color: #8a5a12; }
.eb-notice--info { background: var(--eb-soft); border-color: var(--eb-line); color: var(--eb-ink); }
/* (a client signed in at Confirm with points to use on the visit: asked, in the page's colour) */
.eb-notice--ask { display: flex; align-items: center; gap: 8px; border-color: var(--eb-ring); color: var(--eb-accent-dark); font-weight: 600; }
.eb-notice--ask .eb-icon { color: var(--eb-accent); width: 1.25em; height: 1.25em; }
.eb-h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; margin: 0 0 14px; color: var(--eb-ink); }
.eb-h2 .eb-icon { color: var(--eb-accent); }

/* ---- stores ------------------------------------------------------------------------------------------------------ */
.eb-stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-bottom: 30px; }
.eb-store {
	display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--eb-radius); background: var(--eb-card); border: 1px solid var(--eb-line);
	box-shadow: var(--eb-shadow); color: var(--eb-ink); text-decoration: none; transition: transform .25s var(--eb-ease), box-shadow .25s var(--eb-ease), border-color .25s;
}
.eb-store:hover { transform: translateY(-3px); box-shadow: var(--eb-shadow-lift); border-color: var(--eb-ring); text-decoration: none; color: var(--eb-ink); }
.eb-store strong { display: block; font-size: 16px; }
.eb-store small { display: block; color: var(--eb-muted); margin-top: 2px; }
.eb-store__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--eb-soft); color: var(--eb-accent); font-size: 20px; }
.eb-store__go { margin-left: auto; color: var(--eb-accent); font-size: 20px; }

/* ---- the app: steps ---------------------------------------------------------------------------------------------- */
.eb-app { position: relative; margin-bottom: 34px; min-height: 240px; }
.eb-steps { display: flex; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; position: relative; }
.eb-steps__item {
	flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--eb-card); border: 1px solid var(--eb-line);
	color: var(--eb-muted); font-weight: 600; font-size: 14px; transition: background .3s, color .3s, border-color .3s, box-shadow .3s; cursor: default; text-align: left;
}
.eb-steps__item[data-reachable="1"] { cursor: pointer; }
.eb-steps__item[data-reachable="1"]:hover { border-color: var(--eb-ring); color: var(--eb-ink); }
.eb-steps__num {
	width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; flex: none;
	background: var(--eb-softer); border: 1px solid var(--eb-line); transition: background .3s, color .3s, transform .3s var(--eb-ease);
}
.eb-steps__item.is-done { color: var(--eb-ink); }
.eb-steps__item.is-done .eb-steps__num { background: var(--eb-soft); color: var(--eb-accent); border-color: var(--eb-ring); }
.eb-steps__item.is-current { color: var(--eb-ink); border-color: var(--eb-ring); box-shadow: 0 6px 18px color-mix(in srgb, var(--eb-accent) 14%, transparent); }
.eb-steps__item.is-current .eb-steps__num { background: linear-gradient(135deg, var(--eb-accent), var(--eb-accent-2)); color: #fff; border-color: transparent; transform: scale(1.08); }
.eb-steps__label small { display: block; font-weight: 500; font-size: 12px; color: var(--eb-muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }

.eb-panel { animation: eb-rise .45s var(--eb-ease) both; }
.eb-panel__title { font-size: 24px; font-weight: 700; margin: 0 0 4px; outline: none; }
.eb-panel__lead { color: var(--eb-muted); margin: 0 0 18px; }

/* ---- step 1: services ---------------------------------------------------------------------------------------------- */
.eb-tools {
	position: sticky; top: var(--eb-top, 0px); z-index: 5; margin: 0 -10px 18px; padding: 10px 10px 12px;
	background: var(--eb-page, #fff); border-radius: 0 0 18px 18px; transition: box-shadow .25s;
}
.eb-tools.is-stuck { box-shadow: 0 10px 24px -14px rgba(42, 33, 41, .35); }
.eb-search { position: relative; margin-bottom: 12px; }
.eb-search input {
	width: 100%; height: 48px; border-radius: 14px; border: 1px solid var(--eb-line); background: var(--eb-card); padding: 0 16px 0 44px; font-size: 15px;
	box-shadow: var(--eb-shadow); transition: border-color .2s, box-shadow .2s; outline: none; color: var(--eb-ink);
}
.eb-search input:focus { border-color: var(--eb-accent); box-shadow: 0 0 0 4px var(--eb-ring); }
.eb-search .eb-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--eb-muted); width: 18px; height: 18px; }
.eb-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; scroll-behavior: smooth; }
.eb-chips::-webkit-scrollbar { display: none; }
.eb-chip-btn {
	flex: none; border: 1px solid var(--eb-line); background: var(--eb-card); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px;
	cursor: pointer; white-space: nowrap; transition: all .25s var(--eb-ease); color: var(--eb-ink);
}
.eb-chip-btn:hover { border-color: var(--eb-ring); transform: translateY(-1px); }
.eb-chip-btn.is-active { background: linear-gradient(135deg, var(--eb-accent), var(--eb-accent-2)); color: #fff; border-color: transparent; box-shadow: 0 6px 16px color-mix(in srgb, var(--eb-accent) 30%, transparent); }
.eb-chip-btn .eb-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; font-size: 11px; margin-left: 6px; background: var(--eb-soft); color: var(--eb-accent); padding: 0 6px; }
.eb-chip-btn.is-active .eb-count { background: rgba(255, 255, 255, .25); color: #fff; }

.eb-cat { margin: 0 0 28px; scroll-margin-top: calc(var(--eb-top, 0px) + 140px); }
.eb-cat__head { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; }
.eb-cat__head h3 { font-size: 19px; font-weight: 700; margin: 0; color: var(--eb-ink); }
.eb-cat__head span { color: var(--eb-muted); font-size: 13px; }
.eb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.eb-svc {
	position: relative; display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 16px 16px 14px; border-radius: var(--eb-radius); cursor: pointer;
	background: var(--eb-card); border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow); min-height: 112px;
	transition: transform .28s var(--eb-ease), box-shadow .28s var(--eb-ease), border-color .28s, background .28s;
	animation: eb-rise .5s var(--eb-ease) both; animation-delay: calc(var(--i, 0) * 28ms);
}
.eb-svc:hover { transform: translateY(-3px); box-shadow: var(--eb-shadow-lift); border-color: var(--eb-ring); }
.eb-svc:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--eb-ring), var(--eb-shadow); }
.eb-svc__top { display: flex; align-items: flex-start; gap: 12px; }
.eb-svc__name { font-weight: 700; font-size: 15.5px; line-height: 1.3; flex: 1; }
.eb-svc__desc { color: var(--eb-muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.eb-svc__meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.eb-svc__price { font-weight: 700; font-size: 16px; color: var(--eb-accent-dark); }
.eb-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--eb-muted); background: var(--eb-softer); border: 1px solid var(--eb-line); border-radius: 999px; padding: 4px 10px; }
.eb-add {
	width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 20px; line-height: 1;
	border: 1.5px solid var(--eb-ring); color: var(--eb-accent); background: var(--eb-card); transition: all .3s var(--eb-ease);
}
.eb-svc:hover .eb-add { background: var(--eb-soft); }
.eb-svc[aria-pressed="true"] { border-color: var(--eb-accent); background: linear-gradient(180deg, var(--eb-soft), var(--eb-card) 70%); box-shadow: 0 0 0 3px var(--eb-ring), var(--eb-shadow-lift); }
.eb-svc[aria-pressed="true"] .eb-add { background: linear-gradient(135deg, var(--eb-accent), var(--eb-accent-2)); color: #fff; border-color: transparent; transform: rotate(360deg); }
.eb-svc.is-pop { animation: eb-pop .38s var(--eb-ease); }
.eb-svc[hidden], .eb-cat[hidden] { display: none; }
.eb-nomatch { text-align: center; color: var(--eb-muted); padding: 30px 10px; }

/* ---- step 2: who -------------------------------------------------------------------------------------------------- */
.eb-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.eb-person {
	display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--eb-radius); background: var(--eb-card); border: 1px solid var(--eb-line);
	box-shadow: var(--eb-shadow); cursor: pointer; text-align: left; transition: transform .28s var(--eb-ease), box-shadow .28s, border-color .28s;
	animation: eb-rise .5s var(--eb-ease) both; animation-delay: calc(var(--i, 0) * 40ms);
}
.eb-person:hover { transform: translateY(-3px); box-shadow: var(--eb-shadow-lift); border-color: var(--eb-ring); }
.eb-person[aria-pressed="true"] { border-color: var(--eb-accent); box-shadow: 0 0 0 3px var(--eb-ring), var(--eb-shadow-lift); background: linear-gradient(180deg, var(--eb-soft), var(--eb-card)); }
.eb-avatar {
	width: 50px; height: 50px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 17px; letter-spacing: .02em;
	background: linear-gradient(135deg, hsl(var(--h, 20) 62% 55%), hsl(calc(var(--h, 20) + 35) 70% 62%)); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35);
}
.eb-avatar--any { background: linear-gradient(135deg, var(--eb-accent), var(--eb-accent-2)); font-size: 22px; }
.eb-person strong { display: block; font-size: 15.5px; }
.eb-person small { display: block; color: var(--eb-muted); font-size: 12.5px; margin-top: 2px; }
.eb-hint { color: var(--eb-muted); font-size: 13.5px; margin: 14px 2px 0; }

/* ---- step 3: when -------------------------------------------------------------------------------------------------- */
.eb-days-wrap { position: relative; margin: 0 0 20px; }
.eb-days { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 10px; scroll-snap-type: x proximity; }
.eb-days::-webkit-scrollbar { display: none; }
.eb-day {
	flex: none; width: 74px; padding: 10px 0 11px; border-radius: 16px; background: var(--eb-card); border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow);
	display: flex; flex-direction: column; align-items: center; gap: 1px; cursor: pointer; scroll-snap-align: start; transition: all .25s var(--eb-ease);
}
.eb-day span { font-size: 12px; font-weight: 600; color: var(--eb-muted); text-transform: uppercase; letter-spacing: .06em; }
.eb-day strong { font-size: 22px; line-height: 1.15; }
.eb-day:hover { transform: translateY(-2px); border-color: var(--eb-ring); }
.eb-day[aria-pressed="true"] { background: linear-gradient(160deg, var(--eb-accent), var(--eb-accent-2)); border-color: transparent; color: #fff; box-shadow: 0 10px 22px color-mix(in srgb, var(--eb-accent) 32%, transparent); transform: translateY(-2px); }
.eb-day[aria-pressed="true"] span { color: rgba(255, 255, 255, .85); }
.eb-scroll {
	position: absolute; top: 34px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--eb-line); background: var(--eb-card); box-shadow: var(--eb-shadow);
	display: grid; place-items: center; cursor: pointer; z-index: 2; color: var(--eb-ink); transition: transform .2s;
}
.eb-scroll:hover { transform: scale(1.08); }
.eb-scroll[hidden] { display: none; }
.eb-scroll--left { left: -14px; } .eb-scroll--right { right: -14px; }
.eb-scroll--left .eb-icon { transform: rotate(180deg); }
.eb-period { margin: 0 0 18px; }
.eb-period h4 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--eb-muted); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.eb-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.eb-time {
	height: 46px; border-radius: 13px; border: 1px solid var(--eb-line); background: var(--eb-card); font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: var(--eb-shadow);
	transition: all .22s var(--eb-ease); animation: eb-rise .4s var(--eb-ease) both; animation-delay: calc(var(--i, 0) * 18ms);
}
.eb-time:hover { border-color: var(--eb-accent); color: var(--eb-accent); transform: translateY(-2px); }
.eb-time[aria-pressed="true"] { background: linear-gradient(135deg, var(--eb-accent), var(--eb-accent-2)); color: #fff; border-color: transparent; box-shadow: 0 10px 22px color-mix(in srgb, var(--eb-accent) 30%, transparent); }
.eb-loading { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.eb-loading span, .eb-skeleton span {
	height: 46px; border-radius: 13px; background: linear-gradient(90deg, var(--eb-softer) 0%, var(--eb-soft) 40%, var(--eb-softer) 80%); background-size: 200% 100%;
	animation: eb-shimmer 1.2s linear infinite;
}
.eb-skeleton { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.eb-skeleton span { height: 112px; border-radius: var(--eb-radius); }
.eb-none { text-align: center; padding: 26px 18px; border-radius: var(--eb-radius); background: var(--eb-softer); border: 1px dashed var(--eb-ring); color: var(--eb-muted); }
.eb-none strong { display: block; color: var(--eb-ink); font-size: 16px; margin-bottom: 4px; }
.eb-none .eb-btn { margin-top: 12px; }

/* ---- the visit (when and confirm) --------------------------------------------------------------------------------- */
.eb-plan { border-radius: var(--eb-radius); background: var(--eb-card); border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow); padding: 6px 18px; margin: 18px 0 0; animation: eb-rise .4s var(--eb-ease) both; }
.eb-plan__line { display: grid; grid-template-columns: 92px 1fr auto; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--eb-line); }
.eb-plan__line:last-child { border-bottom: 0; }
.eb-plan__time { font-weight: 700; color: var(--eb-accent-dark); font-size: 14px; }
.eb-plan__name { font-weight: 600; }
.eb-plan__name small { display: block; color: var(--eb-muted); font-weight: 500; font-size: 12.5px; }
.eb-plan__price { font-weight: 700; }
.eb-summary { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
/* Beside a taller visit card, the note card reaches its bottom: its box takes the room. It is never shorter than it needs. */
.eb-summary > .eb-side { align-self: stretch; }
.eb-card { border-radius: var(--eb-radius); background: var(--eb-card); border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow); padding: 20px; }
.eb-when { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.eb-when__badge { width: 58px; height: 62px; border-radius: 16px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
	background: linear-gradient(160deg, var(--eb-accent), var(--eb-accent-2)); box-shadow: 0 10px 20px color-mix(in srgb, var(--eb-accent) 28%, transparent); }
.eb-when__badge span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }
.eb-when__badge strong { font-size: 24px; line-height: 1; }
.eb-when strong { font-size: 17px; }
.eb-when small { display: block; color: var(--eb-muted); }
.eb-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 4px; border-top: 1px dashed var(--eb-line); font-weight: 700; font-size: 17px; }
.eb-total small { color: var(--eb-muted); font-weight: 500; font-size: 13px; }
.eb-field label { display: block; font-weight: 600; margin: 0 0 6px; }
.eb-field textarea { width: 100%; min-height: 110px; border-radius: 14px; border: 1px solid var(--eb-line); padding: 12px 14px; font: inherit; resize: vertical; outline: none; transition: border-color .2s, box-shadow .2s; color: var(--eb-ink); }
.eb-field textarea:focus { border-color: var(--eb-accent); box-shadow: 0 0 0 4px var(--eb-ring); }
.eb-small { color: var(--eb-muted); font-size: 13px; margin: 10px 0 0; }
.eb-side { display: flex; flex-direction: column; gap: 18px; }
.eb-side > .eb-field { flex: 1 0 auto; display: flex; flex-direction: column; }
.eb-side > .eb-field textarea { flex: 1 0 auto; }
.eb-total--points { border-top: 0; padding-top: 8px; margin-top: 0; color: var(--eb-accent-dark); font-size: 15.5px; }
.eb-total--due { font-size: 18px; }

/* ---- points (round 35) ----------------------------------------------------------------------------------------------- */
.eb-points { transition: border-color .25s, box-shadow .25s; }
.eb-points.is-on { border-color: var(--eb-ring); box-shadow: 0 0 0 3px color-mix(in srgb, var(--eb-accent) 14%, transparent), var(--eb-shadow); }
.eb-points__head { display: flex; align-items: center; gap: 12px; }
.eb-points__icon { width: 42px; height: 42px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--eb-soft); color: var(--eb-accent); }
.eb-points__icon svg { width: 22px; height: 22px; }
.eb-points__title { flex: 1; min-width: 0; }
.eb-points__title strong { display: block; font-size: 16px; }
.eb-points__title small { display: block; color: var(--eb-muted); font-size: 13px; }
.eb-switch { position: relative; flex: none; width: 48px; height: 28px; cursor: pointer; margin: 0; }
.eb-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.eb-switch span { position: absolute; inset: 0; border-radius: 999px; background: color-mix(in srgb, var(--eb-ink) 18%, #fff); transition: background .25s; }
.eb-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: transform .25s var(--eb-ease); }
.eb-switch input:checked + span { background: linear-gradient(135deg, var(--eb-accent), var(--eb-accent-2)); }
.eb-switch input:checked + span::after { transform: translateX(20px); }
.eb-switch input:focus-visible + span { box-shadow: 0 0 0 4px var(--eb-ring); }
.eb-points__pick { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.eb-points__step {
	width: 44px; height: 44px; border-radius: 14px; flex: none; border: 1px solid var(--eb-line); background: var(--eb-card); font-size: 22px; font-weight: 700; line-height: 1;
	color: var(--eb-accent) !important; cursor: pointer; transition: transform .2s var(--eb-ease), border-color .2s, background .2s;
}
.eb-points__step:hover:not(:disabled) { border-color: var(--eb-ring); background: var(--eb-softer); transform: translateY(-1px); }
.eb-points__step:disabled { opacity: .35; cursor: not-allowed; }
.eb-points__value { flex: 1; text-align: center; padding: 8px 10px; border-radius: 14px; background: var(--eb-softer); border: 1px solid var(--eb-line); }
.eb-points__value strong { display: block; font-size: 19px; color: var(--eb-accent-dark); }
.eb-points__value small { display: block; color: var(--eb-muted); font-size: 12.5px; }
.eb-points__value--one { margin-top: 16px; }
.eb-points__options { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 16px; }
.eb-points__option { text-align: left; padding: 10px 12px; border-radius: 13px; border: 1px solid var(--eb-line); background: var(--eb-card); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.eb-points__option strong { display: block; color: var(--eb-accent-dark); }
.eb-points__option small { display: block; color: var(--eb-muted); font-size: 12.5px; }
.eb-points__option[aria-checked="true"] { border-color: var(--eb-accent); box-shadow: 0 0 0 3px var(--eb-ring); background: var(--eb-soft); }

/* ---- the bar --------------------------------------------------------------------------------------------------------- */
.eb-bar {
	position: fixed; left: 50%; bottom: 16px; z-index: 50; width: min(1120px, calc(100% - 24px)); transform: translate(-50%, 140%); opacity: 0;
	transition: transform .5s var(--eb-ease), opacity .4s; pointer-events: none;
}
.eb-bar.is-shown { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.eb-bar__inner {
	display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 18px; border-radius: 20px; color: #fff;
	background: color-mix(in srgb, var(--eb-ink) 92%, var(--eb-accent)); box-shadow: 0 18px 44px rgba(20, 12, 18, .35); backdrop-filter: blur(10px);
}
.eb-bar__sum { flex: 1; min-width: 0; }
.eb-bar__sum strong { display: block; font-size: 15.5px; }
.eb-bar__sum span { display: block; font-size: 13px; opacity: .78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eb-bar__count {
	width: 42px; height: 42px; border-radius: 14px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 17px;
	background: linear-gradient(135deg, var(--eb-accent), var(--eb-accent-2)); transition: transform .3s var(--eb-ease);
}
.eb-bar__count.is-bump { animation: eb-pop .38s var(--eb-ease); }
.eb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 14px; border: 0; cursor: pointer;
	font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .2s var(--eb-ease), box-shadow .2s, opacity .2s, background .2s; text-decoration: none;
}
.eb-btn--primary { background: linear-gradient(135deg, var(--eb-accent), var(--eb-accent-2)); color: #fff !important; box-shadow: 0 8px 20px color-mix(in srgb, var(--eb-accent) 35%, transparent); }
.eb-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px color-mix(in srgb, var(--eb-accent) 45%, transparent); }
.eb-btn--primary:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.eb-btn--light { background: rgba(255, 255, 255, .12); color: #fff !important; }
.eb-btn--light:hover { background: rgba(255, 255, 255, .2); }
.eb-btn--ghost { background: var(--eb-card); border: 1px solid var(--eb-line); color: var(--eb-ink); height: 40px; padding: 0 16px; font-size: 14px; }
.eb-btn--ghost:hover { border-color: var(--eb-ring); background: var(--eb-softer); }
.eb-btn.is-busy { pointer-events: none; }
.eb-btn.is-busy::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: eb-spin .8s linear infinite; }
.eb-spacer { height: 96px; }

/* ---- done ----------------------------------------------------------------------------------------------------------- */
.eb-done { text-align: center; padding: 30px 18px 10px; animation: eb-rise .5s var(--eb-ease) both; }
.eb-done__check { width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
	background: linear-gradient(135deg, var(--eb-accent), var(--eb-accent-2)); box-shadow: 0 16px 36px color-mix(in srgb, var(--eb-accent) 35%, transparent); animation: eb-pop .6s var(--eb-ease) both; }
.eb-done__check svg { width: 50px; height: 50px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: eb-draw .55s .25s var(--eb-ease) forwards; }
.eb-done h2 { font-size: 30px; font-weight: 800; margin: 0 0 6px; }
.eb-done p { color: var(--eb-muted); margin: 0 0 18px; }
.eb-done .eb-plan { max-width: 620px; margin: 0 auto 20px; text-align: left; }
.eb-done__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.eb-done__actions .eb-btn--ghost { height: 46px; }
.eb-done__points { display: inline-block; color: var(--eb-accent-dark) !important; background: var(--eb-soft); border: 1px solid var(--eb-ring); border-radius: 12px; padding: 8px 14px; font-weight: 600; }

/* ---- my bookings (round 35: a page of its own) ------------------------------------------------------------------- */
.eb-mine { margin-top: 10px; }
.eb-mine + .eb-mine { margin-top: 30px; }
.eb-visits { display: grid; gap: 12px; }
.eb-visit {
	display: flex; align-items: center; gap: 18px; padding: 16px 18px; border-radius: var(--eb-radius); background: var(--eb-card); border: 1px solid var(--eb-line);
	box-shadow: var(--eb-shadow); animation: eb-rise .45s var(--eb-ease) both;
}
.eb-visit--muted { opacity: .62; }
.eb-visit__date { width: 64px; flex: none; text-align: center; border-radius: 14px; padding: 8px 0; background: var(--eb-soft); color: var(--eb-accent-dark); }
.eb-visit__date span { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.eb-visit__date strong { display: block; font-size: 24px; line-height: 1.1; }
.eb-visit__body { flex: 1; min-width: 0; }
.eb-visit__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.eb-visit__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.eb-visit__lines li { display: flex; gap: 10px; font-size: 14px; }
.eb-visit__time { font-weight: 700; min-width: 50px; color: var(--eb-accent-dark); }
.eb-visit__who { color: var(--eb-muted); margin-left: auto; }
.eb-pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.eb-pill--ok { background: #e6f6ec; color: #1d6b3a; }
.eb-pill--wait { background: #fff3df; color: #8a5a12; }
.eb-pill--muted { background: #efedef; color: #6f6670; }
.eb-pill--done { background: var(--eb-soft); color: var(--eb-accent-dark); }
.eb-visit--done .eb-visit__date { background: var(--eb-softer); color: var(--eb-muted); }
.eb-visit__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--eb-line); font-size: 14px; }
.eb-visit__total { color: var(--eb-muted); }
.eb-visit__total strong { color: var(--eb-ink); }
.eb-visit__points { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--eb-soft); color: var(--eb-accent-dark); font-size: 13px; }
.eb-visit__late { margin: 0; max-width: 220px; color: var(--eb-muted); font-size: 13px; text-align: right; }
.eb-visit__late a { color: var(--eb-accent-dark); font-weight: 600; }
.eb-empty { color: var(--eb-muted); background: var(--eb-softer); border: 1px dashed var(--eb-line); border-radius: var(--eb-radius); padding: 18px; margin: 0; }

/* ---- the client's portal: tabs, history, receipt, points (round 35) ----------------------------------------------- */
.eb-tabs { display: flex; gap: 8px; margin: 0 0 22px; padding: 6px; border-radius: 18px; background: var(--eb-card); border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow); overflow-x: auto; scrollbar-width: none; }
.eb-tabs::-webkit-scrollbar { display: none; }
.eb-tabs__item { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: max-content; padding: 11px 16px; border-radius: 13px; font-weight: 700; color: var(--eb-muted) !important; text-decoration: none !important; transition: background .2s, color .2s; }
.eb-tabs__item:hover { background: var(--eb-softer); color: var(--eb-ink) !important; }
.eb-tabs__item.is-current { background: linear-gradient(135deg, var(--eb-accent), var(--eb-accent-2)); color: #fff !important; box-shadow: 0 8px 18px color-mix(in srgb, var(--eb-accent) 30%, transparent); }
.eb-h2__count { margin-left: 4px; padding: 2px 10px; border-radius: 999px; background: var(--eb-soft); color: var(--eb-accent-dark); font-size: 13px; font-weight: 700; }
.eb-visit__number { color: var(--eb-muted); font-size: 13px; font-weight: 600; }
.eb-visit__amount { min-width: 70px; text-align: right; font-weight: 700; }
.eb-visit--done .eb-visit__who { margin-left: auto; }
.eb-visit__points--used { background: var(--eb-softer); color: var(--eb-ink); }
.eb-visit__actions { display: flex; flex-direction: column; gap: 8px; flex: none; }
.eb-btn--small { height: 40px; padding: 0 16px; font-size: 14px; }
.eb-pages { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.eb-pages__at { color: var(--eb-muted); font-size: 14px; }
.eb-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; font-weight: 700; color: var(--eb-accent-dark) !important; text-decoration: none !important; }
/* My bookings in the client portal (round 36): the way back to the Client Area, and Book a visit, above the tabs. */
.eb-portalbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }
.eb-portalbar .eb-portalbar__back { margin: 0; }
.eb-portalbar__action { margin-left: auto; }
.eb-receipt { max-width: 560px; margin: 0 auto; padding: 26px 26px 22px; border-radius: var(--eb-radius); background: var(--eb-card); border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow-lift); }
.eb-receipt__head { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding-bottom: 14px; border-bottom: 1px dashed var(--eb-line); }
.eb-receipt__head strong { font-size: 20px; }
.eb-receipt__head span { color: var(--eb-muted); font-size: 14px; }
.eb-receipt__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 14px 0; }
.eb-receipt__facts div { display: flex; flex-direction: column; }
.eb-receipt__facts dt { color: var(--eb-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.eb-receipt__facts dd { margin: 0; font-weight: 700; }
.eb-receipt__table { width: 100%; border-collapse: collapse; }
.eb-receipt__table td, .eb-receipt__table th { padding: 8px 0; border-bottom: 1px solid var(--eb-line); vertical-align: top; text-align: left; }
.eb-receipt__table td small { display: block; color: var(--eb-muted); font-size: 12.5px; }
.eb-receipt__table thead th { color: var(--eb-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.eb-receipt__num { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 12px !important; }
.eb-receipt__sums td { border-bottom: 0; padding: 4px 0; color: var(--eb-muted); }
.eb-receipt__sums tr:first-child td { padding-top: 12px; }
.eb-receipt__total td { padding-top: 10px !important; border-top: 1px solid var(--eb-line); color: var(--eb-ink) !important; font-size: 18px; font-weight: 800; }
.eb-receipt__paid th { padding-top: 16px; color: var(--eb-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-bottom: 0; }
.eb-receipt__paid td { border-bottom: 0; padding: 3px 0; }
.eb-receipt__table td small.eb-receipt__off { color: var(--eb-accent-dark); font-weight: 600; }
.eb-receipt__was { display: block; color: var(--eb-muted); font-size: 12.5px; font-weight: 500; text-decoration-thickness: 1px; }
.eb-receipt__sums .eb-receipt__discounts td { color: var(--eb-accent-dark); font-weight: 700; }
.eb-receipt__saved, .eb-receipt__points { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--eb-line); color: var(--eb-accent-dark); font-size: 14px; }
.eb-receipt__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.eb-pointsbook { padding: 18px 20px; border-radius: var(--eb-radius); background: var(--eb-card); border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow); }
.eb-pointsbook__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px dashed var(--eb-line); }
.eb-pointsbook__head > div { display: flex; flex-direction: column; gap: 2px; }
.eb-pointsbook__store { color: var(--eb-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.eb-pointsbook__balance { font-size: 28px; font-weight: 800; color: var(--eb-accent-dark); line-height: 1.15; }
.eb-pointsbook__worth { color: var(--eb-muted); font-size: 14px; }
.eb-points-plus { color: #1d6b3a; font-weight: 700; }
.eb-points-minus { color: #9b2c2c; font-weight: 700; }
/* How far the next reward is (WBAMS\Loyalty\Redemption::next()), under the balance, and a visit's state on its card. */
.eb-progress { width: min(320px, 100%); height: 8px; margin-top: 8px; border-radius: 999px; background: var(--eb-softer); overflow: hidden; }
.eb-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--eb-accent), var(--eb-accent-2)); transform-origin: left; animation: eb-grow .9s var(--eb-ease) both; }
.eb-pointsbook__next { margin-top: 4px; color: var(--eb-accent-dark); font-size: 13px; font-weight: 600; }
.eb-visit--ok { border-left: 4px solid #3aa76d; }
.eb-visit--wait { border-left: 4px solid #e0a43a; }
@keyframes eb-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .eb-progress span { animation: none; } }
@media print {
	.eb-hero, .eb-tabs, .eb-back, .eb-receipt__actions, .eb-bar, .eb-portalbar { display: none !important; }
	.eb-receipt { box-shadow: none; border: 0; max-width: none; }
}
/* ---- the account step: a visitor signs in or makes their account at Confirm (WBAMS\Appointment\BookingAccount) ---- */
/* (drawn by the page's template, moved under the visit by the script; fields in the page's look, in either theme) */
.eb-account {
	position: relative; overflow: hidden; margin: 22px 0 0; padding: 26px 26px 22px; border-radius: 24px; color: var(--eb-ink);
	background: radial-gradient(120% 90% at 100% 0%, var(--eb-soft) 0%, var(--eb-card) 46%); border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow-lift);
	animation: eb-rise .45s var(--eb-ease) both;
}
.eb-account[hidden], .eb-account__form[hidden] { display: none; }
.eb-account::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--eb-accent), var(--eb-accent-2)); }
.eb-account__head { display: flex; align-items: center; gap: 16px; margin: 0 0 20px; }
.eb-account__badge {
	width: 54px; height: 54px; border-radius: 17px; flex: none; display: grid; place-items: center; color: #fff; font-size: 25px;
	background: linear-gradient(135deg, var(--eb-accent), var(--eb-accent-2)); box-shadow: 0 12px 24px color-mix(in srgb, var(--eb-accent) 30%, transparent);
	animation: eb-pop .6s .15s var(--eb-ease) both;
}
.eb-account__title { font-size: 22px; font-weight: 700; line-height: 1.2; margin: 0 0 3px; outline: none; color: var(--eb-ink); }
.eb-account__lead { margin: 0; color: var(--eb-muted); }
.eb-account__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; margin: 0 0 20px; border-radius: 18px; background: var(--eb-softer); border: 1px solid var(--eb-line); }
.eb-account__tab {
	display: flex; align-items: center; gap: 12px; min-width: 0; text-align: left; padding: 11px 14px; border-radius: 13px; border: 0; background: transparent; cursor: pointer;
	color: var(--eb-muted); transition: background .25s, color .25s, box-shadow .25s, transform .25s var(--eb-ease);
}
.eb-account__tab:hover { color: var(--eb-ink); }
.eb-account__tab strong { display: block; font-size: 15px; color: inherit; }
.eb-account__tab small { display: block; font-size: 12.5px; font-weight: 500; opacity: .85; }
.eb-account__tab-icon {
	width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 18px; color: var(--eb-accent); background: var(--eb-card);
	border: 1px solid var(--eb-line); transition: background .25s, color .25s, border-color .25s;
}
.eb-account__tab[aria-selected="true"] { background: var(--eb-card); color: var(--eb-ink); box-shadow: 0 8px 20px rgba(42, 33, 41, .09); }
.eb-account__tab[aria-selected="true"] .eb-account__tab-icon { background: linear-gradient(135deg, var(--eb-accent), var(--eb-accent-2)); color: #fff; border-color: transparent; }
.eb-account__tab:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--eb-ring); }
.eb-account__closed { margin: 0 0 18px; padding: 12px 16px; border-radius: 14px; background: var(--eb-softer); border: 1px dashed var(--eb-ring); color: var(--eb-ink); font-weight: 500; }
.eb-account__form { animation: eb-rise .35s var(--eb-ease) both; }
.eb-account__problems ul { margin: 0; padding-left: 18px; }
.eb-account__problems li + li { margin-top: 3px; }
.eb-account__group { display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--eb-muted); margin: 24px 0 12px; }
.eb-account__group::after { content: ""; flex: 1; height: 1px; background: var(--eb-line); }
.eb-account__form > .eb-account__group:first-of-type { margin-top: 4px; }
.eb-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 16px; }
.eb-input { grid-column: span 3; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.eb-input--full { grid-column: 1 / -1; }
.eb-input--third { grid-column: span 2; }
.eb-account .eb-input label { display: block; font-weight: 600; font-size: 14px; margin: 0; color: var(--eb-ink); }
.eb-input__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.eb-optional { color: var(--eb-muted); font-weight: 500; }
.eb-account .eb-input input, .eb-account .eb-input select, .eb-account .eb-captcha input[type="text"] {
	display: block; width: 100%; max-width: none; height: 48px; margin: 0; padding-top: 0; padding-bottom: 0; padding-right: 14px; border-radius: 14px;
	border: 1px solid color-mix(in srgb, var(--eb-ink) 16%, #fff); background: #fff; box-shadow: none; outline: none; font: inherit; font-size: 15px; color: var(--eb-ink);
	transition: border-color .2s, box-shadow .2s;
}
/* (a phone field the theme gives a country picker keeps the picker's own room on its left) */
.eb-account .eb-input > input, .eb-account .eb-input > select, .eb-account .eb-captcha input[type="text"] { padding-left: 14px; }
.eb-account .eb-input select { padding-right: 34px; }
.eb-account .eb-input input:focus, .eb-account .eb-input select:focus, .eb-account .eb-captcha input[type="text"]:focus { border-color: var(--eb-accent); box-shadow: 0 0 0 4px var(--eb-ring); }
.eb-account .eb-input input:user-invalid { border-color: #d98a8a; }
.eb-account .intl-tel-input, .eb-account .iti { display: block; width: 100%; }
.eb-input__help { color: var(--eb-muted); font-size: 12.5px; }
.eb-account__forgot { font-size: 13px; font-weight: 600; color: var(--eb-accent-dark) !important; white-space: nowrap; }
.eb-account__check {
	display: flex; align-items: flex-start; gap: 14px; margin: 18px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--eb-softer); border: 1px solid var(--eb-line);
	cursor: pointer; font-weight: 500; transition: border-color .2s;
}
.eb-account__check:hover { border-color: var(--eb-ring); }
.eb-account__check strong { display: block; }
.eb-account__check small { display: block; color: var(--eb-muted); font-size: 13px; margin-top: 2px; }
.eb-account__check--terms input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--eb-accent); }
.eb-account .eb-captcha { margin: 20px 0 0; text-align: left; }
.eb-account .eb-captcha img { display: block; max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--eb-line); }
.eb-account .eb-captcha p, .eb-account .eb-captcha .dr-captcha__label { color: var(--eb-muted); font-size: 13.5px; margin: 0 0 8px; text-align: left; }
.eb-account .eb-captcha input[type="text"] { max-width: 320px; margin-top: 10px; letter-spacing: .2em; text-transform: uppercase; }
.eb-account__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--eb-line); }
.eb-account__actions .eb-small { flex: 1; min-width: 220px; margin: 0; }
.eb-account__submit { height: 52px; padding: 0 26px; font-size: 15.5px; }
.eb-account__submit.is-busy .eb-icon { display: none; }
@media (max-width: 760px) {
	.eb-account { padding: 22px 16px 18px; border-radius: 20px; }
	.eb-account__head { align-items: flex-start; }
	.eb-account__badge { width: 46px; height: 46px; border-radius: 14px; font-size: 21px; }
	.eb-account__title { font-size: 19px; }
	.eb-input, .eb-input--third { grid-column: 1 / -1; }
	.eb-account__submit { width: 100%; }
}
@media (max-width: 520px) {
	.eb-account__tab { padding: 10px; gap: 8px; }
	.eb-account__tab-icon { display: none; }
	.eb-account__tab strong { font-size: 14px; }
}

/* ---- motion -------------------------------------------------------------------------------------------------------- */
/* Movement only: what rises in is there from the start, also where animations do not run (a hidden tab, a capture). */
@keyframes eb-rise { from { transform: translateY(12px); } to { transform: none; } }
@keyframes eb-pop { 0% { transform: scale(1); } 40% { transform: scale(1.045); } 100% { transform: scale(1); } }
@keyframes eb-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes eb-drift { from { transform: translate(0, 0); } to { transform: translate(-12%, 10%); } }
@keyframes eb-spin { to { transform: rotate(360deg); } }
@keyframes eb-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
	.eb *, .eb *::before, .eb *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

/* ---- small screens -------------------------------------------------------------------------------------------------- */
@media (max-width: 760px) {
	.eb { font-size: 14.5px; }
	.eb-hero { padding: 26px 20px 22px; border-radius: 22px; }
	.eb-steps__label small { display: none; }
	.eb-steps__item { padding: 8px; justify-content: center; }
	.eb-steps__label { display: none; }
	.eb-steps__item.is-current .eb-steps__label { display: block; }
	.eb-summary { grid-template-columns: 1fr; }
	.eb-plan__line { grid-template-columns: 74px 1fr auto; }
	.eb-visit { flex-wrap: wrap; }
	.eb-visit__cancel { width: 100%; }
	.eb-visit__cancel .eb-btn { width: 100%; }
	.eb-visit__late { max-width: none; text-align: left; width: 100%; }
	.eb-hero__action { width: 100%; }
	.eb-portalbar__action { width: 100%; justify-content: center; }
	.eb-visit__actions { flex-direction: row; width: 100%; }
	.eb-visit__actions .eb-btn { flex: 1; }
	.eb-visit--done .eb-visit__lines li { flex-wrap: wrap; }
	.eb-receipt { padding: 20px 16px; }
	.eb-bar__sum span { display: none; }
	.eb-bar__sum strong { white-space: nowrap; }
	.eb-bar__sum strong .eb-bar__time { display: none; }
	.eb-bar__inner { gap: 10px; padding: 10px 10px 10px 12px; }
	.eb-bar__count { width: 36px; height: 36px; font-size: 15px; }
	.eb-bar .eb-btn { padding: 0 16px; }
	.eb-scroll { display: none; }
}

/* Dark mode, as the site's theme switches it: both themes mark it on the body (Serepok's switch and Draisap's set
   body.dark-mode). The cards, fields and text take dark colours; the accent stays the site's, its dark shade (prices,
   times, links on the cards) lightened to read on them. */
body.dark-mode .eb, body.dark-mode .eb-bar {
	--eb-ink: #f2edf0;
	--eb-muted: #b9aeb6;
	--eb-line: rgba(255, 255, 255, .1);
	--eb-card: color-mix(in srgb, var(--eb-accent) 7%, #1d191e);
	--eb-soft: color-mix(in srgb, var(--eb-accent) 18%, #1d191e);
	--eb-softer: color-mix(in srgb, var(--eb-accent) 11%, #1d191e);
	--eb-field: color-mix(in srgb, var(--eb-accent) 4%, #151216);
	--eb-page: color-mix(in srgb, var(--eb-accent) 5%, #19151a);
	--eb-accent-dark: color-mix(in srgb, var(--eb-accent-2) 55%, #fff);
	--eb-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
	--eb-shadow-lift: 0 2px 4px rgba(0, 0, 0, .35), 0 16px 36px rgba(0, 0, 0, .5);
}
/* (the hero's white button keeps its dark text) */
body.dark-mode .eb-hero__action.eb-btn--primary { color: var(--brand-primary-darker, #7c3519) !important; }
/* the band's words stay white in dark mode (the theme paints a dark page's lists and text in its light grey) */
body.dark-mode .eb-hero :is(.eb-eyebrow, .eb-hero__text, .eb-hero__facts li) { color: #fff !important; }
body.dark-mode .eb-notice--success { background: rgba(58, 167, 109, .14); border-color: rgba(58, 167, 109, .35); color: #a6e3bf; }
body.dark-mode .eb-notice--danger { background: rgba(217, 87, 87, .14); border-color: rgba(217, 87, 87, .35); color: #f2b3b3; }
body.dark-mode .eb-notice--warning { background: rgba(224, 164, 58, .14); border-color: rgba(224, 164, 58, .35); color: #f1cf8f; }
body.dark-mode .eb-pill--ok { background: rgba(58, 167, 109, .18); color: #a6e3bf; }
body.dark-mode .eb-pill--wait { background: rgba(224, 164, 58, .18); color: #f1cf8f; }
body.dark-mode .eb-pill--muted { background: rgba(255, 255, 255, .08); color: #c9c0c6; }
body.dark-mode .eb-points-plus { color: #8fd9ad; }
body.dark-mode .eb-points-minus { color: #f2a3a3; }
body.dark-mode .eb-switch input:not(:checked) + span { background: rgba(255, 255, 255, .18); }
/* (and every link its own blue: the ghost buttons, Receipt, Invoice and Get help, keep the card's ink) */
body.dark-mode .eb .eb-btn--ghost, body.dark-mode .eb .eb-btn--ghost:hover { color: var(--eb-ink) !important; }
/* (Serepok's dark mode gives every cell, paragraph and small text one colour, with !important: the receipt's quieter
   words, its discounts and what was saved keep theirs) */
body.dark-mode .eb-receipt__table td small, body.dark-mode .eb-receipt__sums td, body.dark-mode .eb-receipt__was { color: var(--eb-muted) !important; }
body.dark-mode .eb-receipt__table td small.eb-receipt__off, body.dark-mode .eb-receipt__sums .eb-receipt__discounts td,
body.dark-mode .eb-receipt__saved, body.dark-mode .eb-receipt__saved strong, body.dark-mode .eb-receipt__points, body.dark-mode .eb-receipt__points strong { color: var(--eb-accent-dark) !important; }
/* (Serepok's dark mode styles every field on the page, and shows every one, with !important, the phone number's in a
   shade of its own: the switch's own checkbox stays hidden, and the booking's fields, held by the app's own ids, keep one
   look and a visible focus) */
body.dark-mode .eb-switch input { opacity: 0 !important; }
body.dark-mode #wbamsBook .eb-field textarea, body.dark-mode #wbamsBookAccount .eb-input input:not([type="checkbox"]):not([type="radio"]) { background: var(--eb-field) !important; color: var(--eb-ink) !important; border-color: rgba(255, 255, 255, .14) !important; }
body.dark-mode #wbamsBook .eb-field textarea:focus, body.dark-mode #wbamsBookAccount .eb-input input:not([type="checkbox"]):not([type="radio"]):focus { border-color: var(--eb-accent) !important; box-shadow: 0 0 0 4px var(--eb-ring) !important; }
body.dark-mode #wbamsBook .eb-field textarea::placeholder, body.dark-mode #wbamsBookAccount .eb-input input::placeholder { color: var(--eb-muted) !important; opacity: 1 !important; }
/* (the bar keeps its dark band, lifted from the page by a fine edge) */
body.dark-mode .eb-bar__inner { background: color-mix(in srgb, #0f0c10 86%, var(--eb-accent)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 44px rgba(0, 0, 0, .55); }
