﻿* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding-bottom: 92px;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at top, rgba(255, 193, 7, 0.25), transparent 300px),
        linear-gradient(180deg, #3b0d0d 0%, #1e1e1e 260px, #f3f0ea 260px);
    color: #222;
}

.contenedor {
    max-width: 760px;
    margin: auto;
    padding: 12px;
}

/* ========================= */
/* ENCABEZADO / LOGO */
/* ========================= */

.encabezado {
    background: linear-gradient(135deg, #120909, #8b1e1e);
    color: white;
    border-radius: 20px;
    padding: 22px 14px;
    text-align: center;
    margin-bottom: 14px;
    box-shadow: 0 5px 16px rgba(0,0,0,0.28);
    border: 2px solid rgba(255, 193, 7, 0.55);
}

.logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.logo {
    max-width: 155px;
    max-height: 120px;
    object-fit: contain;
    border-radius: 14px;
}

.encabezado h1 {
    margin: 0;
    font-size: 34px;
    letter-spacing: 1px;
}

.encabezado p {
    margin: 6px 0 0;
    font-size: 18px;
    color: #ffd54f;
    font-weight: bold;
}

/* ========================= */
/* INSTRUCCIONES */
/* ========================= */

.instrucciones {
    background: #fff8e1;
    border: 2px solid #f9c74f;
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.14);
}

.instrucciones h2 {
    margin: 0 0 12px;
    text-align: center;
    font-size: 22px;
    color: #6d1b1b;
}

.pasos {
    display: grid;
    gap: 8px;
}

.paso {
    display: flex;
    gap: 10px;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 13px;
    border: 1px solid #f1dfac;
}

.paso strong {
    min-width: 34px;
    height: 34px;
    background: #b71c1c;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.paso span {
    font-size: 15px;
    font-weight: bold;
}

.aviso-pago {
    margin-top: 12px;
    background: #b71c1c;
    color: white;
    padding: 12px;
    border-radius: 13px;
    text-align: center;
    font-size: 15px;
}

/* ========================= */
/* BLOQUES GENERALES */
/* ========================= */

.bloque,
.categoria,
.pedido,
.confirmado {
    background: white;
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.13);
}

.datos-cliente {
    border-top: 6px solid #b71c1c;
}

.datos-cliente h3 {
    margin-top: 0;
    font-size: 22px;
    color: #6d1b1b;
}

.oculto {
    display: none !important;
}

.flujo-panel {
    margin-top: 14px;
}

.flujo-botones {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0;
}

.btn-flujo {
    border: 0;
    border-radius: 12px;
    background: #b71c1c;
    color: white;
    font-size: 16px;
    font-weight: 800;
    padding: 14px 12px;
    min-height: 52px;
    cursor: pointer;
}

.btn-flujo-secundario {
    background: #ef7d00;
}

.btn-flujo-activo {
    background: #1d6f42;
    box-shadow: 0 0 0 3px rgba(29, 111, 66, 0.2);
}

.flujo-mensaje {
    margin: 10px 0;
    font-weight: 700;
    color: #1d6f42;
}

.flujo-error {
    color: #b71c1c;
}

.mensaje-costo-envio {
    margin: 10px 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #e8f5e9;
    color: #1d6f42;
    font-weight: 800;
}

.acciones-confirmado {
    margin-top: 16px;
}

.acciones-confirmado h3 {
    color: #6d1b1b;
    text-align: center;
}

.alerta-tiempo {
    background: #fff3cd;
    border-left: 6px solid #ef7d00;
    border-radius: 10px;
    padding: 12px;
    font-weight: 800;
}

.datos-cliente > label:first-of-type {
    display: none;
}

label {
    display: block;
    font-weight: bold;
    margin: 10px 0 5px;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px;
    font-size: 17px;
    border: 1px solid #c9c9c9;
    border-radius: 12px;
    background: white;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #b71c1c;
    box-shadow: 0 0 0 3px rgba(183, 28, 28, 0.13);
}

