html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/*Colores para botones de preparado, pendiente*/
.kds-status {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
}

.kds-status-pendiente {
    background: #fff3cd;
    color: #7a5200;
}

.kds-status-preparacion {
    background: #cfe2ff;
    color: #084298;
}
/* Colores para tarjetas de orden tiempo transcurrido */
.kds-card-warning {
    border-left: 8px solid #ffc107;
    background-color: #fffdf2;
}

.kds-card-danger {
    border-left: 8px solid #dc3545;
    background-color: #fff5f5;
}
/*Mesero*/
.kds-waiter {
    margin-top: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.75;
}
/* Board*/
.kds-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 18px;
    padding: 18px;
}

.kds-order-card {
    padding: 20px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    min-height: 230px;
}

.kds-order-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    font-size: 1.05rem;
}

    .kds-order-top strong {
        font-size: 1.45rem;
    }

.kds-order-card h2 {
    margin-top: 16px;
    font-size: 1.65rem;
    line-height: 1.2;
}
/* Pedido atrasado a un lado de Mesa*/
.kds-card-danger {
    border-left: 10px solid #dc3545;
    box-shadow: 0 0 20px rgba(220,53,69,.20);
}
/* Estado a un lado de la mesa*/
.kds-table-alert {
    margin-top: 6px;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f8d7da;
    color: #842029;
    font-size: 0.9rem;
    font-weight: 900;
}
/*.kds-modifiers {
    margin-top: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.04);
    font-size: 1.15rem;
    font-weight: 600;
}*/

.kds-order-footer {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.kds-action-button {
    border: 2px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    box-shadow: none;
    min-height: 46px;
    border-radius: 14px;
    font-size: .95rem;
    font-weight: 900;
}

/* items pedidos*/
.kds-item {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
}

/*.kds-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}*/
.kds-item-status {
    display: inline-block;
    margin-top: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 800;
}

.kds-item-status-pendiente {
    background: #fff3cd;
    color: #7a5200;
}

.kds-item-status-preparacion {
    background: #cfe2ff;
    color: #084298;
}
.kds-item-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.kds-item-qty {
    font-size: 2rem;
    font-weight: 900;
    min-width: 48px;
    text-align: center;
}

.kds-item-name {
    font-size: 1.2rem;
    font-weight: 700;
}
.kds-item-new {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #d1e7dd;
    color: #0f5132;
    font-size: 0.85rem;
    font-weight: 800;
}
/* botones iniciar/preparando*/
.kds-item-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.kds-item-main {
    min-width: 0;
}

.kds-item-actions {
    display: flex;
    justify-content: flex-end;
}

.kds-item-actions .kds-action-button {
    width: 100%;
    min-height: 48px;
}
.kds-card-new {
    border-left: 10px solid #28a745;
    box-shadow: 0 0 20px rgba(40,167,69,.25);
}
/* botón activar sonido */
.kds-sound-active {
    background-color: #198754 !important;
    color: white !important;
    border-color: #198754 !important;
}
/* Tiempo */
.kds-time-status {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.95rem;
}

.kds-time-ok {
    background: #d1e7dd;
    color: #0f5132;
}

.kds-time-warning {
    background: #fff3cd;
    color: #7a5200;
}

.kds-time-danger {
    background: #f8d7da;
    color: #842029;
}
/* Tamaño de article*/
.kds-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 18px;
    padding: 18px;
    align-items: start;
}
/* items cancelados */
.kds-item-status-cancelado {
    background: #f8d7da;
    color: #842029;
}

.kds-item:has(.kds-item-status-cancelado) {
    opacity: 0.75;
}
/* Pedido listo para servir */
.kds-card-ready {
    border-left: 10px solid #28a745;
    box-shadow: 0 0 20px rgba(40,167,69,.25);
}

/* Banner de pedido listo para servir */
.kds-ready-banner {
    margin-top: 6px;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: #198754;
    color: white;
    font-weight: 900;
}
/* summary cards arriba*/
.kds-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 18px 8px 18px;
}

.kds-summary-card {
    min-width: 130px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,.07);
}

    .kds-summary-card strong {
        display: block;
        font-size: 1.8rem;
        font-weight: 900;
    }

    .kds-summary-card span {
        font-size: .95rem;
        font-weight: 700;
        opacity: .75;
    }

.kds-summary-danger {
    border-left: 8px solid #dc3545;
}

.kds-summary-ready {
    border-left: 8px solid #198754;
}
.kds-summary-card {
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}

    .kds-summary-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0,0,0,.12);
    }
/* summary pills */
.kds-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 18px 28px;
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 4px 18px rgba(0,0,0,.05);
}

