/* VX Clínica public booking form. Minimal on purpose; a theme restyles it by
   overriding these variables or the classes. */
.vxc-reservar,
.vxc-enlace {
	--vxc-brand: #00589c;
	--vxc-brand-deep: #003f73;
	--vxc-ink: #0a2540;
	--vxc-muted: #52637a;
	--vxc-mist: #eef3f7;
	--vxc-hairline: #d3dce5;
	color: var(--vxc-ink);
}
.vxc-reservar *,
.vxc-enlace * { box-sizing: border-box; }
.vxc-reservar__form { display: grid; gap: 28px; }
.vxc-reservar__step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
/* Focus and scroll land below a floating site header. */
.vxc-reservar__step,
.vxc-reservar input { scroll-margin-top: 120px; }
.vxc-reservar__step legend { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; padding: 0; display: flex; align-items: center; gap: 10px; }
.vxc-reservar__n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--vxc-brand); color: #fff; font-size: 14px; }
/* Classes below set display, which would beat the hidden attribute the steps rely on. */
.vxc-reservar [hidden] { display: none !important; }
/* Services as a compact list: one row each, name left, price and length right. */
.vxc-reservar__options { display: grid; border: 1px solid var(--vxc-hairline); border-radius: 14px; background: #fff; overflow: hidden; }
.vxc-reservar__option,
.vxc-reservar__hour { position: relative; display: block; cursor: pointer; }
.vxc-reservar__option input,
.vxc-reservar__hour input { position: absolute; opacity: 0; pointer-events: none; }
.vxc-reservar__option + .vxc-reservar__option span { border-top: 1px solid var(--vxc-hairline); }
.vxc-reservar__option span { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px; min-height: 52px; padding: 13px 16px; }
.vxc-reservar__option strong { font-weight: 500; }
.vxc-reservar__option small { color: var(--vxc-muted); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vxc-reservar__option:hover span { background: var(--vxc-mist); }
.vxc-reservar__hours { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.vxc-reservar__hour span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--vxc-hairline); border-radius: 12px; background: #fff; font-variant-numeric: tabular-nums; }
.vxc-reservar__option input:checked + span,
.vxc-reservar__hour input:checked + span { border-color: var(--vxc-brand); background: var(--vxc-brand); color: #fff; }
.vxc-reservar__option input:checked + span small { color: rgba(255, 255, 255, 0.85); }
.vxc-reservar__option input:focus-visible + span,
.vxc-reservar__hour input:focus-visible + span { outline: 3px solid var(--vxc-brand); outline-offset: 2px; }
.vxc-reservar__field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.vxc-reservar__field input {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--vxc-hairline);
	border-radius: 12px;
	font: inherit;
	font-size: 16px; /* 16px stops iOS zooming into the field */
	font-weight: 400;
	color: var(--vxc-ink);
	background: #fff;
}
.vxc-reservar__field input:focus { outline: 3px solid rgba(0, 88, 156, 0.25); border-color: var(--vxc-brand); }
.vxc-reservar__check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--vxc-muted); }
.vxc-reservar__check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--vxc-brand); }
.vxc-reservar__check a { color: var(--vxc-brand); }
.vxc-reservar__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.vxc-reservar__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vxc-reservar__note,
.vxc-reservar__status { color: var(--vxc-muted); margin: 0; min-height: 1.5em; }
.vxc-reservar__submit {
	min-height: 52px;
	padding: 12px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--vxc-brand);
	color: #fff;
	font: inherit;
	font-size: 17px;
	font-weight: 500;
	cursor: pointer;
	touch-action: manipulation;
	justify-self: start;
}
.vxc-reservar__submit:hover { background: var(--vxc-brand-deep); }
.vxc-reservar__submit:disabled { opacity: 0.6; cursor: progress; }
.vxc-reservar__done { padding: 24px; border-radius: 18px; background: var(--vxc-mist); outline: none; scroll-margin-top: 120px; /* clear a floating site header */ }
.vxc-reservar__title { margin: 0 0 8px; font-size: 22px; }
.vxc-reservar__links { display: flex; flex-wrap: wrap; gap: 16px; }
.vxc-reservar__links a { color: var(--vxc-brand); font-weight: 500; }
.vxc-reservar__empty { color: var(--vxc-muted); }

