/*
 * Detalle de la inscripción (inc/booking-detail.php): una columna en el móvil;
 * en escritorio, la inscripción a la izquierda y lo que hay que hacer a la derecha.
 */
/* El contenedor, la fila y la columna de EventPrime meten 15 px a cada lado:
   fuera, para que el borde coincida con el del resto de páginas. */
.ep-box-wrap:has(> .ep-box-row > .gosy-bd-wrap) {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.ep-box-row:has(> .gosy-bd-wrap) {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.gosy-bd-wrap {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.gosy-bd {
	display: grid;
	gap: 16px;
	/* Sin tope propio: el mismo ancho que el resto de páginas. */
	margin: 8px 0 48px;
	color: #2f3f5c;
	font-size: 14.5px;
	line-height: 1.5;
	text-align: left;
}
.gosy-bd *,
.gosy-bd *::before,
.gosy-bd *::after {
	box-sizing: border-box;
}
.gosy-bd .material-icons-outlined {
	font-size: 19px;
	line-height: 1;
}

/* Arriba: volver */
.gosy-bd__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 16px;
}
.gosy-bd__back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #56688a;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.gosy-bd__back:hover,
.gosy-bd__back:focus-visible {
	color: #ce400d;
}

/* Recién apuntado: un solo mensaje verde */
.gosy-bd-ok {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	border: 1px solid #b7e4c7;
	border-radius: 14px;
	background: #f0faf3;
	color: #15803d;
}
.gosy-bd-ok .material-icons-outlined {
	font-size: 28px;
}
.gosy-bd-ok b {
	display: block;
	font: 700 16px/1.3 "Montserrat", sans-serif;
}
.gosy-bd-ok span {
	font-size: 14px;
	color: #166534;
}

.gosy-bd__grid,
.gosy-bd__main,
.gosy-bd__side {
	display: grid;
	gap: 16px;
	min-width: 0;
	align-items: start;
}
/* Móvil: una sola columna con lo útil arriba (inscripción, llegada, cancelar) y luego el resto. */
@media (max-width: 899px) {
	.gosy-bd__main,
	.gosy-bd__side {
		display: contents;
	}
	.gosy-bd__main > *,
	.gosy-bd__side > * {
		order: 2;
	}
	.gosy-bd__main > .gosy-bd-tkt {
		order: 1;
	}
	.gosy-bd__side > .gosy-bd-ck {
		order: 3;
	}
	.gosy-bd__side > .gosy-bd-cx {
		order: 4;
	}
	.gosy-bd__main > .gosy-bd-att {
		order: 5;
	}
	.gosy-bd__main > .gosy-bd-pay {
		order: 6;
	}
	.gosy-bd__side > .gosy-bd-help {
		order: 7;
	}
}
@media (min-width: 900px) {
	.gosy-bd__grid {
		grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
		gap: 24px;
	}
	.gosy-bd__side {
		position: sticky;
		top: 24px;
	}
}

/* La inscripción, como una entrada */
.gosy-bd-tkt {
	overflow: hidden;
	border: 1px solid #d3def0;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(26, 37, 56, 0.05), 0 8px 24px rgba(26, 37, 56, 0.06);
}
.gosy-bd-tkt__img {
	max-width: 100%;
	aspect-ratio: 16 / 7;
	background: #1a2538 center / cover no-repeat;
}
.gosy-bd-tkt__in {
	display: grid;
	gap: 12px;
	padding: 18px;
}
.gosy-bd-tkt__k {
	margin: 0;
	font: 700 11.5px/1.3 "Montserrat", sans-serif;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #ce400d;
}
.gosy-bd .gosy-bd-tkt__t {
	margin: 0;
	font: 700 22px/1.25 "Montserrat", sans-serif !important;
	color: #1a2538;
	text-wrap: balance;
}
@media (min-width: 900px) {
	.gosy-bd .gosy-bd-tkt__t {
		font-size: 26px !important;
	}
	.gosy-bd-tkt__in {
		padding: 22px 24px;
	}
	.gosy-bd-tkt__img {
		aspect-ratio: 16 / 6;
	}
}
.gosy-bd-tkt__facts {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.gosy-bd-tkt__facts li {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 8px;
	margin: 0;
	font-size: 14.5px;
	color: #2f3f5c;
}
.gosy-bd-tkt__facts .material-icons-outlined {
	margin-top: 1px;
	color: #f15a24;
}
.gosy-bd-tkt__facts b {
	color: #1a2538;
	font-weight: 600;
}
.gosy-bd-tkt__cut {
	margin: 4px -18px;
	border-top: 2px dashed #d3def0;
}
@media (min-width: 900px) {
	.gosy-bd-tkt__cut {
		margin: 4px -24px;
	}
}
.gosy-bd-tkt__more {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin: 0;
	font-size: 13.5px;
}
.gosy-bd-tkt__more a {
	color: #ce400d;
	font-weight: 600;
	text-decoration: none;
}
.gosy-bd-tkt__more a:hover,
.gosy-bd-tkt__more a:focus-visible {
	text-decoration: underline;
}
.gosy-bd-tkt .gosy-bu-go {
	margin: 2px 0 0;
}

/* Filas «Estado · Plazas · Pago» */
.gosy-bd-rows {
	display: grid;
	gap: 8px;
	margin: 0;
}
.gosy-bd-rows > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}
.gosy-bd-rows dt {
	font-size: 13.5px;
	font-weight: 400;
	color: #56688a;
}
.gosy-bd-rows dd {
	margin: 0;
	font-weight: 600;
	color: #1a2538;
	text-align: right;
	overflow-wrap: anywhere;
}
.gosy-bd-rows .gosy-bd-rows__total {
	padding-top: 8px;
	border-top: 1px solid #e4ebf5;
}
.gosy-bd-rows .gosy-bd-rows__total dd {
	font: 700 16px/1.2 "Montserrat", sans-serif;
}

.gosy-bd-pill {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font: 700 12px/1.5 "Open Sans", sans-serif;
	white-space: nowrap;
}
.gosy-bd-pill--ok {
	background: #f0faf3;
	color: #15803d;
}
.gosy-bd-pill--warn {
	background: #fff7e6;
	color: #92400e;
}
.gosy-bd-pill--off {
	background: #eef2f8;
	color: #56688a;
}
.gosy-bd-pill--soft {
	background: #eef2f8;
	color: #2f3f5c;
}

/* Tarjetas */
.gosy-bd-card {
	padding: 16px 18px;
	border: 1px solid #d3def0;
	border-radius: 16px;
	background: #fff;
}
.gosy-bd .gosy-bd-card h2,
.gosy-bd .gosy-bd-card h3 {
	margin: 0 0 10px;
	font: 700 16px/1.3 "Montserrat", sans-serif !important;
	color: #1a2538;
}

/* Asistentes */
.gosy-bd-att > ul {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.gosy-bd-att > ul > li {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	gap: 12px;
	margin: 0;
	padding: 12px 0;
	border-top: 1px solid #e4ebf5;
}
.gosy-bd-att > ul > li:first-child {
	border-top: 0;
	padding-top: 2px;
}
.gosy-bd-att__av {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fdebe5;
	color: #ad360b;
	font: 700 15px/1 "Montserrat", sans-serif;
}
.gosy-bd-att__n {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
}
.gosy-bd-att__n b {
	color: #1a2538;
	font-weight: 700;
}
.gosy-bd-att__a {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}
.gosy-bd-att__a li {
	margin: 0;
	padding: 4px 10px;
	border-radius: 999px;
	background: #f6f8fb;
	font-size: 12.5px;
	color: #2f3f5c;
}
.gosy-bd-att__a b {
	font-weight: 600;
	color: #1a2538;
}

/* Llegada (check-in) */
.gosy-bd-ck {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
}
.gosy-bd-ck > .material-icons-outlined {
	font-size: 26px;
}
.gosy-bd-ck b {
	display: block;
	font: 700 15px/1.3 "Montserrat", sans-serif;
	color: inherit;
}
.gosy-bd-ck > div > span {
	display: block;
	margin-top: 2px;
	font-size: 13.5px;
}
.gosy-bd-ck--open,
.gosy-bd-ck--done {
	border-color: #b7e4c7;
	background: #f0faf3;
	color: #166534;
}
.gosy-bd-ck--missed {
	border-color: #fde3b0;
	background: #fff7e6;
	color: #7a4a05;
}
.gosy-bd-ck--info {
	color: #2f3f5c;
}
.gosy-bd-ck--info > .material-icons-outlined {
	color: #f15a24;
}
/* Antes de abrir: el aviso de la tarjeta de la ficha y «¿Por qué…?». */
.gosy-bd-ck--soon {
	display: block;
	padding: 0;
	border: 0;
	background: none;
}
.gosy-bd-ck--soon .gosy-bu-ckin {
	margin-top: 0;
}
.gosy-bd-why {
	margin-top: 8px;
	padding: 0 4px;
	font-size: 13.5px;
}
.gosy-bd-why summary {
	color: #ce400d;
	font-weight: 600;
	cursor: pointer;
}
.gosy-bd-why ul {
	margin: 8px 0 0;
	padding-left: 20px;
}
.gosy-bd-why li {
	margin: 0 0 4px;
}

/* Botones */
.gosy-bd .gosy-bd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	min-height: 46px;
	margin-top: 12px;
	padding: 0 16px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: #fff;
	font: 700 14.5px/1.2 "Montserrat", sans-serif;
	text-transform: none;
	text-decoration: none;
	letter-spacing: 0;
	cursor: pointer;
	box-shadow: none;
}
.gosy-bd .gosy-bd-btn--ok {
	background: #16a34a;
	color: #fff;
}
.gosy-bd .gosy-bd-btn--ok:hover,
.gosy-bd .gosy-bd-btn--ok:focus-visible {
	background: #15803d;
	color: #fff;
}
.gosy-bd .gosy-bd-btn--danger {
	border-color: #f2b8b5;
	color: #b42318;
}
.gosy-bd .gosy-bd-btn--danger:hover,
.gosy-bd .gosy-bd-btn--danger:focus-visible {
	background: #fdecea;
	color: #b42318;
}
.gosy-bd .gosy-bd-btn:focus-visible {
	outline: 2px solid #f15a24;
	outline-offset: 2px;
}

/* Cancelar */
.gosy-bd-cx .gosy-bu-until {
	margin: 0;
	font-size: 13.5px;
}
.gosy-bd-cx__extra {
	margin-top: 10px;
	font-size: 13.5px;
}
.gosy-bd-cx--late {
	padding: 0;
	border: 0;
	background: none;
}
.gosy-bd-cx--late .gosy-bu-nocancel {
	margin-top: 0;
}
.gosy-bd-cx--off {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr);
	gap: 10px;
	background: #f6f8fb;
}
.gosy-bd-cx--off b {
	display: block;
	margin-bottom: 4px;
	font: 700 15px/1.3 "Montserrat", sans-serif;
	color: #1a2538;
}

/* Ayuda */
.gosy-bd-help__links {
	display: grid;
	gap: 10px;
}
.gosy-bd-help__mail {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	gap: 4px;
	font-size: 13.5px;
	color: #56688a;
	overflow-wrap: anywhere;
}
.gosy-bd-help__mail a {
	color: #ce400d;
	font-weight: 600;
}
.gosy-bd-help__extra {
	margin-top: 10px;
	font-size: 13.5px;
}
.gosy-bd-help__staff {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #e4ebf5;
	width: 100%;
}

/* Detalle del pago */
.gosy-bd-pay summary {
	font: 700 15px/1.3 "Montserrat", sans-serif;
	color: #1a2538;
	cursor: pointer;
}
.gosy-bd-pay[open] summary {
	margin-bottom: 12px;
}
.gosy-bd-pay__hook {
	font-size: 13.5px;
}

@media (prefers-reduced-motion: reduce) {
	.gosy-bd * {
		transition: none !important;
	}
}