.kds-center-title {
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1;
}

.kds-center-subtitle {
    margin-top: 6px;
    font-size: 1rem;
    font-weight: 700;
    opacity: .65;
}

.kds-topbar-right {
    text-align: right;
}

.kds-clock {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.kds-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.kds-icon-button,
.kds-icon-link,
.kds-secondary-button {
    border: none;
    border-radius: 999px;
    padding: 9px 14px;
    background: #f1f3f5;
    color: #111827;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.kds-summary-bar {
    display: flex;
    gap: 10px;
    padding: 14px 28px;
    background: #f8fafc;
    border-bottom: 1px solid #e9ecef;
    overflow-x: auto;
}

.kds-summary-pill {
    min-width: 110px;
    border: none;
    border-radius: 16px;
    padding: 10px 14px;
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(0,0,0,.06);
    cursor: pointer;
    text-align: left;
}

    .kds-summary-pill strong {
        display: block;
        font-size: 1.55rem;
        font-weight: 900;
    }

    .kds-summary-pill span {
        font-size: .85rem;
        font-weight: 800;
        opacity: .7;
    }

    .kds-summary-pill:hover {
        transform: translateY(-2px);
    }

.kds-pill-danger {
    border-left: 8px solid #dc3545;
}

.kds-pill-ready {
    border-left: 8px solid #198754;
}
/* layout */
.kds-main-layout {
    min-height: 100vh;
    width: 100%;
    background: #f6f7fb;
}
/* header mesas */
.kds-ticket-header {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 8px;
}

.kds-ticket-mesa {
    border-radius: 18px;
    background: #111827;
    color: white;
    padding: 14px 8px;
    text-align: center;
    box-shadow: inset 0 -4px 0 rgba(255,255,255,.08);
}

.kds-ticket-mesa-number {
    font-size: 2rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .5px;
}

.kds-ticket-mesa-label {
    margin-top: 5px;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: 1.8px;
    opacity: .75;
}

.kds-ticket-info {
    min-width: 0;
}

.kds-ticket-line {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 1rem;
    font-weight: 850;
}

.kds-ticket-waiter {
    margin-top: 6px;
    font-size: .95rem;
    font-weight: 850;
    color: #4b5563;
}

.kds-ticket-badges {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
/* botones card*/
.kds-item {
    margin-top: 8px;
    padding: 10px;
    border-radius: 16px;
    background: #f9fafb;
    border: 1px solid #edf0f3;
}

.kds-item-body {
    display: grid;
    grid-template-columns: 1fr 130px;
    gap: 12px;
    align-items: start;
}

.kds-item-action-area {
    display: flex;
    justify-content: flex-end;
}

    .kds-item-action-area .kds-action-button {
        width: 100%;
        min-height: 52px;
        border-radius: 14px;
        font-size: 1rem;
        font-weight: 900;
    }
.kds-item-main-area {
    min-width: 0;
}

.kds-item-badges {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
/* separación de cuentas en ticket*/

.kds-cuenta-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 8px;
    font-size: .95rem;
    font-weight: 900;
    color: #4b5563;
    text-transform: uppercase;
}

    .kds-cuenta-header::before,
    .kds-cuenta-header::after {
        content: "";
        flex: 1;
        height: 2px;
        background: #d1d5db;
        border-radius: 2px;
    }

.kds-ticket-cuentas {
    margin-top: 6px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-weight: 900;
    font-size: .85rem;
}
/* botones inicio y preparado*/
.kds-action-start {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.kds-action-ready {
    border-color: #16a34a;
    color: #15803d;
    background: #f0fdf4;
}

.kds-action-button:active {
    transform: scale(.97);
}
/* chops modificadores*/
.kds-modifiers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.kds-chip {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: .78rem;
    font-weight: 800;
    color: #374151;
    letter-spacing: .4px;
    text-transform: uppercase;
    white-space: nowrap;
}

/*.kds-action-button {
    border: none;
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
}

    .kds-action-button:active {
        transform: scale(.97);
    }
*/
/* barra de progreso */
/*.kds-progress {
    margin-top: 8px;
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.kds-progress-fill {
    height: 100%;
    transition: width .4s ease;
}

.kds-progress-normal {
    background: #22c55e;
}

.kds-progress-warning {
    background: #f59e0b;
}

.kds-progress-danger {
    background: #dc2626;
}

.kds-progress-pending {
    background: #cbd5e1;
}*/
/* Hora actual */
.kds-current-time {
    font-size: 2.70rem;
    font-weight: 900;
    color: #111827;
}
/* linea en el reloj*/
.kds-time-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
/* mas del header*/
.kds-topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    padding: 14px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.kds-center-title {
    font-size: 2.4rem;
    font-weight: 950;
    line-height: 1;
    color: #111827;
}

.kds-topbar-center {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.kds-view-button {
    border: none;
    border-radius: 999px;
    padding: 10px 22px;
    background: #e5e7eb;
    color: #374151;
    font-weight: 900;
    cursor: pointer;
}

.kds-view-active {
    background: #111827;
    color: white;
}

.kds-topbar-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}

.kds-current-time {
    font-size: 2.7rem;
    font-weight: 950;
    color: #111827;
    white-space: nowrap;
}

.kds-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kds-icon-button,
.kds-icon-link,
.kds-secondary-button {
    border: none;
    border-radius: 999px;
    padding: 8px 12px;
    background: #f1f5f9;
    color: #111827;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

/* seleccion de centros en home */
.center-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f7fb;
    padding: 32px;
}

.center-container {
    width: min(980px, 96vw);
    text-align: center;
}

/*.center-brand {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .18em;
    color: #6b7280;*/
    /*text-transform: uppercase;*/
/*}*/

.center-product {
    margin-top: 8px;
    font-size: 4rem;
    font-weight: 950;
    color: #111827;
    line-height: 1;
}

.center-container h1 {
    margin-top: 26px;
    font-size: 2.4rem;
    font-weight: 950;
    color: #111827;
}

.center-container p {
    margin-top: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #6b7280;
}

.center-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

.center-card {
    min-height: 160px;
    border-radius: 28px;
    background: white;
    color: #111827;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    font-size: 2rem;
    font-weight: 950;
    box-shadow: 0 14px 32px rgba(0,0,0,.08);
    transition: transform .15s ease, box-shadow .15s ease;
}

    .center-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 42px rgba(0,0,0,.14);
    }

    .center-card:active {
        transform: scale(.97);
    }

.center-brand-block {
    margin-bottom: 18px;
}

/*.center-brand {
    font-size: 1.15rem;
    font-weight: 950;
    letter-spacing: .16em;
    color: #6b7280;*/
    /*text-transform: uppercase;*/
/*}*/

.center-brand {
    font-size: 1.55rem;
    font-weight: 800;
    color: #4b5563;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

/*.center-product {
    margin-top: 6px;
    font-size: 5rem;
    font-weight: 950;
    color: #111827;
    line-height: .95;
}*/

.center-product {
    font-size: 5.4rem;
    font-weight: 950;
    color: #111827;
    line-height: .9;
    margin-bottom: 18px;
}

.center-container h1 {
    margin-top: 18px;
    font-size: 2.2rem;
    font-weight: 950;
    color: #111827;
}

/*.center-company {
    font-size: 1.95rem;
    font-weight: 950;
    letter-spacing: .22em;*/
    /*color: #9ca3af;*/
    /*color: #6b7280;*/
    /*color: #111827;
    margin-bottom: 8px;
}*/

.center-company {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .55em;
    color: #9ca3af;
 /*   text-transform: uppercase;*/
    margin-bottom: 4px;
}

/* logo*/
/*.center-logo {
    width:120px;
    height:auto;
    margin-bottom:18px;
}*/
.center-logo {
    width: 135px;
    height: auto;
    margin-bottom: 12px;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.12));
}

/* Monitor */

.kds-monitor-page {
    min-height: 100vh;
    background: #f6f7fb;
}

.monitor-placeholder {
    padding: 40px;
    text-align: center;
}

.monitor-title {
    font-size: 3rem;
    font-weight: 950;
    color: #111827;
}

.monitor-subtitle {
    margin-top: 8px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #6b7280;
}

.monitor-card {
    margin: 40px auto 0;
    max-width: 760px;
    border-radius: 28px;
    background: white;
    padding: 42px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #374151;
    box-shadow: 0 16px 36px rgba(0,0,0,.08);
}
.monitor-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    padding: 22px 28px 8px;
}

