/* Escape Junior Rezervări – client widget
 * Direction: "biletul de aventură" — calm, bright booking surfaces; the summary is an admission ticket
 * that fills up as the family moves through the steps. Personality comes from the room art, not decoration.
 */
.ejr-app {
	--ejr-accent: #ff7a00;
	--ejr-accent-hover: #f06d00;
	--ejr-on-accent: #17243b;
	--ejr-accent-soft: #fff2e6;
	--ejr-accent-deep: #a84400;
	--ejr-ink: #17243b;
	--ejr-muted: #526079;
	--ejr-line: #dce2eb;
	--ejr-control: #7a879b;
	--ejr-bg: #ffffff;
	--ejr-sunk: #f6f8fc;
	--ejr-page: #ffffff;
	--ejr-focus: #005fcc;
	--ejr-ok: #176340;
	--ejr-ok-bg: #eaf7ef;
	--ejr-err: #b42318;
	--ejr-err-bg: #fff0ee;
	--ejr-display: 'Baloo 2', 'Nunito Sans', system-ui, sans-serif;
	--ejr-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ejr-r-sm: 12px;
	--ejr-r: 18px;
	--ejr-shadow: 0 6px 24px rgb(23 36 59 / 6%);
	container: ejr / inline-size;
	color: var(--ejr-ink);
	font-family: var(--ejr-body);
	font-size: 16px;
	line-height: 1.5;
	max-width: 1080px;
	margin: 24px auto 32px;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}
.ejr-app *, .ejr-app *::before, .ejr-app *::after { box-sizing: border-box; }
.ejr-app button, .ejr-app input, .ejr-app textarea { font: inherit; color: inherit; letter-spacing: normal; text-transform: none; }
.ejr-app button { -webkit-appearance: none; appearance: none; }
.ejr-app p { margin: 0; padding: 0; }
.ejr-app :focus { outline: none; }
.ejr-app :focus-visible { outline: 3px solid var(--ejr-focus); outline-offset: 2px; }

.ejr-ico { display: inline-grid; place-items: center; width: 1.15em; height: 1.15em; flex: none; }
.ejr-ico svg { width: 100%; height: 100%; display: block; }

.ejr-loading { padding: 24px; color: var(--ejr-muted); }
.ejr-layout { display: grid; gap: 20px; align-items: start; }
.ejr-main { min-width: 0; display: grid; gap: 16px; }
.ejr-panel { background: var(--ejr-bg); border: 1px solid var(--ejr-line); border-radius: var(--ejr-r); padding: 24px; box-shadow: var(--ejr-shadow); }
.ejr-app .ejr-h { margin: 0 0 18px; padding: 0; font-family: var(--ejr-display); font-weight: 700; font-size: 1.6em; line-height: 1.15; color: var(--ejr-ink); }
.ejr-muted { color: var(--ejr-muted); font-size: .92em; }
.ejr-enter { animation: ejr-in .18s ease-out both; }
@keyframes ejr-in { from { opacity: 0; transform: translateY(4px); } }