textarea {
    min-height: 80px;
    resize: vertical;
}

/* ========================= */
/* CATEGORIAS */
/* ========================= */

.categoria {
    padding: 0 0 12px;
    overflow: hidden;
}

#flujo-menu {
    border-radius: 18px;
    padding: 10px 0 1px;
    scroll-margin-top: 35px;
    transition: background-color 0.18s ease;
}

.menu-departamento {
    border-radius: 18px;
    padding: 8px 0 12px;
    margin-top: 8px;
    min-height: 55vh;
    transition: background-color 0.18s ease;
}

.menu-sin-seccion {
    background: #f7f7f7;
    min-height: 180px;
}

.mensaje-elegir-seccion {
    margin: 12px;
    border: 2px dashed #8b1e1e;
    border-radius: 14px;
    background: #ffffff;
    color: #6d1b1b;
    padding: 22px 14px;
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.2px;
}

.menu-fondo-pollos {
    background: #fff4c7;
}

.menu-fondo-hamburguesas {
    background: #ffe1e1;
}

.menu-fondo-tacos {
    background: #ffe8c7;
}

.menu-fondo-complementos {
    background: #dff1ff;
}

.categoria.oculta-pestana-menu {
    display: none;
}

.producto-card.oculta-pestana-menu {
    display: none;
}

.titulo-categoria {
    font-size: 24px;
    font-weight: bold;
    padding: 15px;
    text-align: center;
    color: #111;
    border-bottom: 1px solid rgba(0,0,0,0.10);
    letter-spacing: 0.5px;
}

/* ========================= */
/* TARJETAS DE PRODUCTO */
/* ========================= */

.producto-card {
    background: #ffffff;
    border-radius: 18px;
    margin: 14px;
    padding: 14px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 3px 9px rgba(0,0,0,0.09);
}

.menu-fondo-pollos .producto-card {
    background: #fffbed;
    border-color: #f2d978;
}

.menu-fondo-hamburguesas .producto-card {
    background: #fff3f3;
    border-color: #f3a9a9;
}

.menu-fondo-tacos .producto-card {
    background: #fff7eb;
    border-color: #e9bd7e;
}

.menu-fondo-complementos .producto-card {
    background: #f4fbff;
    border-color: #9bcdf0;
}

.producto-compacto {
    border-radius: 12px;
    margin: 8px 14px;
    padding: 10px 12px;
}

.producto-fila-compacta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.menu-fondo-pollos .cantidad-zona,
.menu-fondo-pollos .opciones-card,
.menu-fondo-pollos .sabores-refresco-control {
    background: #fff6d5;
    border-color: #efd474;
}

.menu-fondo-hamburguesas .cantidad-zona,
.menu-fondo-hamburguesas .opciones-card,
.menu-fondo-hamburguesas .sabores-refresco-control {
    background: #ffe9e9;
    border-color: #efa2a2;
}

.menu-fondo-tacos .cantidad-zona,
.menu-fondo-tacos .opciones-card,
.menu-fondo-tacos .sabores-refresco-control {
    background: #fff0dc;
    border-color: #e6b474;
}

.menu-fondo-complementos .cantidad-zona,
.menu-fondo-complementos .opciones-card,
.menu-fondo-complementos .sabores-refresco-control {
    background: #edf8ff;
    border-color: #8fc7ef;
}

.producto-compacto-nombre {
    color: #111;
    font-size: 18px;
    font-weight: 900;
}

.producto-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 11px;
}

.producto-texto {
    flex: 1;
}

.producto-texto h3 {
    margin: 0;
    font-size: 23px;
    color: #111;
}

.producto-texto p {
    margin: 6px 0 0;
    color: #555;
    font-size: 15px;
    line-height: 1.3;
}