.monitor-summary-card {
    background: white;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,.07);
}

    .monitor-summary-card strong {
        display: block;
        font-size: 2.2rem;
        font-weight: 950;
        color: #111827;
    }

    .monitor-summary-card span {
        font-size: .95rem;
        font-weight: 850;
        color: #6b7280;
    }

.monitor-danger {
    border-left: 8px solid #dc2626;
}

.monitor-ready {
    border-left: 8px solid #16a34a;
}

.monitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 18px;
    padding: 22px 28px;
    align-items: start;
}

.monitor-mesa-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    background: white;
    border-radius: 26px;
    padding: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
    border-left: 10px solid #d1d5db;
}

.monitor-mesa-danger {
    border-left-color: #dc2626;
}

.monitor-mesa-ready {
    border-left-color: #16a34a;
}

.monitor-mesa-working {
    border-left-color: #2563eb;
}

.monitor-mesa-main {
    border-radius: 20px;
    background: #111827;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 8px;
}

.monitor-mesa-number {
    font-size: 2.5rem;
    font-weight: 950;
    line-height: 1;
}

.monitor-mesa-label {
    margin-top: 6px;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: 1.8px;
    opacity: .75;
}

.monitor-mesa-data {
    min-width: 0;
}

.monitor-mesa-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: .95rem;
    font-weight: 850;
    color: #4b5563;
}