/* ---------- progress ---------- */
.ejr-progress { display: grid; gap: 8px; margin-bottom: 16px; }
.ejr-step-count { display: none; font-weight: 700; font-size: .95em; }
.ejr-app ol.ejr-steps, .ejr-app ol.ejr-steps li { list-style: none !important; margin: 0; padding: 0 !important; }
.ejr-app ol.ejr-steps li::marker { content: ''; }
.ejr-app ol.ejr-steps li::before { content: none !important; display: none !important; }
.ejr-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 8px; }
.ejr-steps li { margin: 0; padding: 0; min-width: 0; }
.ejr-steps li > * { width: 100%; display: flex; align-items: center; gap: 8px; padding: 10px 0 0; border: 0; border-top: 4px solid var(--ejr-line); background: none; text-align: left; color: var(--ejr-muted); font-size: .92em; font-weight: 600; border-radius: 0; }
.ejr-steps li.is-done > *, .ejr-steps li.is-current > * { border-top-color: var(--ejr-accent); }
.ejr-steps li.is-current > * { color: var(--ejr-ink); font-weight: 800; }
.ejr-steps li.is-done button { cursor: pointer; color: var(--ejr-ink); }
.ejr-steps li.is-done button:hover .ejr-step-label { text-decoration: underline; }
.ejr-step-dot { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1.5px solid var(--ejr-line); font-size: .85em; font-weight: 800; background: var(--ejr-bg); }
.ejr-step-dot .ejr-ico { width: 15px; height: 15px; }
.ejr-steps .is-current .ejr-step-dot { background: var(--ejr-accent); border-color: var(--ejr-accent); color: var(--ejr-on-accent); }
.ejr-steps .is-done .ejr-step-dot { background: var(--ejr-ink); border-color: var(--ejr-ink); color: #fff; }
.ejr-step-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- rooms ---------- */
.ejr-rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.ejr-room, .ejr-ticket { --room: var(--ejr-accent-deep); --room-bg: var(--ejr-accent-soft); }
.ejr-app .ejr-room { display: flex; flex-direction: column; margin: 0; padding: 0; overflow: hidden; text-align: left; background: var(--ejr-bg); border: 1.5px solid var(--ejr-line); border-radius: var(--ejr-r); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.ejr-app .ejr-room:hover { border-color: var(--room); box-shadow: 0 10px 28px rgb(23 36 59 / 10%); }
.ejr-art { display: block; width: 100%; height: 120px; object-fit: cover; background: var(--room-bg); }
.ejr-art svg { display: block; width: 100%; height: 100%; }
.ejr-room-body { display: flex; flex-direction: column; gap: 10px; padding: 18px; flex: 1; }
.ejr-room-name { font-family: var(--ejr-display); font-weight: 700; font-size: 1.4em; line-height: 1.1; color: var(--ejr-ink); }
.ejr-room-desc { color: var(--ejr-muted); font-size: .95em; }
.ejr-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9em; font-weight: 600; }
.ejr-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.ejr-meta .ejr-ico { color: var(--room); }
.ejr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ejr-chip { font-size: .8em; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--room-bg); color: var(--room); }
.ejr-room-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ejr-line); }
.ejr-price { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: .9em; color: var(--ejr-muted); }
.ejr-price b { color: var(--ejr-ink); font-weight: 800; font-size: 1.1em; }
.ejr-room-cta { padding: 8px 14px; border-radius: 99px; background: var(--ejr-accent-soft); color: var(--ejr-accent-deep); font-weight: 800; font-size: .9em; white-space: nowrap; transition: background .15s, color .15s; }
.ejr-app .ejr-room:hover .ejr-room-cta, .ejr-app .ejr-room:focus-visible .ejr-room-cta { background: var(--ejr-accent); color: var(--ejr-on-accent); }