/* A finished step folds into one line with a "Cambiar" button. */
.vxc-reservar__body { display: grid; gap: 12px; }
.vxc-reservar__recap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--vxc-mist); }
.vxc-reservar__recap-text { font-weight: 500; }
.vxc-reservar__recap-text::first-letter { text-transform: uppercase; }
.vxc-reservar__edit { flex: none; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--vxc-brand); font: inherit; font-weight: 500; cursor: pointer; }
.vxc-reservar__search input,
.vxc-reservar__other-day input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--vxc-hairline); border-radius: 12px; font: inherit; font-size: 16px; color: var(--vxc-ink); background: #fff; }
.vxc-reservar__search input:focus,
.vxc-reservar__other-day input:focus { outline: 3px solid rgba(0, 88, 156, 0.25); border-color: var(--vxc-brand); }
/* Category pills and the day strip scroll sideways on a phone instead of wrapping into rows. */
.vxc-reservar__cats,
.vxc-reservar__days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 2px 4px; }
.vxc-reservar__cats::-webkit-scrollbar,
.vxc-reservar__days::-webkit-scrollbar { display: none; }
.vxc-reservar__cat { flex: none; min-height: 40px; padding: 0 16px; border: 1px solid var(--vxc-hairline); border-radius: 999px; background: #fff; color: var(--vxc-ink); font: inherit; font-size: 15px; cursor: pointer; touch-action: manipulation; }
.vxc-reservar__cat[aria-pressed="true"] { border-color: var(--vxc-ink); background: var(--vxc-ink); color: #fff; }
.vxc-reservar__cat.is-muted { opacity: 0.5; }
.vxc-reservar__day { flex: none; display: grid; justify-items: center; gap: 2px; width: 64px; padding: 10px 0; border: 1px solid var(--vxc-hairline); border-radius: 14px; background: #fff; color: var(--vxc-ink); font: inherit; cursor: pointer; touch-action: manipulation; }
.vxc-reservar__day strong { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.vxc-reservar__day small { font-size: 12px; color: var(--vxc-muted); text-transform: capitalize; }
.vxc-reservar__day[aria-pressed="true"] { border-color: var(--vxc-brand); background: var(--vxc-brand); color: #fff; }
.vxc-reservar__day[aria-pressed="true"] small { color: rgba(255, 255, 255, 0.85); }
.vxc-reservar__cat:focus-visible,
.vxc-reservar__day:focus-visible,
.vxc-reservar__edit:focus-visible { outline: 3px solid var(--vxc-brand); outline-offset: 2px; }
.vxc-reservar__other-day summary { cursor: pointer; color: var(--vxc-brand); font-size: 15px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.vxc-reservar__other-day input { max-width: 240px; }
.vxc-reservar__periods { display: flex; gap: 8px; }
.vxc-reservar__none { margin: 0; color: var(--vxc-muted); }
.vxc-reservar__pair { display: grid; gap: 12px; }
@media (min-width: 640px) {
	.vxc-reservar__pair { grid-template-columns: 1fr 1fr; }
}
.vxc-reservar__prep { padding: 14px 16px; border-radius: 14px; background: var(--vxc-mist, #eef3f7); font-size: 15px; color: var(--vxc-ink); }
.vxc-reservar__prep p { margin: 0; }
.vxc-reservar__prep ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.vxc-reservar__policies { font-size: 15px; color: var(--vxc-muted); }
.vxc-reservar__policies summary { cursor: pointer; color: var(--vxc-brand); font-weight: 500; min-height: 44px; display: flex; align-items: center; }
.vxc-reservar__policies ul { margin: 4px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.vxc-reservar__policies .vxc-politicas > p { display: none; } /* the summary already names it */

/* The requester's link page */
.vxc-enlace { padding: 120px 16px 64px; }
.vxc-enlace__card { max-width: 720px; margin: 0 auto; display: grid; gap: 16px; }
.vxc-enlace h1 { font-size: 32px; letter-spacing: -0.02em; margin: 0; }
.vxc-enlace__summary { font-size: 18px; }

/* "¿Con quién?": the doctor pills above the days, only for services with doctors. */
.vxc-reservar__doctors { display: grid; gap: 8px; margin-bottom: 16px; }
.vxc-reservar__label { margin: 0; font-size: 15px; font-weight: 600; color: var(--vxc-ink); }
.vxc-reservar__cat small { display: block; font-size: 12px; opacity: 0.75; }
.vxc-reservar__cat:has(small) { min-height: 48px; line-height: 1.2; text-align: left; }
/* A clinic has a few doctors: let them wrap so none hides off-screen on a phone. */
.vxc-reservar__doctors .vxc-reservar__cats { flex-wrap: wrap; overflow-x: visible; }
/* What the booking charges, right above the button that leads to the payment page. */
.vxc-reservar__pay { margin: 4px 0 0; padding: 12px 14px; border-radius: 12px; background: #eff8ff; color: var(--vxc-ink); font-size: 15px; }