.monitor-metrics {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

    .monitor-metrics div {
        background: #f9fafb;
        border-radius: 14px;
        padding: 10px 6px;
        text-align: center;
    }

    .monitor-metrics strong {
        display: block;
        font-size: 1.35rem;
        font-weight: 950;
        color: #111827;
    }

    .monitor-metrics span {
        display: block;
        margin-top: 2px;
        font-size: .72rem;
        font-weight: 850;
        color: #6b7280;
    }

.metric-danger strong {
    color: #dc2626;
}

.metric-ready strong {
    color: #16a34a;
}

.monitor-empty {
    margin: 40px auto;
    max-width: 680px;
    background: white;
    border-radius: 24px;
    padding: 34px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 850;
    color: #6b7280;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
/* fullscreen */
html,
body {
    overflow: auto;
}
/* Comer aqui*/
.kds-eat-badge {
    border-radius: 999px;
    padding: 5px 11px;
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .4px;
    white-space: nowrap;
}

.kds-eat-here {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.kds-takeaway {
    background: #fff7ed;
    color: #c2410c;
    border: 2px solid #fb923c;
    box-shadow: 0 0 0 3px rgba(251,146,60,.15);
}
/* centros de producción*/
.center-status {
    grid-column: 1 / -1;
    padding: 28px;
    border-radius: 20px;
    background: #ffffff;
    color: #6b7280;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(0,0,0,.06);
}

.center-status-error {
    color: #b91c1c;
    background: #fef2f2;
}
/* Activación */
.activation-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px;
    background: #f6f7fb;
}

.activation-card {
    width: min(520px, 96vw);
    padding: 38px;
    border-radius: 30px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .12);
}

.activation-logo {
    width: 110px;
    height: auto;
    margin-bottom: 10px;
}

.activation-brand {
    font-size: 1.4rem;
    font-weight: 900;
    color: #374151;
}

.activation-company {
    margin-top: 3px;
    font-size: .8rem;
    font-weight: 800;
    color: #9ca3af;
}

.activation-product {
    margin-top: 5px;
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 950;
    color: #111827;
}

.activation-card h1 {
    margin-top: 24px;
    font-size: 1.8rem;
    font-weight: 950;
    color: #111827;
}

.activation-description {
    margin: 8px auto 0;
    max-width: 390px;
    color: #6b7280;
    font-weight: 700;
}

.activation-form {
    display: grid;
    gap: 9px;
    margin-top: 28px;
    text-align: left;
}

    .activation-form label {
        margin-top: 8px;
        font-size: .88rem;
        font-weight: 900;
        color: #374151;
    }

.activation-input {
    width: 100%;
    padding: 13px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
    outline: none;
}

    .activation-input:focus {
        border-color: #111827;
        box-shadow: 0 0 0 4px rgba(17, 24, 39, .08);
    }

.activation-code {
    text-align: center;
    font-size: 1.65rem;
    letter-spacing: .3em;
}

.activation-button {
    margin-top: 18px;
    min-height: 54px;
    border: none;
    border-radius: 16px;
    background: #111827;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 950;
    cursor: pointer;
}

    .activation-button:disabled {
        cursor: wait;
        opacity: .65;
    }

.activation-message {
    margin-top: 20px;
    padding: 13px 15px;
    border-radius: 14px;activation-input
    font-weight: 850;
}

.activation-success {
    color: #047857;
    background: #ecfdf5;
}

.activation-error {
    color: #b91c1c;
    background: #fef2f2;
}
/* Startup */
.kds-startup {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: #f6f7fb;
    color: #6b7280;
    font-size: 1.2rem;
    font-weight: 850;
}
/* Nombre Restaurante */
.center-restaurant {
    margin-top: 14px;
    font-size: 1.35rem;
    font-weight: 900;
    color: #374151;
}
/* Listado */
/*.listado-grupo {
    margin-bottom: 28px;
}*/
.listado-grupo {
    margin-bottom: 18px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #ffffff;
}
.listado-titulo {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.listado-tabla {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

    .listado-tabla th {
        text-align: left;
        padding: 10px;
        background: #ececec;
    }

    .listado-tabla td {
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }
    .listado-tabla .col-cantidad {
        width: 14%;
    }

    .listado-tabla .col-producto {
        width: 52%;
    }

    .listado-tabla .col-status {
        width: 34%;
    }
.listado-producto-grupo {
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

.listado-producto-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    background: #111827;
    color: #ffffff;
}

.listado-producto-nombre {
    font-size: 1.35rem;
    font-weight: 950;
    text-transform: uppercase;
}

.listado-producto-subtitulo {
    margin-top: 3px;
    font-size: .85rem;
    font-weight: 750;
    color: #d1d5db;
}

.listado-producto-total {
    min-width: 88px;
    text-align: center;
}

    .listado-producto-total strong {
        display: block;
        font-size: 2rem;
        line-height: 1;
        font-weight: 950;
    }

    .listado-producto-total span {
        display: block;
        margin-top: 3px;
        font-size: .72rem;
        font-weight: 900;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: #d1d5db;
    }

.listado-estado {
    display: inline-flex;
    align-items: center;
    min-width: 118px;
    justify-content: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: .78rem;
    font-weight: 900;
    white-space: nowrap;
}

.listado-estado-pendiente {
    color: #92400e;
    background: #fef3c7;
}

.listado-estado-preparacion {
    color: #1d4ed8;
    background: #dbeafe;
}

.listado-estado-listo {
    color: #047857;
    background: #d1fae5;
}

.listado-vacio {
    padding: 34px;
    border-radius: 20px;
    background: #ffffff;
    text-align: center;
    color: #6b7280;
    font-size: 1.15rem;
    font-weight: 850;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}
/* en preparación*/
.kds-ticket-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.kds-status-preparing {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #60a5fa;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}
/* que no aparezca ocurrio un error inesperado al inicio */
#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 20px;
    background-color: #fff3cd;
    color: #664d03;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

    #blazor-error-ui .reload {
        margin-left: 8px;
        font-weight: 700;
    }

    #blazor-error-ui .dismiss {
        position: absolute;
        right: 15px;
        cursor: pointer;
    }
    /* produccion por mesas*/
.listado-mesa-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    background: #111827;
    color: #ffffff;
    border-radius: 16px 16px 0 0;
}

.listado-mesa-info {
    min-width: 0;
}

.listado-mesa-titulo {
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1.15;
}

.listado-mesa-subtitulo {
    margin-top: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #cbd5e1;
}

.listado-mesa-total {
    min-width: 90px;
    text-align: center;
    flex-shrink: 0;
}

    .listado-mesa-total strong {
        display: block;
        font-size: 2rem;
        font-weight: 900;
        line-height: 1;
    }

    .listado-mesa-total span {
        display: block;
        margin-top: 4px;
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #cbd5e1;
    }
/* Header producción*/
.produccion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 20px 24px;
    margin: 18px 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}
    .produccion-header h1 {
        margin: 0;
        font-size: 2rem;
        font-weight: 900;
        color: #111827;
    }
    .produccion-header p {
        margin-top: 8px;
        color: #64748b;
        font-size: 1rem;
        max-width: 700px;
    }
