/*
 * Isla Holbox — el panel del conductor. Encima de la hoja de la taquilla
 * (operador.css): sólo lo suyo, el lector y el veredicto. El veredicto se lee
 * de reojo, con sol de frente y el pasajero delante: enorme y de un color.
 */

.ihb .ihb-cd__titulo {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	color: var(--ihb-marino);
}

.ihb .ihb-cd__ayuda {
	margin: 0 0 0.9rem;
	color: var(--ihb-tinta-suave);
}

.ihb .ihb-cd__acciones {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1rem;
	align-items: center;
}

.ihb .ihb-cd__auto {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: var(--ihb-boton-alto, 3rem);
	font-weight: 600;
	cursor: pointer;
}

.ihb .ihb-cd__auto input {
	width: 1.5rem;
	height: 1.5rem;
	margin: 0;
}

.ihb .ihb-cd__camara {
	margin-top: 0.9rem;
	display: grid;
	gap: 0.5rem;
	justify-items: start;
}

.ihb .ihb-cd__camara video {
	width: 100%;
	max-width: 32rem;
	aspect-ratio: 4 / 3;
	background: #000;
	border-radius: var(--ihb-radio-ficha, 0.75rem);
	object-fit: cover;
}

.ihb .ihb-cd__camara-estado {
	margin: 0;
	color: var(--ihb-tinta-suave);
}

.ihb .ihb-cd__manual {
	margin-top: 1rem;
}

.ihb .ihb-cd__manual label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.ihb .ihb-cd__manual-fila {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.ihb .ihb-cd__manual-fila input {
	flex: 1 1 14rem;
	min-height: var(--ihb-boton-alto, 3rem);
	font-size: 1rem;
	font-family: ui-monospace, Consolas, monospace;
}

/* El veredicto */
.ihb .ihb-cd__resultado:empty {
	display: none;
}

.ihb .ihb-cd__res {
	margin-top: 1rem;
	padding: 1.1rem 1.15rem;
	border-radius: var(--ihb-radio-ficha, 0.75rem);
	border: 2px solid transparent;
	background: var(--ihb-arena);
	color: var(--ihb-tinta);
}

.ihb .ihb-cd__res--bien {
	background: #dff3e4;
	border-color: #1f6b3a;
}

.ihb .ihb-cd__res--medio {
	background: #fff3cd;
	border-color: #c87822;
}

.ihb .ihb-cd__res--mal {
	background: #fbe4de;
	border-color: #a3320f;
}

.ihb .ihb-cd__res-veredicto {
	margin: 0 0 0.5rem;
	font-size: clamp(1.25rem, 5vw, 1.7rem);
	font-weight: 800;
	line-height: 1.2;
}

.ihb .ihb-cd__res--bien .ihb-cd__res-veredicto { color: #1f6b3a; }
.ihb .ihb-cd__res--medio .ihb-cd__res-veredicto { color: #8a5a00; }
.ihb .ihb-cd__res--mal .ihb-cd__res-veredicto { color: #a3320f; }

.ihb .ihb-cd__res-quien {
	margin: 0 0 0.25rem;
	font-size: 1.1rem;
}

.ihb .ihb-cd__res-viaje,
.ihb .ihb-cd__res-notas,
.ihb .ihb-cd__res-nota {
	margin: 0 0 0.35rem;
	color: var(--ihb-tinta-suave);
}

.ihb .ihb-cd__res-nota {
	font-weight: 600;
	color: #8a5a00;
}

.ihb .ihb-cd__res-acciones {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

/* Mis viajes */
.ihb .ihb-cd__viajes {
	margin-top: 1.25rem;
}

.ihb .ihb-cd__viajes-cab {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.6rem;
}

.ihb .ihb-cd__fecha {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}

.ihb .ihb-cd__fecha input[type="date"] {
	min-height: var(--ihb-boton-alto-medio, 2.5rem);
	font-size: 1rem;
}

.ihb .ihb-cd__viaje {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.75rem;
	align-items: center;
	margin-bottom: 0.9rem;
	font-weight: 600;
}

.ihb .ihb-cd__viaje select {
	flex: 1 1 14rem;
	min-height: var(--ihb-boton-alto-medio, 2.5rem);
	font-size: 1rem;
}

.ihb .ihb-cd__cupo--completo {
	color: #1f6b3a;
	font-weight: 700;
}

.ihb .ihb-cd__salida--prueba {
	border-left: 5px solid var(--ihb-atardecer);
}

.ihb .ihb-op__pasajero--abordo .ihb-op__nombre strong {
	text-decoration: line-through;
	text-decoration-color: #1f6b3a;
	text-decoration-thickness: 2px;
}

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