.producto-precio {
    background: #1b5e20;
    color: white;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

/* ========================= */
/* CANTIDAD */
/* ========================= */

.cantidad-zona {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 13px;
    padding: 12px;
    background: #f7f7f7;
    border-radius: 15px;
}

.cantidad-zona span {
    font-size: 18px;
    font-weight: bold;
}

.cantidad-zona-ref {
    background: #eef7ff;
    border: 2px solid #bbdefb;
}

.cantidad-zona-ref .cantidad-control {
    gap: 12px;
}

.cantidad-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-cantidad {
    width: 56px;
    height: 56px;
    font-size: 36px;
    line-height: 34px;
    font-weight: bold;
    border: none;
    border-radius: 15px;
    background: #1565C0;
    color: white;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.16);
}

.btn-cantidad:active {
    transform: scale(0.96);
}

.btn-cantidad-ref {
    width: 62px;
    height: 62px;
}

.cantidad-zona-ref .cantidad-input {
    width: 74px !important;
    height: 62px;
}

.cantidad-input {
    width: 66px !important;
    height: 56px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    border: 2px solid #ddd;
    border-radius: 15px;
    background: white;
}

.btn-cantidad-compacta {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 28px;
    line-height: 28px;
}

.cantidad-input-compacta {
    width: 48px !important;
    height: 44px;
    border-radius: 12px;
    font-size: 20px;
}

.btn-cantidad-complemento {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 28px;
    line-height: 28px;
}

.btn-complemento-cantidad {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: #1565C0;
    color: white;
    font-size: 32px;
    line-height: 32px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.16);
}

.btn-complemento-cantidad:active {
    transform: scale(0.96);
}

.complemento-control {
    flex-shrink: 0;
}

.complemento-refc-control {
    gap: 12px;
}

.btn-cantidad-refc {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 32px;
    line-height: 32px;
}

.complemento-cantidad-refc {
    width: 64px !important;
    height: 52px;
    font-size: 22px;
}

/* ========================= */
/* OPCIONES / CHIPS */
/* ========================= */

.opciones-card {
    margin-top: 13px;
    padding: 12px;
    background: #fafafa;
    border-radius: 15px;
    border: 1px solid #eeeeee;
}

.opciones-card h4,
.grupo-opciones h4 {
    margin: 0 0 10px;
    font-size: 17px;
    color: #222;
}

.opciones-card small,
.grupo-opciones small {
    display: block;
    font-size: 13px;
    color: #777;
    margin-top: 3px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.chip input {
    display: none;
}

.chip span {
    display: inline-block;
    background: white;
    border: 2px solid #d5d5d5;
    border-radius: 999px;
    padding: 10px 13px;
    font-size: 15px;
    font-weight: bold;
    color: #222;
}

.chip input:checked + span {
    background: #1565C0;
    color: white;
    border-color: #1565C0;
}

.chip-extra input:checked + span {
    background: #2e7d32;
    color: white;
    border-color: #2e7d32;
}

/* ========================= */
/* NOTAS */
/* ========================= */

.nota-producto {
    margin-top: 13px;
}

.nota-producto label {
    font-size: 15px;
    margin-bottom: 6px;
}

.sabores-refresco-control {
    margin-top: 13px;
    padding: 12px;
    background: #eef7ff;
    border: 1px solid #bbdefb;
    border-radius: 15px;
}

.sabores-refresco-control:empty {
    display: none;
}

.sabores-refresco-control h4 {
    margin: 0 0 10px;
    font-size: 17px;
    color: #123d66;
}

.sabor-fila {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0;
}

.sabor-fila span {
    font-size: 15px;
    font-weight: bold;
}

.sabor-cantidad-control,
.combo-cantidad-control {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-sabor-cantidad,
.btn-combo-cantidad {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: #1565C0;
    color: white;
    font-size: 28px;
    line-height: 28px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.16);
}

.btn-sabor-cantidad:active,
.btn-combo-cantidad:active {
    transform: scale(0.96);
}

.sabor-cantidad,
.complemento-cantidad,
.combo-cantidad-input {
    width: 56px !important;
    height: 44px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    padding: 0;
    border: 2px solid #ddd;
    border-radius: 12px;
}

.sabor-cantidad-input {
    width: 52px !important;
    height: 46px;
}

.sabor-cantidad-bloqueada {
    opacity: 0.55;
}

.sabores-total {
    margin-top: 10px;
    font-weight: bold;
    color: #1b5e20;
}

.sabores-total-error {
    color: #b71c1c;
}

/* ========================= */
/* FINAL PEDIDO */
/* ========================= */

.final-pedido {
    background: #111;
    color: white;
    border-radius: 18px;
    padding: 16px;
    margin: 18px 0;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.20);
    display: none;
}