/* ---------- date & time ---------- */
.ejr-when { display: grid; gap: 20px; align-items: start; }
.ejr-cal-box { max-width: 392px; width: 100%; }
.ejr-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ejr-cal-head strong { text-transform: capitalize; font-family: var(--ejr-display); font-weight: 700; font-size: 1.2em; }
.ejr-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.ejr-cal.is-loading { opacity: .55; }
.ejr-dow { text-align: center; font-size: .78em; font-weight: 700; color: var(--ejr-muted); padding: 4px 0; }
.ejr-app .ejr-day { position: relative; height: 44px; margin: 0; padding: 0; border: 0; border-radius: var(--ejr-r-sm); background: transparent; color: #8792a6; font-weight: 600; cursor: default; }
.ejr-app .ejr-day.is-today { box-shadow: inset 0 0 0 1.5px var(--ejr-control); }
.ejr-app .ejr-day.is-free { background: var(--ejr-ok-bg); color: var(--ejr-ok); font-weight: 800; cursor: pointer; }
.ejr-app .ejr-day.is-free::after { content: ''; position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: currentColor; }
.ejr-app .ejr-day.is-free:hover { box-shadow: inset 0 0 0 2px var(--ejr-ok); }
.ejr-app .ejr-day.is-selected { background: var(--ejr-accent); color: var(--ejr-on-accent); box-shadow: inset 0 0 0 2px var(--ejr-ink); }
.ejr-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; font-size: .85em; color: var(--ejr-muted); }
.ejr-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.ejr-lg { display: inline-block; width: 18px; height: 14px; border-radius: 4px; }
.ejr-lg-free { background: var(--ejr-ok-bg); box-shadow: inset 0 0 0 1px #b9e2c7; }
.ejr-lg-sel { background: var(--ejr-accent); box-shadow: inset 0 0 0 1.5px var(--ejr-ink); }
.ejr-lg-off { background: #eceef2; box-shadow: inset 0 0 0 1px #dfe3e9; }
.ejr-slot-box { min-width: 0; }
.ejr-slot-title { font-weight: 800; margin-bottom: 10px !important; }
.ejr-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.ejr-app .ejr-slot { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; margin: 0; padding: 0 10px; border: 1.5px solid var(--ejr-line); border-radius: var(--ejr-r-sm); background: var(--ejr-bg); font-weight: 800; font-size: 1.02em; cursor: pointer; transition: border-color .12s, background .12s; }
.ejr-app .ejr-slot:hover { border-color: var(--ejr-accent); }
.ejr-app .ejr-slot.is-selected { background: var(--ejr-accent-soft); border: 2px solid var(--ejr-accent); color: var(--ejr-ink); }
.ejr-slot .ejr-ico { width: 16px; height: 16px; color: var(--ejr-accent-deep); }
.ejr-slot-ghost { height: 48px; border-radius: var(--ejr-r-sm); background: var(--ejr-sunk); animation: ejr-pulse 1.1s ease-in-out infinite alternate; }
@keyframes ejr-pulse { to { opacity: .45; } }
.ejr-empty { display: flex; gap: 10px; align-items: center; padding: 18px; border: 1.5px dashed var(--ejr-line); border-radius: var(--ejr-r-sm); color: var(--ejr-muted); }
.ejr-empty .ejr-ico { width: 24px; height: 24px; color: var(--ejr-accent-deep); }

/* ---------- buttons ---------- */
.ejr-app .ejr-btn, .ejr-modal .ejr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin: 0; padding: 0 24px; border-radius: var(--ejr-r-sm); border: 1.5px solid var(--ejr-accent); background: var(--ejr-accent); color: var(--ejr-on-accent, #17243b) !important; font-weight: 800; font-size: 1em; line-height: 1.2; cursor: pointer; text-decoration: none; transition: background .12s; }
.ejr-app .ejr-btn:hover, .ejr-modal .ejr-btn:hover { background: var(--ejr-accent-hover, #f06d00); }
.ejr-app .ejr-btn:disabled { background: #e8ebf0; border-color: #e8ebf0; color: #7a8497 !important; cursor: not-allowed; }
.ejr-app .ejr-btn-ghost { background: transparent; border-color: var(--ejr-line); color: var(--ejr-ink) !important; }
.ejr-app .ejr-btn-ghost:hover { background: var(--ejr-sunk); }
.ejr-btn .ejr-ico { width: 18px; height: 18px; }
.ejr-app .ejr-round { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border-radius: 50%; border: 1.5px solid var(--ejr-line); background: var(--ejr-bg); font-size: 1.35em; font-weight: 700; line-height: 1; cursor: pointer; color: var(--ejr-ink); }
.ejr-app .ejr-round:hover:not(:disabled) { border-color: var(--ejr-ink); }
.ejr-app .ejr-round:disabled { opacity: .35; cursor: not-allowed; }
.ejr-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.ejr-linkbtn { background: none; border: 0; padding: 0; margin: 0; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; font-weight: 700; font-size: .88em; }

/* ---------- people ---------- */
.ejr-choices { border: 0; margin: 0; padding: 0; min-width: 0; }
.ejr-choices legend { margin: 0 0 10px; padding: 0; font-weight: 800; font-size: 1.05em; }
.ejr-choice-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ejr-choice { position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 44px 14px 14px; border: 2px solid var(--ejr-line); border-radius: 16px; background: var(--ejr-bg); cursor: pointer; transition: border-color .12s, background .12s; }
.ejr-choice:hover { border-color: var(--ejr-control); }
.ejr-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.ejr-choice:has(input:focus-visible) { outline: 3px solid var(--ejr-focus); outline-offset: 2px; }
.ejr-choice-badge { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--ejr-sunk); font-family: var(--ejr-display); font-weight: 800; font-size: 1.05em; transition: background .12s; }
.ejr-choice-text { display: grid; gap: 2px; }
.ejr-choice-text strong { font-size: 1.1em; font-weight: 800; }
.ejr-choice-text small { color: var(--ejr-muted); font-size: .9em; }
.ejr-choice-tick { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ejr-ink); color: #fff; transform: scale(0); transition: transform .14s ease-out; }
.ejr-choice-tick .ejr-ico { width: 14px; height: 14px; }
.ejr-choice.is-on { border-color: var(--ejr-accent); background: var(--ejr-accent-soft); }
.ejr-choice.is-on .ejr-choice-badge { background: var(--ejr-accent); color: var(--ejr-on-accent); }
.ejr-choice.is-on .ejr-choice-tick { transform: scale(1); }
.ejr-note { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--ejr-sunk); border-left: 4px solid var(--ejr-accent); }
.ejr-note p { margin-top: 4px !important; color: var(--ejr-muted); }
.ejr-people { margin-top: 18px; display: grid; }
.ejr-stepper { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--ejr-line); }
.ejr-stepper-label { display: grid; }
.ejr-stepper-label strong { font-size: 1.08em; font-weight: 800; }
.ejr-stepper-label small { color: var(--ejr-muted); font-size: .88em; }
.ejr-stepper-ctrl { display: inline-flex; align-items: center; gap: 6px; padding: 4px; border-radius: 99px; background: var(--ejr-sunk); }
.ejr-stepper-ctrl output { min-width: 2em; text-align: center; font-family: var(--ejr-display); font-weight: 800; font-size: 1.45em; line-height: 1; }
.ejr-cap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--ejr-line); font-size: .88em; color: var(--ejr-muted); font-weight: 600; }
.ejr-cap-bar { height: 6px; border-radius: 99px; background: var(--ejr-sunk); overflow: hidden; }
.ejr-cap-bar span { display: block; height: 100%; border-radius: inherit; background: var(--ejr-accent); transition: width .2s ease-out; }
.ejr-cap.is-low { color: var(--ejr-err); }
.ejr-warn { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--ejr-err-bg); border: 1px solid #f5c2bd; }
.ejr-warn strong { color: var(--ejr-err); }
.ejr-warn p { margin-top: 4px !important; }

/* ---------- contact ---------- */
.ejr-form { display: grid; gap: 16px; }
.ejr-form .ejr-h { margin-bottom: 2px; }
.ejr-fields { display: grid; gap: 16px; }
.ejr-field { display: grid; gap: 6px; }
.ejr-field label { font-weight: 800; font-size: .95em; }
.ejr-req { color: var(--ejr-err); }
.ejr-opt { color: var(--ejr-muted); font-weight: 600; }
.ejr-app .ejr-field input, .ejr-app .ejr-field textarea { width: 100%; min-height: 48px; margin: 0; padding: 11px 14px; border: 1.5px solid var(--ejr-control); border-radius: var(--ejr-r-sm); background: var(--ejr-bg); font-size: 16px; box-shadow: none; }
.ejr-app .ejr-field textarea { min-height: 96px; resize: vertical; }
.ejr-app .ejr-field input::placeholder, .ejr-app .ejr-field textarea::placeholder { color: #8a94a6; }
.ejr-app .ejr-field input:focus, .ejr-app .ejr-field textarea:focus { border-color: var(--ejr-focus); outline: 3px solid rgb(0 95 204 / 25%); outline-offset: 0; }
.ejr-consents { display: grid; gap: 4px; padding: 8px 14px; border-radius: 14px; background: var(--ejr-sunk); }
.ejr-check { position: relative; display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 10px 0; cursor: pointer; font-size: .97em; }
.ejr-check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ejr-check-box { display: grid; place-items: center; width: 22px; height: 22px; flex: none; margin-top: 1px; border: 2px solid var(--ejr-control); border-radius: 6px; background: var(--ejr-bg); color: transparent; transition: background .12s, border-color .12s; }
.ejr-check-box .ejr-ico { width: 15px; height: 15px; }
.ejr-check input:checked + .ejr-check-box { background: var(--ejr-accent); border-color: var(--ejr-accent); color: var(--ejr-on-accent); }
.ejr-check input:focus-visible + .ejr-check-box { outline: 3px solid var(--ejr-focus); outline-offset: 2px; }
.ejr-legal-link { color: var(--ejr-ink) !important; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.ejr-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ejr-coupon { display: flex; gap: 8px; align-items: stretch; }
.ejr-coupon input { flex: 1; text-transform: uppercase; }
.ejr-coupon.is-applied { justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: var(--ejr-r-sm); background: var(--ejr-ok-bg); color: var(--ejr-ok); font-weight: 700; }
.ejr-coupon.is-applied > span { display: inline-flex; gap: 8px; align-items: center; }
.ejr-coupon-msg { color: var(--ejr-err); font-size: .92em; }

/* ---------- ticket (summary) ---------- */
.ejr-ticket { background: var(--ejr-bg); border: 1.5px solid var(--ejr-line); border-radius: var(--ejr-r); box-shadow: var(--ejr-shadow); overflow: hidden; }
.ejr-ticket-head { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: end; padding: 16px 18px; background: var(--room-bg); }
.ejr-ticket-kicker { grid-column: 1 / -1; font-size: .82em; font-weight: 700; color: var(--room); }
.ejr-ticket-room { font-family: var(--ejr-display); font-weight: 800; font-size: 1.35em; line-height: 1.1; color: var(--ejr-ink); }
.ejr-ticket-head .ejr-linkbtn { color: var(--room); }
.ejr-ticket-body { display: grid; gap: 10px; padding: 16px 18px; }
.ejr-t-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ejr-t-row > span:nth-child(2) { flex: 1; }
.ejr-t-row .ejr-ico { margin-top: 2px; color: var(--room); }
.ejr-ticket-stub { position: relative; display: grid; gap: 10px; padding: 16px 18px 18px; border-top: 2px dashed var(--ejr-line); }
.ejr-ticket-stub::before, .ejr-ticket-stub::after { content: ''; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--ejr-page); border: 1.5px solid var(--ejr-line); }
.ejr-ticket-stub::before { left: -11px; clip-path: inset(0 0 0 50%); }
.ejr-ticket-stub::after { right: -11px; clip-path: inset(0 50% 0 0); }
.ejr-app ul.ejr-lines, .ejr-app ul.ejr-lines li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.ejr-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .95em; color: var(--ejr-muted); }
.ejr-lines li { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 0; }
.ejr-total { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 8px; margin: 0 -8px; border-radius: 10px; font-weight: 800; }
.ejr-total strong { font-family: var(--ejr-display); font-size: 1.6em; line-height: 1; }
.ejr-total.is-bump { animation: ejr-bump .5s ease-out; }
@keyframes ejr-bump { from { background: var(--ejr-accent-soft); } }
.ejr-pay { font-size: .86em; color: var(--ejr-muted); }

/* ---------- alerts & done ---------- */
.ejr-alert { padding: 12px 16px; border-radius: 14px; background: var(--ejr-err-bg); border: 1px solid #f5c2bd; color: var(--ejr-err); font-weight: 700; }
.ejr-done { max-width: 520px; margin: 0 auto; display: grid; gap: 18px; text-align: center; }
.ejr-done-head { display: grid; justify-items: center; gap: 6px; }
.ejr-done-head .ejr-h { margin: 6px 0 0; }
.ejr-done-head p { color: var(--ejr-muted); }
.ejr-done-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--ejr-ok-bg); color: var(--ejr-ok); }
.ejr-done-icon .ejr-ico { width: 30px; height: 30px; }
.ejr-ticket-final { text-align: left; animation: ejr-stamp .32s cubic-bezier(.2, .9, .3, 1.2) both; }
.ejr-ticket-final .ejr-art { height: 96px; }
.ejr-ticket-code { font-family: var(--ejr-display); font-weight: 800; font-size: 2em; line-height: 1; letter-spacing: .04em; }
@keyframes ejr-stamp { from { opacity: 0; transform: rotate(-2deg) scale(.96); } }
.ejr-done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ejr-cancel { padding: 48px 16px; }
.ejr-cancel .ejr-card, .ejr-cancel .ejr-panel { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--ejr-line); border-radius: var(--ejr-r); padding: 24px; }
.ejr-cancel h2 { margin: 0 0 12px; font-family: var(--ejr-display); }
.ejr-card { background: var(--ejr-bg); border: 1px solid var(--ejr-line); border-radius: var(--ejr-r); padding: 20px; }
.ejr-ok { color: var(--ejr-ok); font-weight: 700; }

