/* Estilos de los instrumentos del tacógrafo DENTRO de una lección (mapa.html).
   tacografo.html lleva los suyos en línea; aquí van los mismos para la
   tarjeta del flujo, con los colores del resto de tarjetas de lección.
   HITO Tacógrafo, 08/09/2026. */
.taco-card { background: #23262e; border: 1px solid #3a3d47; border-radius: 14px; padding: 14px; margin: 10px 0; }
.taco-kicker { font-size: 11px; letter-spacing: 0.08em; color: #6fc4f2; font-weight: 800; margin-bottom: 6px; }
.taco-desc { margin: 0 0 10px; line-height: 1.55; font-size: 14.5px; }
.taco-caso { background: #1b1d22; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; font-size: 14px; line-height: 1.5; }
.taco-pregunta { font-weight: 700; margin: 10px 0 6px; }
.taco-feedback { min-height: 22px; margin: 8px 0 0; font-size: 14px; }
.taco-feedback .ok { color: #6fe08c; } .taco-feedback .mal { color: #ff8a8a; }
.taco-errores { margin: 6px 0 0; padding-left: 18px; color: #ff8a8a; } .taco-errores small { color: #9aa8b2; }
.taco-opciones { display: grid; gap: 8px; }
.taco-opcion, .taco-btn { background: #1b1d22; color: #e8e8e8; border: 1px solid #3a3d47; border-radius: 10px; padding: 10px 12px; font: inherit; cursor: pointer; text-align: left; }
.taco-opcion.bien { border-color: #2f9e52; background: #132a1c; } .taco-opcion.mal { border-color: #b03434; background: #2a1414; }
.taco-btn.taco-ok { background: #1a3a4b; color: #6fc4f2; border-color: #1a3a4b; font-weight: 700; }
.taco-btn:disabled { opacity: 0.5; cursor: default; }
.disco-wrap { max-width: 420px; margin: 0 auto; } .disco-mini { max-width: 260px; }
.disco-zona { cursor: pointer; transition: fill 0.2s; }
.disco-zona:hover { fill: #ffe9a8; }
.disco-zona.acertada { fill: #cfeedb !important; } .disco-zona.fallada { fill: #f2b8b8 !important; }
.disco-leyenda { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; font-size: 12px; color: #9aa8b2; margin: 8px 0; }
.disco-leyenda i { display: inline-block; width: 22px; height: 10px; background: #e8e0cc; border-radius: 2px; vertical-align: middle; margin-right: 5px; }
.disco-leyenda .ley-conduccion { height: 10px; } .disco-leyenda .ley-otro_trabajo { height: 7px; } .disco-leyenda .ley-disponibilidad { height: 4px; } .disco-leyenda .ley-descanso { height: 2px; }
.campo-central { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
.cc-campo { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: #9aa8b2; }
.cc-campo input { background: #fffdf6; color: #2a2620; border: 1px solid #b9ad92; border-radius: 6px; padding: 7px 8px; font: inherit; font-size: 14px; }
.cc-campo.mal input { border-color: #b03434; box-shadow: 0 0 0 2px #b0343455; }
.campo-central .taco-btn { grid-column: 1 / -1; text-align: center; }
.taco-instrumento { display: grid; gap: 10px; }
.taco-aparato { background: linear-gradient(180deg, #4a4e57, #2d3038); border: 2px solid #1a1c22; border-radius: 12px; padding: 12px; box-shadow: inset 0 1px 0 #ffffff22, 0 6px 16px #0007; }
.taco-lcd { background: #8fb36a; color: #12210c; border: 3px solid #1f2418; border-radius: 6px; padding: 8px 10px; min-height: 48px; display: grid; gap: 6px; box-shadow: inset 0 0 12px #00000033; }
.taco-lcd .lcd-linea { display: flex; align-items: center; gap: 6px; min-height: 16px; white-space: nowrap; overflow: hidden; }
.taco-aparato.aviso-previo .taco-lcd { background: #d9c86a; } .taco-aparato.aviso-superado .taco-lcd { background: #d98a6a; animation: taco-parpadeo 1s steps(2) infinite; }
@keyframes taco-parpadeo { 50% { background: #f0b0a0; } }
.taco-botonera { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; margin-top: 10px; }
.taco-menu { display: flex; gap: 6px; justify-content: center; }
.taco-tecla, .taco-tecla-ranura { background: #1f2229; color: #d8dbe2; border: 1px solid #0d0f13; border-bottom-width: 3px; border-radius: 8px; padding: 8px 10px; font: inherit; font-weight: 800; cursor: pointer; min-width: 40px; }
.taco-tecla:active, .taco-tecla-ranura:active { transform: translateY(1px); border-bottom-width: 2px; }
.taco-ok { background: #2a3f2a; }
.taco-tecla-ranura { width: 44px; height: 44px; border-radius: 50%; font-size: 16px; }
.taco-ranura { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.taco-slot { width: 64px; height: 8px; background: #0d0f13; border-radius: 3px; position: relative; }
.taco-tarjeta { position: absolute; left: 4px; top: -4px; width: 56px; height: 14px; background: #d9c58a; color: #2a2620; font-size: 8px; line-height: 14px; text-align: center; border-radius: 2px; overflow: hidden; }
.taco-impresora { margin-top: 10px; height: 10px; background: #0d0f13; border-radius: 3px; position: relative; }
.taco-papel { background: #fffdf6; color: #2a2620; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; padding: 8px; border-radius: 0 0 6px 6px; margin-top: 4px; box-shadow: 0 3px 8px #0006; max-height: 220px; overflow: auto; }
.papel-linea { display: flex; align-items: center; gap: 4px; white-space: pre; }
.papel-linea .picto { color: #2a2620; }
.taco-cuadro { background: #1b1d22; border: 1px solid #3a3d47; border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; }
.cuadro-fila { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cuadro-vel b { font-size: 22px; } .cuadro-reloj { margin-left: auto; font-variant-numeric: tabular-nums; color: #9aa8b2; }
.cuadro-mult select { background: #23262e; color: #e8e8e8; border: 1px solid #3a3d47; border-radius: 8px; padding: 6px; font: inherit; }
.taco-dialogo { background: #1b1d22; border: 1px solid #6fc4f2; border-radius: 12px; padding: 12px; margin-top: 10px; }
.dlg-lcd { background: #8fb36a; color: #12210c; border-radius: 6px; padding: 8px 10px; margin-bottom: 8px; display: inline-block; line-height: 20px; }
.dlg-fila { display: flex; gap: 8px; align-items: center; margin: 6px 0; flex-wrap: wrap; }
.dlg-fila select, .dlg-fila input { background: #23262e; color: #e8e8e8; border: 1px solid #3a3d47; border-radius: 8px; padding: 7px; font: inherit; }
.dlg-acciones { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.dlg-error { color: #ff8a8a; font-size: 13px; margin: 6px 0 0; }
.taco-objetivos { margin: 10px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 1.7; color: #9aa8b2; }
.taco-objetivos li.hecho { color: #6fe08c; }