#flujo-menu.modo-finalizar .menu-acciones-sticky,
#flujo-menu.modo-finalizar #guia-paso-inicial,
#flujo-menu.modo-finalizar #guia-pedido-contextual,
#flujo-menu.modo-finalizar #contenedor-menu-productos {
    display: none;
}

#flujo-menu.modo-finalizar .final-pedido {
    display: block;
}

.bloque-extra-final-oculto {
    display: none;
}

.final-pedido h3 {
    margin: 0;
    font-size: 24px;
    color: #ffd54f;
}

.final-pedido p {
    margin: 8px 0 0;
    color: #eeeeee;
}

/* ========================= */
/* BOTONES GENERALES */
/* ========================= */

.btn-enviar {
    display: block;
    width: 100%;
    background: #2ecc71;
    color: white;
    border: none;
    text-align: center;
    padding: 18px;
    font-size: 23px;
    font-weight: bold;
    border-radius: 15px;
    text-decoration: none;
    margin: 16px 0 5px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}

.btn-enviar:active {
    transform: scale(0.98);
}

.btn-enviar:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.btn-ver-pedido {
    display: block;
    width: 100%;
    background: #2ecc71;
    color: white;
    border: none;
    text-align: center;
    padding: 16px;
    font-size: 21px;
    font-weight: bold;
    border-radius: 15px;
    text-decoration: none;
    margin: 10px 0 0;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,0,0,0.22);
}

.menu-acciones-sticky {
    position: sticky;
    top: 8px;
    z-index: 20;
    background: inherit;
    padding-bottom: 10px;
}

.guia-pedido-contextual {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    background: #fff8d9;
    color: #302300;
    border: 2px solid #f0d46a;
    border-radius: 12px;
    padding: 10px 12px;
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.3;
    text-align: left;
}

.guia-pedido-contextual strong {
    background: #8b1e1e;
    color: #ffffff;
    border-radius: 9px;
    padding: 5px 8px;
    font-size: 13px;
    white-space: nowrap;
}

.guia-pedido-contextual span {
    font-weight: 700;
}

.guia-pedido-resumen {
    margin: 12px 0 4px;
}

.bloque-extra-resumen {
    background: #fff8d9;
    color: #302300;
    border: 2px solid #f0d46a;
    border-radius: 14px;
    padding: 12px;
    margin: 12px 0;
    text-align: center;
}

.bloque-extra-resumen h4 {
    margin: 0 0 6px;
    color: #6d1b1b;
    font-size: 20px;
}

.bloque-extra-resumen p {
    color: #302300;
    margin: 0 0 10px;
    font-weight: 700;
}

.btn-agregar-complementos {
    display: block;
    background: #1976D2;
    color: #ffffff;
    border-radius: 12px;
    padding: 12px;
    font-size: 17px;
    font-weight: 900;
    text-decoration: none;
}

.pestanas-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.resumen-sticky-pedido {
    background: #111111;
    color: #ffd54f;
    border-radius: 11px;
    padding: 8px 10px;
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 900;
    text-align: center;
    letter-spacing: 0.2px;
}