/* room themes (after the defaults so they win) */
.ejr-app .ejr-t-jurassic { --room: #166347; --room-bg: #eaf7ef; }
.ejr-app .ejr-t-dracula { --room: #6941a5; --room-bg: #f3eefc; }
.ejr-app .ejr-t-mystery { --room: #a84400; --room-bg: #fff2e6; }

/* ---------- container-driven layout ---------- */
@container ejr (min-width: 560px) {
	.ejr-fields { grid-template-columns: 1fr 1fr; }
	.ejr-fields > :first-child { grid-column: 1 / -1; }
}
@container ejr (min-width: 640px) {
	.ejr-when { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); }
}
@container ejr (min-width: 900px) {
	.ejr-layout.has-ticket { grid-template-columns: minmax(0, 1fr) 300px; }
	.ejr-layout.has-ticket .ejr-ticket { position: sticky; top: 150px; }
	.ejr-layout.has-ticket .ejr-when { grid-template-columns: 1fr; }
}
@container ejr (min-width: 1000px) {
	.ejr-layout.has-ticket .ejr-when { grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); }
}
@container ejr (max-width: 899px) {
	.ejr-layout.has-ticket .ejr-ticket:not(.ejr-ticket-final) { order: -1; }
	.ejr-layout.has-ticket .ejr-ticket .ejr-lines { display: none; }
	.ejr-ticket-head { padding: 12px 16px; }
	.ejr-ticket-body { padding: 12px 16px; gap: 6px; }
	.ejr-ticket-stub { padding: 12px 16px 14px; }
}
@container ejr (max-width: 520px) {
	.ejr-panel { padding: 18px 16px; }
	.ejr-app .ejr-h { font-size: 1.4em; }
	.ejr-step-count { display: block; }
	.ejr-step-label { display: none; }
	.ejr-steps li > * { justify-content: center; }
	.ejr-nav .ejr-btn { flex: 1; }
	.ejr-choice-row { grid-template-columns: 1fr; }
	.ejr-cap { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- terms / GDPR pop-up ---------- */
html.ejr-modal-open { overflow: hidden; }
.ejr-modal { --ejr-accent: #ff7a00; --ejr-on-accent: #17243b; --ejr-accent-hover: #f06d00; position: fixed; inset: 0; z-index: 100000; background: rgb(23 36 59 / 55%); display: flex; align-items: center; justify-content: center; padding: 16px; font-family: 'Nunito Sans', system-ui, sans-serif; animation: ejr-in .16s ease-out both; }
.ejr-modal-card { background: #fff; color: #17243b; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; border-radius: 24px; box-shadow: 0 24px 64px rgb(23 36 59 / 30%); overflow: hidden; }
.ejr-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #dce2eb; }
.ejr-modal-head strong { font-family: 'Baloo 2', 'Nunito Sans', sans-serif; font-size: 1.25em; line-height: 1.15; }
.ejr-modal-x { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: #f6f8fc; font-size: 26px; line-height: 1; cursor: pointer; color: inherit; padding: 0; }
.ejr-modal-x:focus-visible, .ejr-modal .ejr-btn:focus-visible { outline: 3px solid #005fcc; outline-offset: 2px; }
.ejr-modal-body { position: relative; overflow-y: auto; padding: 8px 24px 16px; line-height: 1.6; }
.ejr-modal-body h2 { font-family: 'Baloo 2', 'Nunito Sans', sans-serif; font-size: 1.25em; margin: 1.1em 0 .3em; color: #17243b; }
.ejr-modal-body ul { padding-left: 1.2em; }
.ejr-modal-foot { padding: 14px 20px; border-top: 1px solid #dce2eb; text-align: right; }

@media (prefers-reduced-motion: reduce) {
	.ejr-app *, .ejr-modal, .ejr-modal * { animation: none !important; transition: none !important; }
}

/* ---------- 0.6: unavailable / taken / missing ---------- */
.ejr-app .ejr-day.is-off { background: #eceef2; color: #9aa3b2; text-decoration: line-through; text-decoration-color: rgb(154 163 178 / 50%); }
.ejr-app .ejr-day.is-past { color: #c3c9d3; }
.ejr-app .ejr-slot.is-taken { background: #eceef2; border-color: #eceef2; color: #9aa3b2; text-decoration: line-through; cursor: not-allowed; font-weight: 700; }
.ejr-slot-full { margin-top: 10px !important; }

.ejr-app .is-invalid.ejr-cal-box, .ejr-app .is-invalid.ejr-slot-box, .ejr-app .is-invalid.ejr-choices, .ejr-app .is-invalid.ejr-cap { border-radius: 14px; box-shadow: 0 0 0 2px var(--ejr-accent); background: #fff7ef; padding: 10px; }
.ejr-app .is-invalid.ejr-choices .ejr-choice { border-color: var(--ejr-accent); }
.ejr-app .ejr-field.is-invalid input, .ejr-app .ejr-field.is-invalid textarea { border-color: var(--ejr-accent); background: #fff7ef; box-shadow: 0 0 0 3px rgb(255 122 0 / 20%); }
.ejr-app .ejr-field.is-invalid label { color: var(--ejr-accent-deep); }
.ejr-field-err { color: var(--ejr-accent-deep); font-weight: 700; font-size: .88em; }
.ejr-app .ejr-check.is-invalid { color: var(--ejr-accent-deep); }
.ejr-app .ejr-check.is-invalid .ejr-check-box { border-color: var(--ejr-accent); background: #fff7ef; box-shadow: 0 0 0 3px rgb(255 122 0 / 25%); }
.ejr-app .ejr-alert { background: #fff7ef; border-color: #ffc58f; color: var(--ejr-accent-deep); }

/* add-to-calendar menu */
.ejr-cal-add { position: relative; display: inline-block; }
.ejr-cal-menu { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); z-index: 5; display: grid; min-width: 240px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--ejr-line); box-shadow: 0 12px 32px rgb(23 36 59 / 16%); text-align: left; }
.ejr-cal-menu[hidden] { display: none; }
.ejr-cal-menu a, .ejr-cal-menu button { display: block; width: 100%; padding: 12px 14px; border: 0; border-radius: 10px; background: none; color: var(--ejr-ink) !important; font-weight: 700; text-decoration: none; text-align: left; cursor: pointer; }
.ejr-cal-menu a:hover, .ejr-cal-menu button:hover { background: var(--ejr-sunk); }

/* sending state */
.ejr-form.is-sending .ejr-btn[type="submit"] { position: relative; padding-left: 48px; }
.ejr-form.is-sending .ejr-btn[type="submit"]::before { content: ''; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 2.5px solid rgb(23 36 59 / 25%); border-top-color: var(--ejr-on-accent); animation: ejr-spin .8s linear infinite; }
@keyframes ejr-spin { to { transform: rotate(360deg); } }

/* 0.6.6 – discount / voucher code */
.ejr-app input[name="coupon_input"] { text-transform: uppercase; }
.ejr-app .ejr-help { margin: 6px 0 0; color: var(--ejr-muted); font-size: .9em; }
.ejr-app .ejr-code-ok { display: inline-flex; gap: 6px; align-items: center; margin: 8px 0 0; color: var(--ejr-ok); font-weight: 700; font-size: .92em; }
.ejr-app .ejr-t-code[hidden] { display: none; }
.ejr-app .ejr-t-code strong { overflow-wrap: anywhere; }
.ejr-app .ejr-consents-top { margin: 0 0 16px; }
.ejr-app .ejr-consents-top .ejr-help { margin: 2px 0 0 34px; font-size: 13px; }

/* 0.10: real room photos on the cards (taller, cropped toward the action) */
.ejr-room img.ejr-art { height: 190px; object-position: center 35%; transition: transform .35s ease; }
.ejr-app .ejr-room:hover img.ejr-art, .ejr-app .ejr-room:focus-visible img.ejr-art { transform: scale(1.04); }
@media (min-width: 700px) { .ejr-room img.ejr-art { height: 220px; } }
@media (prefers-reduced-motion: reduce) { .ejr-room img.ejr-art { transition: none; } }
/* 0.12: phone-only days and hours */
.ejr-app .ejr-day.is-phone { background: #fff4d6; color: #8a5a00; font-weight: 800; cursor: pointer; }
.ejr-app .ejr-day.is-phone:hover { box-shadow: inset 0 0 0 2px #c08a00; }
.ejr-lg-phone { background: #fff4d6; box-shadow: inset 0 0 0 1px #e2c26b; }
.ejr-app .ejr-slot.is-phone { background: #fff8e6; border-color: #e2c26b; color: #6b4d00; }
.ejr-app .ejr-slot.is-phone:hover, .ejr-app .ejr-slot.is-phone.is-open { border-color: #c08a00; box-shadow: inset 0 0 0 1px #c08a00; }
.ejr-slot-tel { font-size: .9em; }
.ejr-phone-box { margin-top: 12px; padding: 12px 14px; border-radius: var(--ejr-r-sm, 10px); background: #fff8e6; border: 1.5px solid #e2c26b; }
.ejr-phone-box p { margin: 0 0 10px !important; }
.ejr-app .ejr-btn-tel { display: inline-flex; text-decoration: none; }