.produccion-resumen {
    display: flex;
    gap: 14px;
}
    .produccion-resumen > div {
        min-width: 120px;
        padding: 12px 18px;
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
        border-radius: 14px;
        text-align: center;
    }
    .produccion-resumen strong {
        display: block;
        font-size: 1.8rem;
        color: #111827;
        font-weight: 900;
    }
    .produccion-resumen span {
        display: block;
        margin-top: 3px;
        font-size: .78rem;
        color: #64748b;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: .08em;
    }
.produccion-modos {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
/* botones encabezado produccion*/
.produccion-modos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 18px 0 22px;
}

    .produccion-modos button {
        min-width: 165px;
        padding: 10px 18px;
        border-radius: 999px;
        border: 1px solid #D1D5DB;
        background: #FFFFFF;
        color: #334155;
        font-size: .92rem;
        font-weight: 800;
        letter-spacing: .02em;
        cursor: pointer;
        transition: all .18s ease;
    }

        .produccion-modos button:hover {
            transform: translateY(-1px);
            border-color: #2563EB;
            box-shadow: 0 4px 12px rgba(37,99,235,.15);
        }

        .produccion-modos button.activo {
            background: #111827;
            color: white;
            border-color: #111827;
            box-shadow: 0 8px 20px rgba(17,24,39,.18);
        }