.pestana-menu {
    min-height: 44px;
    border: 2px solid #8b1e1e;
    border-radius: 12px;
    background: #ffffff;
    color: #6d1b1b;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.pestana-menu-activa {
    background: #8b1e1e;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}

.menu-fondo-pollos .pestana-menu-activa {
    background: #f4c542;
    border-color: #c89617;
    color: #332300;
}

.menu-fondo-hamburguesas .pestana-menu-activa {
    background: #f28ca1;
    border-color: #d8516d;
    color: #4a0615;
}

.menu-fondo-tacos .pestana-menu-activa {
    background: #f6a04d;
    border-color: #d6781f;
    color: #3d1d00;
}

.menu-fondo-complementos .pestana-menu-activa {
    background: #7db8ea;
    border-color: #3f8cca;
    color: #08243d;
}

.seguir-agregando {
    display: block;
    width: 100%;
    background: #1976D2;
    color: white;
    border: none;
    font-size: 19px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    padding: 14px;
    border-radius: 13px;
    margin: 0 0 18px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.20);
    cursor: pointer;
}

.seguir-agregando:active {
    transform: scale(0.98);
}

.vista-previa-pedido {
    background: white;
    color: #222;
    border-radius: 12px;
    padding: 12px;
    margin-top: 14px;
    text-align: left;
}

.vista-previa-item {
    border-bottom: 1px solid #dddddd;
    padding: 8px 0;
}

