﻿body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* Evita el desplazamiento de la página mientras el spinner está activo */
    margin: 0; /* Asegura que no haya márgenes alrededor del cuerpo */
    padding: 0; /* Asegura que no haya relleno alrededor del cuerpo */
    pointer-events: auto;
}

/************** Estilos para modo celular ****************/
.animacion-deslizar-arriba {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animacion-deslizar-abajo {
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animación de deslizamiento hacia la derecha */
@keyframes slideRight {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animación de deslizamiento hacia la izquierda */
@keyframes slideLeft {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animacion-deslizar-derecha {
    animation: slideRight 0.5s ease;
}

.animacion-deslizar-izquierda {
    animation: slideLeft 0.5s ease;
}

.detalle-btn {
    position: fixed;
    bottom: 0px;
    right: 0px;
    z-index: 999;
    display: none;
    width: 100%;
    border-radius: inherit;
    text-align: left;
    height: 40px;
    font-size: 17px;
}

@media (max-width: 767px) {
    /* Estilos para el botón */
    .detalle-btn {
        display: block;
    }
}

/************** Estilo de lista de Clientes para celular ****************/
.card-cliente {
    border-bottom: 1px solid #e3dede;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 13px;
    width: 100%;
    justify-content: space-between;
    padding-top: 3px;
    cursor: pointer;
}

.cliente-nombres {
    display: flex;
    justify-content: space-between;
    color: black;
}

.select-cli {
    color: white !important;
}

.btn-nuevo-cli {
    position: fixed;
    bottom: 12px;
    right: 18px;
    z-index: 999;
    display: block;
    width: 60px;
    border-radius: 50%;
    text-align: center;
    height: 60px;
    color: white !important;
    font-size: 28px;
    background-color: var(--secundario) !important;
    border: 1px solid var(--secundario) !important;
}

    .btn-nuevo-cli:hover {
        background-color: var(--hoversecundario) !important;
        color: white !important;
        border: 1px solid var(--hoversecundario) !important;
    }

/************** End ****************/

#spinner-container {
    display: none; /* Oculta el spinner por defecto */
}

.spinner-style-container {
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

.spinner-style-card {
    height:calc(100% - 140px);
    position: fixed;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    align-items:center;
}

.spinner-style {
    width: 5rem;
    height: 5rem;
    color: var(--primario) !important;
}

.fondolibre {
    height: 100%;
}

.cajas {
    padding-left: 0;
    padding-right: 0;
}

.tabla-fija {
    padding-left: 0;
    padding-right: 0;
    height: calc(100% - 50px);
}

.pv {
    padding-left: 0;
    padding-right: 0;
    height: 100%;
    overflow: hidden;
}

.rowpv {
    margin-left: 0;
    margin-right: 0;
}

.colpad {
    padding: 0;
}

.contenido {
    overflow: hidden;
}

.pos-page {
    height: 100%;
}

.contenedor-caja-apertura {
    width: 55%;
    margin-top: 50px;
}

@media only screen and (max-width: 850px) {
    .contenedor-caja-apertura {
        width: 90%;
    }
}

.alert-caja {
    font-size: 25px;
    padding: 10px;
    color: #ed6f15;
    background-color: #f5d56682;
    border: 1px solid #ffb307a6;
    margin-top: 15px;
}

/************** Estilos para las mesas ****************/
.mlibre {
    margin-right: 5px;
    margin-bottom: 5px;
    width: 181px;
    height: 90px;
    padding-top: 33px;
    background-color: #68cc8b;
    border: 1px solid #38AE93;
    border-radius: 25px;
    box-shadow: 0 -3px 0 rgba(0,0,0,0.1) inset;
    border-style: solid;
}

    .mlibre:hover {
        background-color: #38AE93;
        border: 1px solid #79c349;
    }

@media only screen and (max-width: 850px) {
    .mlibre {
        width: 48%;
    }
}

.mocupada {
    margin-right: 5px;
    margin-bottom: 5px;
    width: 181px;
    height: 90px;
    padding-top: 33px;
    background-color: #EF464D;
    border: 1px solid #c33;
    border-radius: 25px;
    box-shadow: 0 -3px 0 rgba(0,0,0,0.1) inset;
    border-style: solid; 
}

    .mocupada:hover {
        background-color: #c33;
        border: 1px solid #c33;
    }

@media only screen and (max-width: 850px) {
    .mocupada {
        width: 48%;
    }
}

/************** Color para botónes ****************/
.btn-warning {
    border-radius: 8px;
}

.btn-danger {
    border-radius: 8px;
}

.btnSc {
    background-color: #04AA6D;
    border: #04AA6D;
    color: white;
    border-radius: 8px;
}

    .btnSc:hover {
        background-color: #0b8d5d;
    }

.btnPri {
    background-color: var(--secundario);
    border: var(--secundario);
    color: white;
    border-radius: 8px;
}

    .btnPri:hover {
        background-color: var(--hoversecundario);
    }

.btnLight {
    background-color: #ffffff;
    color: var(--secundario);
    border-color: var(--secundario);
    border-radius: 8px;
}

    .btnLight:hover {
        background-color: var(--hoversecundario);
        color: white;
        border-color: var(--hoversecundario);
    }

.btnPrima {
    background-color: var(--primario);
    color: white;
    border: 1px solid var(--primario);
    border-radius: 10px;
}

    .btnPrima:hover {
        background-color: white;
        color: var(--primario);
        border: 1px solid var(--primario);
    }

.btnFactPri {
    background-color: var(--secundario);
    border: 1px solid var(--secundario);
    color: white;
    border-radius: 8px;
}

    .btnFactPri:hover {
        background-color: white;
        color: var(--secundario);
        border: 1px solid var(--secundario);
    }

.btnInfo {
    background-color: #31AEE4;
    border: #31AEE4;
    color: white;
    border-radius: 8px;
}

    .btnInfo:hover {
        background-color: #02b1fb;
    }

.btnDefecto {
    background-color: white;
    border: 1px solid #cdcdcd;
    color: black;
    border-radius: 8px;
}

    .btnDefecto:hover {
        background-color: #e1e1e1;
        border: 1px solid #e1e1e1;
    }

.btnOrdenCongelada {
    padding-top: 5px;
    height: 30px;
    width: 45px;
    color: #595959;
    background-color: #e0e5e7;
    border-radius: 5px;
    border: 0;
    box-shadow: none;
}

    .btnOrdenCongelada:hover {
        background-color: #c8d0d3;
    }

.btnPolitica {
    background-color: white;
    border: 1px solid #dc243e;
    color: #dc243e;
    border-radius: 8px;
    font-weight: bold;
}

    .btnPolitica:hover {
        color: white;
        background-color: #dc243e;
        border: 1px solid #dc243e;
        font-weight: bold;
    }

.btnOrange {
    background-color: #f0822b;
    border: #f0822b;
    color: white;
    border-radius: 8px;
}

    .btnOrange:hover {
        background-color: #e56d0e;
    }

.btnDanger {
    background-color: #dc3545;
    border: #dc3545;
    color: white;
    border-radius: 8px;
}

    .btnDanger:hover {
        background-color: #bf5761;
    }

.btnSecon {
    background-color: #b2b2b2;
    border: #b2b2b2;
    color: white;
    border-radius: 8px;
}

    .btnSecon:hover {
        background-color: #919090;
    }

.btnTurq {
    background-color: #07a59d;
    border: #07a59d;
    color: white;
    border-radius: 8px;
}

    .btnTurq:hover {
        background-color: #06817b;
    }

.btnRose {
    background-color: #ee4b82;
    border: #ee4b82;
    color: white;
    border-radius: 8px;
}

    .btnRose:hover {
        background-color: #bd0845;
    }

.btnOrange2 {
    background-color: #ffc107;
    border: #ffc107;
    color: white;
    border-radius: 8px;
}

    .btnOrange2:hover {
        background-color: #e5ae08;
    }

.btnFacturita {
    width: 45px;
    height: 32px;
    font-size: 23px;
    background-color: #31AEE4;
    border: 1px solid #31AEE4;
    color: white;
    border-radius: 7px;
    margin-bottom: 2px;
}

    .btnFacturita:hover {
        background-color: #0587f7;
    }

.btnAnalogo {
    width: 45px;
    height: 32px;
    font-size: 23px;
    background-color: var(--analogo);
    border: 1px solid var(--analogo);
    color: white;
    border-radius: 7px;
    margin-bottom: 2px;
}

    .btnAnalogo:hover {
        background-color: var(--hoversecundario);
        border: 1px solid var(--hoversecundario);
        color: white;
    }

.btnAnalogo-label {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 42px;
    padding: 2px 0 !important;
    gap: 1px;
}

.btnAnalogo-label i {
    font-size: 16px;
    line-height: 1;
}

.btnAnalogo-txt {
    font-size: 8px !important;
    font-weight: 600;
    line-height: 1 !important;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    opacity: 0.9;
}

.btnFacturitaLight {
    width: 45px;
    height: 32px;
    font-size: 23px;
    background-color: #ffffff;
    border: 1px solid #1b78bd;
    color: #1b78bd;
    border-radius: 7px;
    margin-bottom: 2px;
}

    .btnFacturitaLight:hover {
        background-color: #1b78bd;
        color: white;
        border: 1px solid #1b78bd;
    }

.btnFacturitaOrange {
    width: 45px;
    height: 32px;
    font-size: 23px;
    background-color: #ffc107;
    border: #ffc107;
    color: white;
    border-radius: 7px;
    margin-bottom: 2px;
}

    .btnFacturitaOrange:hover {
        background-color: #e5ae08;
    }

.btnFacturitaEdicion {
    height: 32px;
    background-color: #ffffff;
    border: 1px solid #1b78bd;
    color: #1b78bd;
    border-radius: 7px;
    margin-bottom: 2px;
}

    .btnFacturitaEdicion:hover {
        background-color: #1b78bd;
        color: white;
        border: 1px solid white;
    }

.btnFacturitaCancelEdicion {
    height: 32px;
    background-color: #c0c0c0;
    border: 1px solid #c0c0c0;
    color: black;
    border-radius: 7px;
    margin-bottom: 2px;
}

    .btnFacturitaCancelEdicion:hover {
        background-color: #f5f5f5;
        color: black;
        border: 1px solid black;
    }

.btnFacturitaRose {
    height: 32px;
    font-size: 14px;
    background-color: #ee4b82;
    border: #ee4b82;
    color: white;
    border-radius: 7px;
    margin-bottom: 2px;
    display:flex;
}

    .btnFacturitaRose:hover {
        background-color: #bd0845;
    }

/************** Estilos para las Cajas ****************/
.card {
    width: 100%;
    height: 100%;
}

.btnAccion {
    color: black;
    border: 1px solid silver;
    margin-left: -7px;
}

    .btnAccion:hover {
        background-color: silver;
        border: 1px solid silver;
    }

.menu-acciones {
    padding-top: 1px;
    padding-bottom: 1px;
    right: 29.5px;
    top: -1px;
    position: absolute;
    z-index: 1 !important;
}

.menu-acciones-ordenes {
    padding-top: 1px;
    padding-bottom: 1px;
    right: 0;
}

/* ====================================================================
   RowActionsMenu — menu moderno de acciones por fila/item
   Reemplaza el dropdown legacy basado en data-toggle (Bootstrap jQuery).
   ==================================================================== */

.ram-wrapper {
    position: relative;
    display: inline-block;
}

.ram-trigger {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #555;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    font-size: 14px;
    line-height: 1;
}

    .ram-trigger:hover {
        background: var(--primario, #1E88E5);
        border-color: var(--primario, #1E88E5);
        color: #fff;
        transform: scale(1.05);
    }

    .ram-trigger:active {
        transform: scale(0.95);
    }

.ram-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: transparent;
}

.ram-menu {
    position: absolute;
    top: calc(100% + 6px);
    z-index: 1051;
    min-width: 200px;
    max-width: 260px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
    padding: 6px;
    animation: ram-slide-in 0.15s ease-out;
}

.ram-menu--right {
    right: 0;
}

.ram-menu--left {
    left: 0;
}

@keyframes ram-slide-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ram-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    background: transparent;
    text-align: left;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.1s ease, color 0.1s ease;
}

    .ram-item:hover {
        background: #f1f5f9;
        color: var(--primario, #1E88E5);
    }

.ram-item--destructive {
    color: #c62828;
}

    .ram-item--destructive:hover {
        background: #fff0f0;
        color: #b71c1c;
    }

.ram-item .ram-item-icon {
    width: 18px;
    text-align: center;
    font-size: 14px;
    opacity: 0.85;
}

.ram-item .ram-item-label {
    flex: 1;
}

.ram-divider {
    height: 1px;
    background: #eef0f3;
    margin: 4px 6px;
}

/* ====================================================================
   Tabla moderna reutilizable — clase .tbl-modern
   Aplica: sticky header, filas zebra, hover destacado, badges semanticos.
   Uso: <table class="table tbl-modern">
   ==================================================================== */

.tbl-modern {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

    /* Background al thead completo (no solo al th) — algunos browsers
       muestran un gap entre thead y tbody si solo el th tiene background */
    .tbl-modern thead {
        background: var(--primario, #1E88E5);
    }

    /* Header sticky con color del tema (--primario)
   z-index alto (100) para garantizar que tape filas que pasan por detras al scrollear.
   top:0 para pegarse al top del scroll container (.scrool-detalle).
   background-clip:padding-box evita que el background se corte por borders. */
    .tbl-modern thead th {
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--primario, #1E88E5) !important;
        background-clip: padding-box;
        color: #fff !important;
        font-weight: 600;
        font-size: 12px;
        letter-spacing: 0.3px;
        text-transform: uppercase;
        padding: 12px 14px !important;
        border: 0 !important;
        white-space: nowrap;
        vertical-align: middle;
        box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    }

    /* Asegurar que las filas del tbody NO tengan position que cree contexto z-index sobre el thead */
    .tbl-modern tbody tr {
        position: static;
    }

        /* Override de bordes laterales que agrega EncabezadoGrid */
        .tbl-modern thead th.border-left,
        .tbl-modern thead th.border-right {
            border: 0 !important;
        }

        /* Esquinas redondeadas en primera/ultima columna */
        .tbl-modern thead tr th:first-child {
            border-top-left-radius: 8px;
        }
        .tbl-modern thead tr th:last-child {
            border-top-right-radius: 8px;
        }

        /* Sombra debajo del header al hacer scroll */
        .tbl-modern thead th::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -4px;
            height: 4px;
            background: linear-gradient(180deg, rgba(0,0,0,0.08), transparent);
            pointer-events: none;
        }

        /* El icono de buscar dentro del header (filtros) */
        .tbl-modern thead th .fa-search {
            color: #fff;
            opacity: 0.85;
        }
        .tbl-modern thead th input.form-control {
            background: rgba(255,255,255,0.15);
            border: 1px solid rgba(255,255,255,0.3);
            color: #fff;
        }
        .tbl-modern thead th input.form-control::placeholder {
            color: rgba(255,255,255,0.7);
        }

    /* Columna de acciones (la ultima) — tener un ancho minimo para que no colapse */
    .tbl-modern thead tr th:last-child,
    .tbl-modern tbody tr td:last-child {
        width: 56px;
        min-width: 56px;
        text-align: center;
    }

    /* Filas zebra */
    .tbl-modern tbody tr {
        background: #fff;
        transition: background 0.12s ease;
    }

        .tbl-modern tbody tr:nth-child(even) {
            background: #fafbfc;
        }

        /* Hover destacado — toda la fila */
        .tbl-modern tbody tr:hover {
            background: #e8f3ff !important;
        }

        .tbl-modern tbody tr:hover td {
            color: #0d47a1;
        }

    /* Celdas: padding generoso, alineacion vertical centrada */
    .tbl-modern tbody td {
        padding: 9px 12px !important;
        font-size: 13px;
        color: #333;
        border: 0 !important;
        border-bottom: 1px solid #f0f2f5 !important;
        vertical-align: middle;
    }

/* Truncate con ellipsis (usar en celdas con texto largo).
   El parent <td> debe tener un width definido o el contenido debe estar en un div con max-width. */
.tbl-cell-trunc {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

/* ====================================================================
   Badges semanticos — para mostrar valores con contexto visual
   ==================================================================== */

.badge-stat {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    min-width: 48px;
    text-align: center;
}

    /* Verde: bueno (margen alto, stock alto) */
    .badge-stat.badge-stat--good {
        background: #d1fae5;
        color: #065f46;
    }

    /* Amarillo: precaucion (margen bajo, stock bajo) */
    .badge-stat.badge-stat--warn {
        background: #fef3c7;
        color: #92400e;
    }

    /* Rojo: critico (margen negativo, sin stock) */
    .badge-stat.badge-stat--bad {
        background: #fee2e2;
        color: #991b1b;
    }

    /* Gris: neutro / sin datos (margen 0%, stock 0 sin movimiento) */
    .badge-stat.badge-stat--neutral {
        background: #f1f5f9;
        color: #64748b;
    }

    /* Azul: info (margen normal/medio) */
    .badge-stat.badge-stat--info {
        background: #dbeafe;
        color: #1e40af;
    }

/* Texto monetario alineado a derecha en tablas */
.tbl-money {
    font-variant-numeric: tabular-nums;
    text-align: right !important;
    font-weight: 500;
}

/* ====================================================================
   Formulario de Producto — diseño moderno con secciones tipo card
   ==================================================================== */

.prod-form-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 12px;
    /* Permitir scroll vertical del formulario completo. El padre suele ser
       un div con height:100%; aprovechamos para hacer scroll interno. */
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

    /* Scrollbar mas delgado y discreto */
    .prod-form-container::-webkit-scrollbar {
        width: 8px;
    }
    .prod-form-container::-webkit-scrollbar-thumb {
        background-color: #cbd5e1;
        border-radius: 4px;
    }
    .prod-form-container::-webkit-scrollbar-thumb:hover {
        background-color: #94a3b8;
    }
    .prod-form-container::-webkit-scrollbar-track {
        background-color: transparent;
    }

/* Header sticky con titulo + acciones */
.prod-form-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 0 14px 0;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.prod-form-header-left,
.prod-form-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.prod-form-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .prod-form-title i {
        color: var(--primario, #1E88E5);
    }

.prod-estado-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
}

.prod-estado-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

.prod-estado-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 10px;
}

    .prod-estado-badge.estado-activo {
        background: #d1fae5;
        color: #065f46;
    }

    .prod-estado-badge.estado-inactivo {
        background: #fee2e2;
        color: #991b1b;
    }

/* Cuerpo: stack de secciones */
.prod-form-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 24px;
}

/* Card de seccion */
.prod-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.15s ease;
}

    .prod-card:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }

.prod-card-title {
    padding: 12px 18px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

    .prod-card-title i {
        color: var(--primario, #1E88E5);
        font-size: 15px;
    }

.prod-card-body {
    padding: 18px;
}

/* Labels de campo */
.prod-label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
}

/* Inputs (sobre Bootstrap) */
.prod-card-body .form-control,
.prod-card-body .form-select {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    transition: border-color 0.1s ease, box-shadow 0.1s ease;
}

    .prod-card-body .form-control:focus,
    .prod-card-body .form-select:focus {
        border-color: var(--primario, #1E88E5);
        box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
    }

/* Toggles (form-switch) — estilo grande y claro */
.prod-card-body .form-check.form-switch {
    padding-left: 2.6em;
    margin-bottom: 0;
    min-height: 32px;
    display: flex;
    align-items: center;
}

    .prod-card-body .form-check.form-switch .form-check-input {
        width: 2.2em;
        height: 1.2em;
        margin-left: -2.6em;
        cursor: pointer;
    }

        .prod-card-body .form-check.form-switch .form-check-input:checked {
            background-color: var(--primario, #1E88E5);
            border-color: var(--primario, #1E88E5);
        }

    .prod-card-body .form-check-label {
        font-size: 13px;
        color: #374151;
        cursor: pointer;
        line-height: 1.3;
    }

/* Preview de imagen */
.prod-img-preview-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-img-preview {
    max-height: 200px;
    max-width: 100%;
    border-radius: 8px;
    border: 1px dashed #d1d5db;
    padding: 6px;
    background: #fafbfc;
    object-fit: contain;
}

/* Mobile: padding reducido */
@media (max-width: 768px) {
    .prod-card-body {
        padding: 14px;
    }

    .prod-form-header {
        padding: 10px 0;
    }

    .prod-form-title {
        font-size: 16px;
    }
}

/************** Estilos para el Punto de Venta ****************/
.contenedorPV{

}

.botonestopizq {
    min-height: 38px;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
    display: flex;
}

    .botonestopizq i {
        vertical-align: top;
    }

.botonestopder {
    min-height: 38px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    display:flex;
}

    .botonestopder i {
        vertical-align: top;
    }


.contenedor-detalle {
    height: calc(100% - 40px);
}

.body-detalle {
    background-color: white;
    border: 1px solid #dfdfdf;
    font-size: 13px;
    width: 100%;
    margin-bottom: 5px;
    overflow-x: hidden;
    overflow-y: auto;
}

/* ========== ScroolBar Detalle - Productos ==========*/
    .scrool-detalle {
    overflow-y: auto; /* Habilita la barra de desplazamiento horizontal */
    /*white-space: nowrap;*/ /* Evita que el contenido se ajuste automáticamente */
}

    /* Estilos de la barra de desplazamiento */
    .scrool-detalle::-webkit-scrollbar {
        width: 6px; /* Establece la altura de la barra de desplazamiento */
    }

    .scrool-detalle::-webkit-scrollbar-thumb {
        background-color: silver; /* Color del pulgar de la barra de desplazamiento */
    }

    .scrool-detalle::-webkit-scrollbar-track {
        background-color: #f1f1f1; /* Color de la pista de la barra de desplazamiento */
    }

.scrool-detalle-x {
    overflow-x: auto; /* Habilita la barra de desplazamiento horizontal */
    /*white-space: nowrap;*/ /* Evita que el contenido se ajuste automáticamente */
}

    /* Estilos de la barra de desplazamiento */
    .scrool-detalle-x::-webkit-scrollbar {
        height: 7px; /* Establece la altura de la barra de desplazamiento */
    }

    .scrool-detalle-x::-webkit-scrollbar-thumb {
        background-color: silver; /* Color del pulgar de la barra de desplazamiento */
    }

    .scrool-detalle-x::-webkit-scrollbar-track {
        background-color: #f1f1f1; /* Color de la pista de la barra de desplazamiento */
    }

.producto-item {
    border-bottom: 1px solid #e3dede;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 13px;
    width: 100%;
    justify-content: space-between;
    padding-top: 3px;
    cursor: pointer;
}

/*.producto-item:hover {
        background-color: var(--primario);
    }*/

.producto-und-imp {
    display: flex;
    justify-content: space-between;
    color: #414141;
}

.producto-imp {
    color: #0189FA;
    font-weight:bold;
}

.select-imp {
    color: black !important;
}

.seleccionfila {
    background-color: #e6f2f3;
    color: black !important;
    border: 1px solid #017e84;
    border-radius: 5px;
}

.botonesAT{
    padding:1px 5px 0 5px ;
}

.classBotonTotal {
    margin-bottom: 7px;
    width: 100%;
    font-size: 15px;
    height:45px;
}

.classBotonCliente {
    margin-top: -15px;
    margin-bottom: -8px;
    width: 100%;
    text-align: left;
    font-size: 15px;
}

.classBotonBottom {
    width: 100%;
    text-align: center;
    font-size:15px;
}

.classBotonMax {
    width: 100%;
    text-align: center;
    font-size: 15px;
}

    .classBotonMax i {
        font-size: 18px;
        vertical-align: middle;
    }

.label-text-totales{
    margin-top:5px;
}

.color-total {
    font-size: 19px;
    color: #48c517;
}

.label-totales {
    margin-top: 5px;
    text-align:right;
}

.totales {
    font-weight: bold;
    font-size: 13px;
    display: flex;
    padding: 4px 10px;
    width: 100%;
}

    .totales input {
        margin-top: -10px;
        margin-bottom: -10px;
        margin-left: 6px;
        text-align: right;
        padding-right: 5px;
    }

/************** Categorias ****************/
.menu-container {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Para un desplazamiento suave en dispositivos iOS */
    scrollbar-width: auto; /* Para ocultar la barra de scroll en navegadores que la soportan */
    -ms-overflow-style: none; /* Para ocultar la barra de scroll en navegadores que la soportan */
}

.menu-item {
    white-space: nowrap; /* Evita que los elementos se envuelvan a la siguiente línea */
}

.categorias {
    display: flex;
    font-weight: bold;
    font-size: 13px;
    min-height: 40px;
    width: 100%;
    padding-left: 5px;
}

.nav-link2 {
    display: block;
    padding: 0.5rem 1rem;
    color: #0d6efd;
    text-decoration: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

.nav-item-color {
    color: #fff;
    background-color: var(--secundario);
}

    .nav-item-color:hover {
        color: white;
        background-color: var(--hoversecundario);
    }

.active {
    background-color: var(--primario);
}

/* ========== ScroolBar Categorías ==========*/
.scrool-categorias {
    overflow-x: auto; /* Habilita la barra de desplazamiento horizontal */
    white-space: nowrap; /* Evita que el contenido se ajuste automáticamente */
}

    /* Estilos de la barra de desplazamiento */
    .scrool-categorias::-webkit-scrollbar {
        height: 4px; /* Establece la altura de la barra de desplazamiento */
    }

    .scrool-categorias::-webkit-scrollbar-thumb {
        background-color: silver; /* Color del pulgar de la barra de desplazamiento */
    }

    .scrool-categorias::-webkit-scrollbar-track {
        background-color: #f1f1f1; /* Color de la pista de la barra de desplazamiento */
    }

/************** Salones ****************/
.menu-container-salon {
    display: flex;
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch; /* Para un desplazamiento suave en dispositivos iOS */
    scrollbar-width: none; /* Para ocultar la barra de scroll en navegadores que la soportan */
    -ms-overflow-style: none; /* Para ocultar la barra de scroll en navegadores que la soportan */
}

.menu-item-salon {
    white-space: nowrap; /* Evita que los elementos se envuelvan a la siguiente línea */
}

.salones {
    display: flex;
    font-size:18px;
    width: 95%;
}

.nav-item-color-salon {
    color: #1378BC;
    background-color: white;
}

.activeSalon {
    color: white !important;
    background-color: #1378BC !important;
}

/* ========== ScroolBar Salones ==========*/
.scrool-salones {
    overflow-x: auto; /* Habilita la barra de desplazamiento horizontal */
    white-space: nowrap; /* Evita que el contenido se ajuste automáticamente */
}

    /* Estilos de la barra de desplazamiento */
    .scrool-salones::-webkit-scrollbar {
        height: 4px; /* Establece la altura de la barra de desplazamiento */
    }

    .scrool-salones::-webkit-scrollbar-thumb {
        background-color: silver; /* Color del pulgar de la barra de desplazamiento */
    }

    .scrool-salones::-webkit-scrollbar-track {
        background-color: #f1f1f1; /* Color de la pista de la barra de desplazamiento */
    }

/************** Productos ****************/
.productos-contenedor {
    padding-left: 5px;
    padding-right: 0;
    margin-top: 5px;
    height: calc(100% - 125px);
    overflow-y: auto;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    /*grid-template-columns: repeat(auto-fill, 275px);
    justify-content: space-between;*/
}

.productPos {
    height: 122px;
    background: #fff;
    border: 0.1rem solid rgb(178 178 178 / 72%);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    padding-left: 0;
    padding-right: 3px;
    box-shadow: 1px 2px 5px rgba(0,0,0,.1);
    position:relative;
}

    .productPos:hover {
    }

.producto-img-container {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .producto-img-container img {
        display: block;
    }

.producto-name {
    font-weight: bold;
    font-size: 10.5px;
    margin-top: 1px;
    line-height: normal;
    white-space: normal;
}

.row-preciofav {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.producto-precio {
    font-weight: bold;
    font-size: 12px;
    border-radius: 2px;
    color: #1378bc;
    padding: 1px 4px 1px 5px;
}

.producto-favorito {
    padding-left: 5px;
    color: orange;
    font-size: 16px;
}

.producto-name-bottom {
    position: absolute;
    bottom: 8px;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 5px 0 5px;
}

/*** Animación para agregar el producto (Phone) ***/
.add-prod-animation {
    animation: addcarrito 1s;
}

@keyframes addcarrito {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    100% {
        transform: translateY(80vh) translateX(0) scale(0.4);
        opacity: 1;
    }
}

.add-prod-animation-izquierda {
    animation: addcarritoizq 0.4s;
}

@keyframes addcarritoizq {
    from {
        transform: translateX(0) scale(1);
        opacity: 0;
    }

    to {
        transform: translateX(-120vh) scale(0.4);
        opacity: 1;
    }
}

/************** Paginación ****************/
.contenedor-pag {
    padding-left: 5px;
    padding-right: 0;
}

.contenedor-group {
    display: flex;
    justify-content: space-between;
    border: 1px solid #c9c9c9;
    padding: 3px;
    border-radius: 3px;
    position: relative;
}

.pagination {
    display: flex;
    justify-content: right;
}

    .pagination span {
        margin: 0 2px;
        padding: 4px 8px;
        font-size: 14px;
        text-decoration: none;
        border: 1px solid #ccc;
        color: #7f7d7d;
        border-radius: 3px;
        font-weight: bold;
        cursor:pointer;
    }
        .pagination span:hover {
            background-color: #0189fa;
            color: white;
        }

    .pagination .previous,
    .pagination .next {
        color: #0189fa;
    }

    .pagination i {
        font-weight: bold;
        font-size: 14px;
    }

.registros {
    font-size: 13.5px;
    font-weight: bold;
    color: #595656;
    margin-top: 7px;
    padding-left:7px;
}

/************** Estilos para Tablas ****************/
.redondear {
    border-radius: 12px;
}

.table {
    border-collapse: separate;
    border-spacing: 0;
}

    .table thead th {
        background-color: var(--secundario);
        padding: 0.3rem 0.2rem 0.4rem 0.2rem;
        white-space: nowrap;
        overflow: hidden;
        border-bottom: none !important;
        top: 35px;
        color: white;
    }

    .table td {
        
    }

    .table tfoot {
        background-color: #e6ecef;
        color: #0189fa;
    }

.cardnew-sf {
    height: 100%;
    margin-bottom: 0px !important;
    border-radius: 12px;
}

.cardnew-cf {
    height: 100%;
    margin-bottom: 0px !important;
    padding-bottom: 50px;
}

.sftabla {
    margin-bottom: 0rem !important;
    height: 100%;
}

.headfijodosfilas {
    top: 0;
    position: sticky;
    z-index: 100;
    font-size: 14px;
}

.footfijodosfilas {
    position: sticky !important;
    bottom: 0px;
    background-color: white;
}

.sfcardfooter {
    position: absolute;
    bottom: 0;
    background-color: white;
    height: 50px;
    width: 100%;
}

.seleccionfilatable {
    background-color: #FAE288;
    color: black !important;
}

.table > :not(:last-child) > :last-child > * {
    border-bottom-color: white;
}

/************** Estilos para Modales ****************/
.modal {
    position:absolute;
}

.modal-header{
    padding:10px;
}

.modal-body {
    padding: 15px;
}

.modal-footer {
    padding: 5px;
}

.close {
    border: 1px solid silver;
    border-radius: 4px;
    font-size: 16px;
    padding-top: 0;
    padding-bottom: 0;
    font-weight: bold;
}

    .close:hover {
        background-color: #dfdddd;
    }

.msjeError {
    font-size: 13.5px;
    font-weight: bold;
    background-color: #fda400;
    padding: 10px;
}

/************** Estilo Modal Tipo Documento ****************/

.card-doc {
    margin-bottom: 7px;
    margin-right: 4px;
    margin-left: 4px !important;
    height: 100px;
    width: 148px;
    border-radius: 5px !important;
}

.cont-name-serie {
    padding: 2px;
    font-weight: bold;
    font-size: 15px;
}

/************** Estilo de MultiPago ****************/
.contenedor-MP {
    margin-top: 12px;
}

.buttonformaspago {
    font-size: 18px;
    text-align: center;
    width: 100%;
    height: 57px;
    border: solid 1px #e5d7cc;
    border-radius: 10px;
    background-color: white;
    box-shadow: 1px 1px 1px 1px #e6e6e6;
}

    .buttonformaspago:hover {
        background-color: var(--primario) !important;
        color:white !important;
    }

.botonesMP {
    display: flex;
    justify-content: end;
}

@media only screen and (max-width: 700px) {
    .botonesMP {
        justify-content:center;
        margin-top:15px;
    }
}

.rowpvMP {
    margin-left: 0;
    margin-right: 0;
    padding-left: 10px;
    padding-right: 10px;
}

.card-oper {
    padding: 6px;
    margin-bottom: 11px;
    height: 56px;
    background-color: white;
    border: solid 1px rgb(206 212 218);
    border-radius: 4px;
}

.card-nom-ope {
    margin-top: 5px;
    font-weight: bold;
}

.card-nro-ope {
    text-align: center;
    margin-top: -7px;
    font-size: 15px;
    color: #0ca503;
    margin-right: 70px;
}

.input-ope {
    text-align: right;
    border: 0;
    font-weight: bold;
}

.span-quitar-ope {
    font-size: 25px;
    margin-left: 30%;
    cursor: pointer;
    color: #0060ed;
}

.span-quitar-cliente {
    color: white;
    margin-left: 0;
    position: absolute;
    right: 25px;
    font-size: 25px;
    margin-top: -2px;
    cursor:pointer;
}

.row-monedas {
    margin-bottom: 7px;
    display: flex;
    text-align: right;
}

.estilo-total {
    color: #0d6efd;
    text-align: right;
    font-weight: bold;
}

.estilo-saldo {
    color: #f0822b;
    text-align: right;
}

.btn-moneda {
    font-weight: bold;
    height: 37px;
    width: 80%;
    font-size: 16px;
    background-color: #c3bfbf !important;
    border: #c3bfbf;
    border-radius: 4px;
}

    .btn-moneda:hover {
        background-color: #a3a0a0 !important;
        border: #a3a0a0;
    }

@media only screen and (max-width: 850px) {
    .btn-moneda {
        font-size: 13px;
    }
}

/******* Estilos para la parte de Caja ********/
.contenedor-IE {
    margin-top: 10px;
    border: 1px solid #d3d2d2;
    border-radius: 10px;
    padding: 10px;
}

.nav-IE {
    justify-content: center;
    border-bottom: 0;
    margin-bottom: 7px;
    font-weight: bold;
}

.nav-IE-item {
    border: 1px solid #cbc8c8;
    border-radius: 5px;
}

.tag-caja-active {
    background-color: #f5f5f5 !important;
    color: #1b78bd !important;
    font-weight: bold;
    border-bottom: 2px solid #1b78bd !important;
}

/***** Historial de Ventas ******/
.card-contenedor {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.detalle-anulado {
    font-weight: bold;
    color: red;
    font-size: 14px;
    margin-top: 15px;
    padding-right: 4px;
}

.detalle-card-doc {
    position: initial;
    display: grid;
    text-align: center;
    border: 1px solid #0189fa;
    border-radius: 10px;
    font-weight: bold;
}

.title-formapago {
    font-size: 12px;
    font-weight: bold;
    background-color: #1b78bd;
    color: white;
    padding: 2px;
    padding-left: 7px;
}

.detalle-formapago {
    font-size: 12px;
    font-weight: bold;
    top: 5px;
    position: relative;
}

.col-totales {
    text-align: right;
    font-weight: bold;
    font-size: 12px
}

/****** Selección Multiple *******/
.col-title-cab {
    text-align: center;
    padding: 5px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
    background-color: var(--primario);
    color: white;
}

.col-grupokit {
    margin-bottom: 5px;
    font-size: 14px;
    background-color: #f27474f0;
    color: white;
    padding: 5px;
    font-weight:bold;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1), 0 -3px 0 rgba(0, 0, 0, 0.1) inset;
}

/****** Estilos para el listado de Ordenes ******/
.card-body-sel {
    padding: 10px;
    border-radius: 5px;
    box-shadow: 1px 1px silver;
}

    .card-body-sel:hover {
        background-color: #e3e3e3;
        cursor:pointer;
    }

/****** Estilos del DateTimePicker de Radzen ******/
.rz-calendar .rz-inputtext {
    height: 30px !important;
    max-width: 135px !important;
}

.rz-datepicker-trigger .rzi-calendar {
    font-size: 20px !important;
    position: initial !important;
}

.rz-spinner {
    display: inline-block !important;
    position: relative !important;
    padding: 0px !important;
    height: 30px !important;
}

.rz-event-content {
    cursor: pointer !important;
    background-color: #420b18 !important;
}

.rz-view-header {
    background-color: #ced1d0 !important;
    font-weight: bold !important;
}

.rz-colorpicker-value {
    display: none !important;
}

/****** Estilos para la carga de datos del POS ******/
.progress {
    background-color: white;
    height: 2rem;
    font-size: 1rem;
    border-radius: 0.75rem;
}

.contenedor-progress {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.texto-cargando {
    font-weight: bold;
    color: white;
    text-align: center;
}
.progress-bar {
    background-color: #F5A227 !important;
}
.fondocarga {
    height: 100%;
    background-color: #244f7c;
}

/******* Importar Productos ********/
/* ESTILO DEL DIV QUE CONTENTRÁ EL INPUT */
.upload-btn-wrapper {
    position: relative;
    display: inline-block;
}
    /* ESTILO DEL INPUT*/
    .upload-btn-wrapper input[type=file] {
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
    }
/* ESTILO DEL BOTÓN */
.boton-standar-rw {
    background-color: white;
    color: rgb(62 169 245);
    border-radius: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 15px;
    border: 2px solid rgb(62 169 247);
    transition: all 0.3s ease 0s;
    padding: 8.5px;
    top: 1.2px;
    position: relative;
}
    /* ESTILO DEL BOTÓN CON HOVER DE MOUSE */
    .boton-standar-rw:hover {
        /*color: white;
        background-color: rgb(62 169 247);*/
    }

/***** Modal de Cuotas *****/
.footer-cuota {
    height: 35px;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    border-radius: 0 0 12px 12px !important;
    color: var(--secundario);
    margin-left: 1px;
    position: relative;
}

#spinner-container-modal {
    display: none; /* Oculta el spinner por defecto */
}

.spinner-style-container-modal {
    min-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

/**** Badges ****/

.badge-success {
    background-color: #2ca444 !important;
    color: white;
}

.badge-primary {
    background-color: var(--primario) !important;
    color: white;
}

.badge-secondary {
    background-color: #8f8f8f !important;
    color: white;
}

.badge-warning {
    background-color: #ffaa0f !important;
    color: white;
}

.badge-danger {
    background-color: #ed4040 !important;
    color: white;
}

.badge-info {
    background-color: #2ecded !important;
    color: white;
}

.badge-light {
    background-color: white !important;
    color: #555454;
    border: 1px solid #4b4949;
    padding: 4px 6px 2px 6px;
}

/***** ESTILOS PARA EL MONITOS DE COCINA *****/

.contenedor-cocina {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.card-comand-cocina {
    color: black;
    font-weight: bold;
    height: 300px;
    background-color: white;
    border: 1px solid #5f5c5c;
    border-radius: 20px;
    border-style: solid;
}

.cab-card-cocina {
    padding: 15px;
    height: 50px;
    color: black;
    font-size: 18px;
    position: relative;
    margin-left: -13px;
    margin-top: -1px;
    width: calc(100% - -26px);
    display: flex;
    border-radius: 20px 20px 0 0;
    justify-content: space-between;
}

.hora-card-cocina {
    margin-top:10px;
    margin-bottom: 7px;
    display: flex;
    justify-content: space-between;
}

.detproducto-card-cocina {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #dbd7d7;
    cursor: pointer;
}

.title-card-cocina {
    display: flex;
    justify-content: space-between;
}

/***** Clases para items de modal ******/
.button-close {
    height: 35px;
    width: 35px;
    background-color: #E47C21;
}

.span-close {
    font-size: 37px;
    position: relative;
    top: -10px;
    color: white;
}

.modal-footer-new {
    padding: 10px;
    border-top: 1px solid #dee2e6
}

/***** Monitor de Alquiler *****/
.contenedor-alquiler {
    justify-content: center;
    gap: 30px;
}

.card-comand-alquiler {
    color: black;
    font-weight: bold;
    background-color: white;
    border-radius: 15px;
    box-shadow: 2px 3px 11px 0px #e5e1e1;
    padding: 0 10px 0 10px;
}

.seccion-left{
    align-items: center;
    display: flex;
    justify-content: center;
}

.seccion-right {
    align-items: center;
    display: grid;
    justify-content: center;
}

.title-card-alquiler {
    display: flex;
    justify-content: space-between;
}

.panel-alquiler {
    font-weight: bold;
    width: 100%;
    border: none;
    box-shadow: none;
    color: #172733 !important;
    background-color: #c1cad9;
}

    .panel-alquiler:hover {
        color: #172733 !important;
        background-color: #9fa9b9;
    }


.panel-alquiler-active {
    font-weight: bold;
    width: 100%;
    border: none;
    box-shadow: none;
    color: white !important;
    background-color: #476798;
}

    .panel-alquiler-active:hover {
        color: white !important;
        background-color: #2f558f;
    }

/***** Botones de Alquiler *****/

.btnAlqValidar {
    background-color: #fa6400;
    border: #fa6400;
    color: white;
    border-radius: 8px;
}

    .btnAlqValidar:hover {
        background-color: #d55703;
    }

.btnIniciar {
    background-color: #0078d0;
    border: 0;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: system-ui,-apple-system,system-ui,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",sans-serif;
    font-weight: 600;
    outline: 0;
    padding: 10px 18px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: all .3s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

    .btnIniciar:before {
        background-color: initial;
        background-image: linear-gradient(#fff 0, rgba(255, 255, 255, 0) 100%);
        border-radius: 125px;
        content: "";
        height: 50%;
        left: 4%;
        opacity: .5;
        position: absolute;
        top: 0;
        transition: all .3s;
        width: 92%;
    }

    .btnIniciar:hover {
        box-shadow: rgba(255, 255, 255, .2) 0 3px 15px inset, rgba(0, 0, 0, .1) 0 3px 5px, rgba(0, 0, 0, .1) 0 10px 13px;
        transform: scale(1.05);
    }

@media (min-width: 850px) {
    .btnIniciar {
        /*padding: 16px 48px;*/
    }
}

.span-count-items {
    vertical-align: super;
    font-size: 11px;
    border-radius: 50%;
    height: 21px;
    width: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -4px;
    position: relative;
    top: -4px !important;
}

/***** Estilos para llegada de pedidos *****/
.panel-llegada {
    font-weight: bold;
    width: 100%;
    color: #172733 !important;
    background-color: #ffffff;
    border: 1px solid #dfdfdf;
}

    .panel-llegada:hover {
        background-color: #1cc7570f;
    }

.panel-llegada-active {
    font-weight: bold;
    width: 100%;
    border: none;
    color: #172733 !important;
    border: 1px solid #1aab37;
    background-color: #1cc7570f;
}

    .panel-llegada-active:hover {
        /*background-color: #ffffff;*/
    }

.panelFiltroTotal {
    margin-left: 0;
    margin-right: 0;
    background-color: white;
    box-shadow: 0px 0px 2px #c5c5c5;
    border-radius: 10px 10px 0 0;
    padding: 9px 0 9px 0;
}

.col-total {
    color: #8d8d8d;
    text-align: right;
    font-weight: bold;
    padding-top: 5px;
}

.label-total {
    color: #024ab5;
    font-size: 20px
}

/***** Estilo para el check *****/
.custom-checkbox {
    display: none;
}

.custom-label {
    position: relative;
    padding-left: 22px;
    cursor: pointer;
    user-select: none;
}

    .custom-label::before {
        content: "";
        position: absolute;
        left: 0;
        top: 1px;
        width: 16px;
        height: 16px;
        border: 2px solid #ccc;
        border-radius: 3px;
        background-color: white;
    }

.custom-checkbox:checked + .custom-label::before {
    background-color: #dc243e; /* color al estar checkeado */
    border-color: #dc243e;
}

.custom-checkbox:checked + .custom-label::after {
    content: "✔";
    position: absolute;
    left: 3px;
    top: -1px;
    color: white;
    font-size: 13px;
}

/***** Estilo para las notificaciones *****/
.notification-container {
    position: relative;
    display: inline-block;
}

.notification-icon {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.notification-modal {
    position: absolute;
    top: 45px;
    right: 310px;
    /* Por ENCIMA del overlay transparente de "cerrar al hacer click fuera" (z-index 1050 en
       .perfil-overlay); si no, el overlay taparia la bandeja y el boton "Ver" no seria clicable. */
    z-index: 1051;
    max-height: 0;
    max-width: 350px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.5s ease, max-height 0.4s ease;
}

.opacity {
    opacity: 1;
    transform: translateY(0);
    max-height: 500px !important;
}

.modal-header-notif {
    background-color: var(--primario);
    color: white;
    padding: 12px;
    font-weight: bold;
}

.modal-content-notif {
    max-height: 250px;
    overflow-y: auto;
    padding: 12px;
}

.notification-item {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
    align-items: center;
    font-size: 13px;
}

    .notification-item img {
        border-radius: 50%;
        width: 40px;
        height: 40px;
    }

.modal-footer-notif {
    text-align: center;
    padding: 3px;
    background: #ffffff;
}

.hidden {
    display: none;
}

.notif {
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.5s ease, max-height 0.4s ease;
}

@keyframes pulse-zoom {
    0% {
        transform: scale(1) translate(0, 0);
    }

    25% {
        transform: scale(1.02) translate(-1px, -1px);
    }

    50% {
        transform: scale(1.04) translate(1px, 1px);
    }

    75% {
        transform: scale(1.02) translate(-1px, 1px);
    }

    100% {
        transform: scale(1) translate(0, 0);
    }
}

.shake {
    animation: pulse-zoom 0.8s infinite;
}

/***** Notificacion Pedido Externo *****/
.notif-pedido-container {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10005;
    max-width: 380px;
    width: calc(100% - 32px);
    animation: notif-slide-in 0.4s ease;
}

@keyframes notif-slide-in {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.notif-pedido-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    overflow: hidden;
}

.notif-pedido-body {
    padding: 14px 16px;
    cursor: pointer;
}

.notif-pedido-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.notif-pedido-texto {
    flex: 1;
    min-width: 0;
}

.notif-pedido-titulo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.notif-pedido-titulo span:first-child {
    font-weight: 700;
    font-size: 16px;
    color: #1c1c1e;
}

.notif-pedido-cerrar {
    font-size: 24px;
    color: #c7c7cc;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    border-radius: 50%;
    transition: background 0.15s;
}

.notif-pedido-cerrar:hover {
    background: #f2f2f7;
    color: #8e8e93;
}

.notif-pedido-cliente {
    font-size: 13px;
    color: #8e8e93;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-pedido-footer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notif-pedido-badge-pendiente {
    background: #ff9500;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
}

.notif-pedido-badge-web {
    background: #f2f2f7;
    color: #8e8e93;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
}

.notif-pedido-hora {
    font-size: 12px;
    color: #c7c7cc;
    margin-left: auto;
}

.notif-pedido-progress {
    height: 3px;
    background: linear-gradient(90deg, #ff9500, #ffcc02);
    animation: notif-progress 12s linear forwards;
}

@keyframes notif-progress {
    from { width: 100%; }
    to { width: 0%; }
}

/***** Promociones *****/
.estilo-promocion {
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    background: #fdd500;
    box-shadow: -3px 3px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.span-promo {
    position: absolute;
    font-size: 11px;
    font-weight: bold;
    right: 3px;
    color: #4d4d4d;
    font-style: italic;
}

/*.corner-fold {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25px;
    height: 25px;
    z-index: 10;
}

    .corner-fold::before {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 0;
        height: 0;
        border-bottom: 22px solid rebeccapurple;*/ /* Color del fondo (cinta) */
        /*border-left: 22px solid transparent;
        z-index: 1;
    }

    .corner-fold::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 0;
        height: 0;
        background-color: #f56a0c;
        border-bottom: 25px solid white;*/ /* Color de fondo del card */
        /*border-left: 25px solid transparent;
        transform: translate(3px, 3px);*/ /* Simula elevación */
        /*box-shadow: -1px -1px 2px rgba(0, 0, 0, 0.2);*/ /* Simula sombra de doblez */
        /*z-index: 2;
    }*/

/*** MODAL PARA VENTAS CONGELADAS ***/
.card-venta-congelada {
    font-weight: bold;
    font-size: 20px;
    background-color: #dbdbdb;
    padding: 7px 20px 7px 20px;
    border-radius: 7px;
    cursor: pointer;
    text-align: center;
}

    .card-venta-congelada:hover {
        background-color: #bbb9b9;
    }

/***** BOTON SWITCH PARA VISTA DE PRODUCTOS *****/
.view-switch {
    display: inline-flex;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid #adadad;
    margin-left: 7px;
}

.vs-btn {
    width: 50px;
    height: 32px;
    background: #f4f4f4;
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .vs-btn:hover {
        background: #e8e8e8;
    }

    /* 🔵 Botón activo */
    .vs-btn.active {
        background: #cbe6ff;
        color: #004a7f;
    }


/* =====================================================================================
   NOTA: los estilos EXCLUSIVOS del POS (toolbar de productos `.pos-pv2`, chips de
   categoría, card de producto `.pos-card`, carrito vacío, paleta) se MOVIERON a
   `pos-global.css` — la hoja LIMPIA y GLOBAL del POS. Este archivo (MiEstilo.css) es
   legacy y se irá retirando gradualmente.
   ===================================================================================== */