.vista-previa-linea {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.vista-previa-nota {
    margin-top: 4px;
    color: #555;
    font-weight: bold;
}

.vista-previa-total {
    padding-top: 12px;
    font-size: 20px;
    font-weight: bold;
    text-align: right;
}

.vista-previa-tiempo {
    margin-top: 10px;
    background: #fff3cd;
    border-left: 6px solid #ef7d00;
    border-radius: 10px;
    padding: 12px;
    color: #222;
    font-weight: 800;
}

.vista-previa-tiempo:empty {
    display: none;
}

.ayuda-paga-con {
    margin-top: 6px;
    color: #555;
    font-size: 13px;
    font-weight: 700;
}

.paga-con-resumen {
    margin-top: 12px;
    background: #fffaf0;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px;
}

.paga-con-resumen label {
    display: block;
    margin-bottom: 8px;
    color: #6d1b1b;
    font-weight: 900;
}

.aviso-paga-con {
    margin-top: 8px;
    background: #ffe8e8;
    border-left: 6px solid #b71c1c;
    border-radius: 8px;
    padding: 10px;
    color: #8b1e1e;
    font-weight: 900;
}

.campo-paga-con-error {
    border-color: #b71c1c !important;
    box-shadow: 0 0 0 3px rgba(183, 28, 28, 0.14);
}

.link-pedidos {
    display: block;
    text-align: center;
    margin: 18px 0 30px;
    font-weight: bold;
    color: #b71c1c;
    text-decoration: none;
}

/* ========================= */
/* CONFIRMACION / PEDIDOS */
/* ========================= */

.confirmado,
.pedido {
    background: white;
}

.alerta {
    background: #fff3cd;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
}

.item-confirmado {
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
}

.sublinea {
    margin: 3px 0 3px 20px;
    color: #444;
    font-weight: bold;
}

.btn-imprimir {
    display: block;
    width: 100%;
    background: #1976D2;
    color: white;
    border: none;
    text-align: center;
    padding: 14px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    margin-top: 12px;
    cursor: pointer;
}

/* ========================= */
/* MOVIL */
/* ========================= */

@media (max-width: 520px) {
    .flujo-botones {
        grid-template-columns: 1fr;
    }

    .contenedor {
        padding: 8px;
    }

    .encabezado {
        padding: 18px 12px;
        border-radius: 18px;
    }

    .logo {
        max-width: 135px;
        max-height: 105px;
    }

    .encabezado h1 {
        font-size: 29px;
    }

    .instrucciones {
        padding: 12px;
    }

    .paso span {
        font-size: 14px;
    }

    .producto-card {
        margin: 10px;
        padding: 12px;
    }

    .producto-header {
        flex-direction: column;
    }

    .producto-precio {
        font-size: 20px;
        align-self: flex-start;
    }

    .cantidad-zona {
        flex-direction: column;
        align-items: stretch;
    }

    .cantidad-control {
        justify-content: center;
    }

    .btn-cantidad {
        width: 64px;
        height: 60px;
        font-size: 38px;
    }

    .cantidad-input {
        width: 72px !important;
        height: 60px;
        font-size: 29px;
    }

    .chip span {
        padding: 11px 13px;
        font-size: 14px;
    }
}

/* Panel independiente de tiempos */
.panel-tiempos-link p{margin:6px 0 12px;color:#4b5563;font-weight:700}.btn-abrir-tiempos{display:block;text-align:center;background:#333;color:#fff;text-decoration:none;padding:13px;border-radius:12px;font-weight:900;letter-spacing:.02em}.tiempos-body{background:#f4f1ea;min-height:100vh;margin:0;font-family:Arial,Helvetica,sans-serif}.tiempos-panel{width:min(520px,calc(100% - 28px));margin:0 auto;padding:24px 0}.tiempos-header{background:#111;color:#fff;border-radius:18px;padding:22px 16px;text-align:center;margin-bottom:16px;box-shadow:0 4px 14px rgba(0,0,0,.18)}.tiempos-header h1{margin:0;font-size:32px;letter-spacing:.04em}.tiempos-header p{margin:8px 0 0;color:#ffd54f;font-size:18px;font-weight:900}.tiempos-card{background:#fff;border-radius:18px;padding:18px;display:grid;gap:18px;box-shadow:0 4px 16px rgba(0,0,0,.14)}.tiempos-card label{font-weight:900;color:#6d1b1b}.tiempos-card input[type=password]{width:100%;box-sizing:border-box;border:2px solid #ddd;border-radius:14px;padding:16px;font-size:24px;text-align:center}.tiempo-control-empleado{display:grid;grid-template-columns:1fr 64px 86px 72px 64px;gap:8px;align-items:center;border:1px solid #eee;border-radius:16px;padding:12px;background:#fffaf0}.tiempo-control-empleado strong{font-size:16px;color:#6d1b1b}.tiempo-control-empleado span{font-weight:900;color:#333;text-align:center}.tiempo-empleado-input{width:100%;box-sizing:border-box;border:2px solid #ddd;border-radius:12px;min-height:54px;text-align:center;font-size:24px;font-weight:900}.btn-tiempo-empleado{border:0;border-radius:14px;min-height:58px;background:#1976d2;color:#fff;font-size:34px;font-weight:900;cursor:pointer}.btn-tiempos-guardar,.btn-tiempos-salir{width:100%;border:0;border-radius:14px;padding:17px;font-size:18px;font-weight:900;cursor:pointer}.btn-tiempos-guardar{background:#2ecc71;color:#fff}.btn-tiempos-salir{margin-top:14px;background:#6b1f1f;color:#fff}.tiempos-mensaje{margin-bottom:14px}@media(max-width:480px){.tiempos-panel{width:calc(100% - 18px);padding:14px 0}.tiempo-control-empleado{grid-template-columns:1fr 56px 76px 52px 56px;gap:6px;padding:10px}.tiempo-control-empleado strong{font-size:14px}.tiempo-empleado-input{font-size:21px}.btn-tiempo-empleado{min-height:54px;font-size:30px}.tiempos-header h1{font-size:28px}}

/* Temporizadores automaticos de espera */
.normales-card{margin-bottom:16px}.normales-card h2,.temporizador-card h2{margin:0;color:#6d1b1b}.normales-card label{display:grid;grid-template-columns:1fr 110px;gap:10px;align-items:center}.normal-tiempo-input{border:2px solid #ddd;border-radius:12px;padding:12px;text-align:center;font-size:20px;font-weight:900}.temporizador-card{margin-bottom:16px}.temporizador-titulo{display:flex;justify-content:space-between;align-items:center;gap:12px}.estado-temporizador{border-radius:999px;background:#e5e7eb;color:#374151;padding:7px 10px;font-size:12px;font-weight:900}.estado-temporizador.activo{background:#dcfce7;color:#166534}.tiempos-resumen{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.tiempos-resumen div{background:#fffaf0;border:1px solid #eee;border-radius:14px;padding:10px;text-align:center}.tiempos-resumen span{display:block;color:#6b7280;font-size:12px;font-weight:900;text-transform:uppercase}.tiempos-resumen strong{display:block;margin-top:4px;font-size:22px;color:#111}.vence-texto{margin:0;color:#4b5563;font-weight:800}.acciones-tiempo{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:8px}.acciones-tiempo .btn-tiempo-empleado{font-size:24px}.btn-tiempo-normal,.btn-tiempos-secundario,.btn-tiempo-rapido{border:0;border-radius:14px;min-height:54px;font-weight:900;cursor:pointer}.btn-tiempo-normal{background:#111;color:#fff}.btn-tiempos-secundario{background:#333;color:#fff}.activar-tiempo{display:grid;grid-template-columns:1fr 1.3fr;gap:8px}.rapidos-tiempo{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.btn-tiempo-rapido{background:#ffd54f;color:#251500;font-size:15px}@media(max-width:480px){.tiempos-resumen{grid-template-columns:1fr}.acciones-tiempo,.activar-tiempo,.rapidos-tiempo{grid-template-columns:1fr}.normales-card label{grid-template-columns:1fr}}

/* Simplificacion final del panel /tiempos */
.tiempos-panel-simple{width:min(560px,calc(100% - 24px))}.tiempos-simple-card{gap:20px}.tiempo-simple-row{display:grid;gap:8px;border:1px solid #eee;border-radius:18px;padding:14px;background:#fffaf0}.tiempo-simple-nombre{font-size:20px;font-weight:900;color:#6d1b1b;text-align:center}.tiempo-simple-controles{display:grid;grid-template-columns:64px 1fr 64px 132px;gap:8px;align-items:center}.btn-tiempo-simple,.btn-temporizar{border:0;border-radius:14px;min-height:58px;font-weight:900;cursor:pointer}.btn-tiempo-simple{background:#1976d2;color:#fff;font-size:22px}.btn-temporizar{background:#111;color:#fff;font-size:14px}.btn-temporizar.activo{background:#6b1f1f}.tiempo-simple-valor{min-height:58px;border-radius:14px;background:#fff;border:2px solid #ddd;display:grid;place-items:center;font-size:24px;font-weight:900;color:#111}.tiempo-barra-wrap{height:10px;background:#dbeafe;border-radius:999px;overflow:hidden}.tiempo-barra-fill{height:100%;width:0;background:#1976d2;border-radius:999px;transition:width .3s linear}.tiempo-bajando{text-align:center;color:#166534;font-size:12px;font-weight:900;letter-spacing:.08em}.tiempos-simple-card+.btn-tiempos-salir{margin-top:14px}@media(max-width:480px){.tiempo-simple-controles{grid-template-columns:56px 1fr 56px;grid-template-areas:\"menos valor mas\" \"temp temp temp\"}.tiempo-simple-controles button[value='menos5']{grid-area:menos}.tiempo-simple-valor{grid-area:valor;font-size:22px}.tiempo-simple-controles button[value='mas5']{grid-area:mas}.btn-temporizar{grid-area:temp}.btn-tiempo-simple,.btn-temporizar{min-height:54px}}
