/* _content/BlazorPos123/Shared/AditionsModal.razor.rz.scp.css */
/* CLASES DE BOOTSTRAP 5 EMULADAS PARA RESPONSIVE Y ESTILO */
.modal[b-ymdwj6cdxb] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    display: none; /* Oculto por defecto */
}

    .modal.show[b-ymdwj6cdxb] {
        display: block; /* Muestra cuando tiene la clase 'show' */
    }

.modal-backdrop.show[b-ymdwj6cdxb] {
    opacity: 0.5;
}

.modal-dialog[b-ymdwj6cdxb] {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    pointer-events: none;
}

.modal-dialog-centered[b-ymdwj6cdxb] {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

.modal-dialog.modal-sm[b-ymdwj6cdxb] {
    max-width: 400px; /* Ancho para modal peque�o */
}

.modal-content[b-ymdwj6cdxb] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    outline: 0;
}

.modal-header[b-ymdwj6cdxb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.5rem - 1px);
    border-top-right-radius: calc(0.5rem - 1px);
}

.modal-title[b-ymdwj6cdxb] {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    color: #333;
}

.btn-close[b-ymdwj6cdxb] {
    padding: 0.5rem 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    background: transparent;
    border: 0;
    opacity: 0.5;
    font-size: 1.5rem;
    cursor: pointer;
}

    .btn-close:hover[b-ymdwj6cdxb] {
        opacity: 1;
    }

.modal-body[b-ymdwj6cdxb] {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer[b-ymdwj6cdxb] {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end; /* Alinea a la derecha */
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.5rem - 1px);
    border-bottom-left-radius: calc(0.5rem - 1px);
    gap: 10px; /* Espacio entre botones */
}

.modal-backdrop[b-ymdwj6cdxb] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0;
    transition: opacity 0.15s linear;
}

/* ESTILOS DE LA TABLA DENTRO DEL MODAL */
.table-adiciones[b-ymdwj6cdxb] {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

    .table-adiciones th[b-ymdwj6cdxb] {
        color: #007bff; /* Color azul para los t�tulos de columna */
        border-bottom: 2px solid #007bff;
        padding: 0.15rem;
        font-size: 1.0rem;
        vertical-align: bottom;
    }

    .table-adiciones td[b-ymdwj6cdxb] {
        padding: 0.15rem 0.2rem;
        vertical-align: middle;
        border-bottom: 1px solid #f0f0f0;
    }

/* Column Widths (Ajustadas para mejor distribuci�n) */
.adicion-col[b-ymdwj6cdxb] {
    width: 40%;
}

.qty-col[b-ymdwj6cdxb] {
    width: 35%;
}

.total-col[b-ymdwj6cdxb] {
    width: 25%;
}


.form-check[b-ymdwj6cdxb] {
    display: flex;
    align-items: center;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: 0;
}

.form-check-input[b-ymdwj6cdxb] {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    margin-right: 0.375em;
    vertical-align: top;
    cursor: pointer;
}

.form-check-label[b-ymdwj6cdxb] {
    cursor: pointer;
    font-size: 0.9rem;
}

/* Control de Cantidad (AJUSTADO PARA 2 D�GITOS) */
.quantity-control-group[b-ymdwj6cdxb] {
    /* Mantenemos el ancho para que la columna no se comprima demasiado */
    max-width: 110px;
    margin: 0 auto;
    /* Usamos flex para controlar el ancho de los elementos internos */
    display: flex;
}
/* Aseguramos que los botones sean de tama�o fijo y m�s peque�os */
.btn-qty-control[b-ymdwj6cdxb] {
    width: 35px;
    padding: 0;
    line-height: 1; /* Ayuda a centrar el texto */
    font-size: 1.2rem;
}

.qty-input-modal[b-ymdwj6cdxb] {
    padding: 0.25rem 0.1rem; /* Reducimos el padding horizontal */
    height: calc(1.5em + 0.5rem + 2px);
    text-align: center;
    /* Permitimos que ocupe el espacio restante dentro del grupo */
    flex-grow: 1;
    min-width: 30px; /* Asegura espacio m�nimo */
}

/* Estilo para la informaci�n de Precio/Total (ALINEACI�N DERECHA FORZADA) */
.adition-total-value[b-ymdwj6cdxb] {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    text-align: right; /* Alineaci�n forzada a la derecha */
}

.adition-price-unit-small[b-ymdwj6cdxb] {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
    text-align: right; /* Alineaci�n forzada a la derecha */
}

/* Botones del Modal */
.btn[b-ymdwj6cdxb] {
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    border: 1px solid transparent;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* Bot�n Aceptar (Azul/Primario) */
.btn-primary[b-ymdwj6cdxb], .btn-accept[b-ymdwj6cdxb] {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

    .btn-primary:hover[b-ymdwj6cdxb], .btn-accept:hover[b-ymdwj6cdxb] {
        background-color: #0056b3;
        border-color: #004085;
    }

/* Bot�n Cancelar (Gris/Secundario) */
.btn-secondary[b-ymdwj6cdxb], .btn-cancel[b-ymdwj6cdxb] {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

    .btn-secondary:hover[b-ymdwj6cdxb], .btn-cancel:hover[b-ymdwj6cdxb] {
        background-color: #5c636a;
        border-color: #565e64;
    }

.btn-outline-secondary[b-ymdwj6cdxb] {
    color: #6c757d;
    border-color: #6c757d;
}

    .btn-outline-secondary:hover[b-ymdwj6cdxb] {
        color: #fff;
        background-color: #6c757d;
    }
/* _content/BlazorPos123/Shared/BuscarClienteModalOld.razor.rz.scp.css */
/* _content/BlazorPos123/Shared/CartList.razor.rz.scp.css */
/* ------------------- ESTILOS DE CARTLIST ------------------- */
.cart-list-container[b-5g10i9msqb] {
    padding: 0 10px;
}

.cart-item[b-5g10i9msqb] {
    /* Esencial para el posicionamiento absoluto del bot�n de eliminar */
    position: relative;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.item-info-row[b-5g10i9msqb] {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* �ndice P1, P2, etc. (El cuadrado verde) */
.item-image-container[b-5g10i9msqb] {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
    background-color: #d4edda; /* Verde claro */
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #155724; /* Verde oscuro */
    font-weight: bold;
    margin-right:10px;
}

.cart-item-image[b-5g10i9msqb] {
    max-width: 65px;
    height: auto;
    width: auto;
    /*object-fit: contain;*/ /* para que la imagen mantenga proporci�n dentro */
}


/* Columna de Detalles */
.item-details[b-5g10i9msqb] {
    flex-grow: 1;
    min-width: 0;
}

.item-name[b-5g10i9msqb] {
    font-weight: 600;
    font-size: 0.95rem;
    color: #343a40;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* Permitir varias l�neas */
    overflow-wrap: break-word;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* M�ximo dos l�neas */
    -webkit-box-orient: vertical;
    line-clamp: 2;
}

/* Controles de Cantidad */
.quantity-controls[b-5g10i9msqb] {
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.btn-qty-control[b-5g10i9msqb] {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    color: #495057;
    padding: 3px 6px;
    font-size: 0.7rem;
    line-height: 1;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    height: 32px!important;
    width: 32px!important;
}

.qty-input[b-5g10i9msqb] {
    width: 60px;
    text-align: center;
    border: 1px solid #ced4da;
    border-left: none;
    border-right: none;
    padding: 3px 0;
    margin-left: 2px;
    margin-right: 2px;
    font-size: 1.0rem;
}

/* Enlace de Adiciones */
.adiciones-link[b-5g10i9msqb] {
    font-size: 0.75rem;
    margin-left: 10px;
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
}

    .adiciones-link.has-adiciones[b-5g10i9msqb] {
        color: #28a745;
        font-weight: 600;
    }

/* Columna de Precios */
.item-price-col[b-5g10i9msqb] {
    flex-shrink: 0;
    width: 60px;
    text-align: right;
    margin-left: auto;
    padding-right: 0;
    padding-top: 25px;
}

.price-total[b-5g10i9msqb] {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.price-unit[b-5g10i9msqb] {
    font-size: 0.75rem;
    color: #6c757d;
    display: block;
}

/* Bot�n de Eliminar (X roja) - POSICI�N CORREGIDA: Arriba del precio */
.btn-remove-absolute[b-5g10i9msqb] {
    position: absolute;
    top: 12px; /* Mantiene la alineaci�n superior */
    right: 10px; /* Pegado a la derecha */
    background: transparent;
    border: none;
    color: #dc3545; /* Rojo */
    font-size: 1rem;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

    .btn-remove-absolute:hover[b-5g10i9msqb] {
        color: #c82333;
    }


/* Resumen de Adiciones */
.adiciones-summary[b-5g10i9msqb] {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 5px;
    margin-bottom: 0;
    padding-left: 45px;
}

/* Fragmento CSS para la seccion de resumen de encabezado del carrito */

.pedido-config-panel[b-5g10i9msqb] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column; /* Apila las l�neas verticalmente */
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    background-color: #f8f9fa;
    position: relative;
}

.config-summary-line[b-5g10i9msqb] {
    display: flex;
    align-items: center;
    width: 100%; /* Ocupa todo el ancho */
    font-size: 0.9rem;
    padding: 2px 0; /* Espacio m�nimo entre l�neas */
}

.config-value-main[b-5g10i9msqb] {
    font-weight: bold;
}

.config-arrow[b-5g10i9msqb] {
    position: absolute; /* Para que quede pegado a la derecha, fuera del flujo flex */
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.takeaway-highlight[b-5g10i9msqb] {
    color: #dc3545; /* Resalta la l�nea "Para Llevar" */
}
/* _content/BlazorPos123/Shared/CategorySlider.razor.rz.scp.css */
/* --- ESTILOS OPTIMIZADOS PARA ANCHO FIJO CON TRUNCAMIENTO --- */

/* Contenedor principal del Slider */
.category-slider-container[b-hy9tp28yj7] {
    width: 100%;
    max-width: 100%;
    height: 100px;
    min-height: 100px;
    /* Aunque el padre ya tiene overflow-x: hidden, lo mantenemos aqu� por si acaso */
    overflow: hidden;
    margin-bottom: 3px;
    padding: 0 5px; /* Ajuste para dar espacio dentro del contenedor */
}

    /* El Wrapper interno de Swiper */
    .category-slider-container .swiper-wrapper[b-hy9tp28yj7] {
        display: flex !important; /* Fuerza el modo flex para los slides */
        box-sizing: content-box !important; /* Evita problemas con el modelo de caja */
        /* margin-top: 10px;  Si ten�as esto en el HTML, qu�talo y usa padding-top en el contenedor si es necesario */
    }


/* Estilo de cada Tarjeta de Categor�a */
.category-slide[b-hy9tp28yj7] {
    min-width: 80px;
    max-width: 100px; /* Ancho fijo entre 80px y 100px */
    height: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin: 0 5px; /* Margen horizontal para separar slides */

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Asegura que el slide respete el ancho fijo */
    flex-shrink: 0;
    flex-grow: 0;
}

    /* Estilo para la tarjeta seleccionada */
    .category-slide.active[b-hy9tp28yj7] {
        /* Resalta el borde y el fondo para indicar que est� activo */
        border: 2px solid dodgerblue;
        background-color: rgba(30, 144, 255, 0.1);
        box-shadow: 0 0 10px rgba(30, 144, 255, 0.4);
    }


/* ... (El resto de tus estilos para .category-img y .category-name est�n correctos para el truncamiento y no necesitan !important) ... */

.category-img[b-hy9tp28yj7] {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .category-img img[b-hy9tp28yj7] {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }

.category-name[b-hy9tp28yj7] {
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Estilos Hover y Active (Opcional, de tu ejemplo) */
.category-slide:hover[b-hy9tp28yj7] {
    border-color: #adb5bd;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.category-slide.active[b-hy9tp28yj7] {
    border: 2px solid dodgerblue;
    background-color: rgba(30, 144, 255, 0.05);
}
/* _content/BlazorPos123/Shared/ConfirmationModal.razor.rz.scp.css */
/* CLASES DE BOOTSTRAP 5 EMULADAS PARA RESPONSIVE Y ESTILO */
.modal[b-m511ey0xfq] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    display: none; /* Oculto por defecto */
}

    .modal.show[b-m511ey0xfq] {
        display: block; /* Muestra cuando tiene la clase 'show' */
    }

.modal-backdrop.show[b-m511ey0xfq] {
    opacity: 0.5;
}

.modal-dialog[b-m511ey0xfq] {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    pointer-events: none;
}

.modal-dialog-centered[b-m511ey0xfq] {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

.modal-dialog.modal-sm[b-m511ey0xfq] {
    max-width: 400px; /* Ancho para modal peque�o */
}

.modal-content[b-m511ey0xfq] {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    outline: 0;
    margin: 10px;
}

.modal-header[b-m511ey0xfq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.5rem - 1px);
    border-top-right-radius: calc(0.5rem - 1px);
}

.modal-title[b-m511ey0xfq] {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    color: #333;
}

.btn-close[b-m511ey0xfq] {
    padding: 0.5rem 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
    background: transparent;
    border: 0;
    opacity: 0.5;
    font-size: 1.5rem;
    cursor: pointer;
}

    .btn-close:hover[b-m511ey0xfq] {
        opacity: 1;
    }

.modal-body[b-m511ey0xfq] {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer[b-m511ey0xfq] {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end; /* Alinea a la derecha */
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.5rem - 1px);
    border-bottom-left-radius: calc(0.5rem - 1px);
    gap: 10px; /* Espacio entre botones */
}

.modal-backdrop[b-m511ey0xfq] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0;
    transition: opacity 0.15s linear;
}

/* ESTILOS DE LA TABLA DENTRO DEL MODAL */
.table-adiciones[b-m511ey0xfq] {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
}

    .table-adiciones th[b-m511ey0xfq] {
        color: #007bff; /* Color azul para los t�tulos de columna */
        border-bottom: 2px solid #007bff;
        padding: 0.5rem;
        font-size: 0.9rem;
        vertical-align: bottom;
    }

    .table-adiciones td[b-m511ey0xfq] {
        padding: 0.75rem 0.5rem;
        vertical-align: middle;
        border-bottom: 1px solid #f0f0f0;
    }

/* Column Widths (Ajustadas para mejor distribuci�n) */
.adicion-col[b-m511ey0xfq] {
    width: 45%;
}

.qty-col[b-m511ey0xfq] {
    width: 30%;
}

.total-col[b-m511ey0xfq] {
    width: 25%;
}


.form-check[b-m511ey0xfq] {
    display: flex;
    align-items: center;
    min-height: 1.5rem;
    padding-left: 1.5em;
    margin-bottom: 0;
}

.form-check-input[b-m511ey0xfq] {
    width: 1em;
    height: 1em;
    margin-top: 0.25em;
    margin-right: 0.375em;
    vertical-align: top;
    cursor: pointer;
}

.form-check-label[b-m511ey0xfq] {
    cursor: pointer;
    font-size: 0.9rem;
}

/* Control de Cantidad (AJUSTADO PARA 2 D�GITOS) */
.quantity-control-group[b-m511ey0xfq] {
    /* Mantenemos el ancho para que la columna no se comprima demasiado */
    max-width: 110px;
    margin: 0 auto;
    /* Usamos flex para controlar el ancho de los elementos internos */
    display: flex;
}
/* Aseguramos que los botones sean de tama�o fijo y m�s peque�os */
.btn-qty-control[b-m511ey0xfq] {
    width: 25px;
    padding: 0;
    line-height: 1; /* Ayuda a centrar el texto */
    font-size: 0.9rem;
}

.qty-input-modal[b-m511ey0xfq] {
    padding: 0.25rem 0.1rem; /* Reducimos el padding horizontal */
    height: calc(1.5em + 0.5rem + 2px);
    text-align: center;
    /* Permitimos que ocupe el espacio restante dentro del grupo */
    flex-grow: 1;
    min-width: 30px; /* Asegura espacio m�nimo */
}

/* Estilo para la informaci�n de Precio/Total (ALINEACI�N DERECHA FORZADA) */
.adition-total-value[b-m511ey0xfq] {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    text-align: right; /* Alineaci�n forzada a la derecha */
}

.adition-price-unit-small[b-m511ey0xfq] {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
    text-align: right; /* Alineaci�n forzada a la derecha */
}

/* Botones del Modal */
.btn[b-m511ey0xfq] {
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    border: 1px solid transparent;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* Bot�n Aceptar (Azul/Primario) */
.btn-primary[b-m511ey0xfq], .btn-accept[b-m511ey0xfq] {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

    .btn-primary:hover[b-m511ey0xfq], .btn-accept:hover[b-m511ey0xfq] {
        background-color: #0056b3;
        border-color: #004085;
    }

/* Bot�n Cancelar (Gris/Secundario) */
.btn-secondary[b-m511ey0xfq], .btn-cancel[b-m511ey0xfq] {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

    .btn-secondary:hover[b-m511ey0xfq], .btn-cancel:hover[b-m511ey0xfq] {
        background-color: #5c636a;
        border-color: #565e64;
    }

.btn-outline-secondary[b-m511ey0xfq] {
    color: #6c757d;
    border-color: #6c757d;
}

    .btn-outline-secondary:hover[b-m511ey0xfq] {
        color: #fff;
        background-color: #6c757d;
    }
/* _content/BlazorPos123/Shared/InfoCarritoModal.razor.rz.scp.css */
/* _content/BlazorPos123/Shared/MainLayout.razor.rz.scp.css */
.page[b-dngwn0jbec] {
    position: relative;
    display: flex;
    flex-direction: column;
    /* A�adir transici�n al ancho del .page ayuda a que el main se mueva suavemente */
    transition: all 0.3s ease;
}

main[b-dngwn0jbec] {
    flex: 1;
    /* A�adir transici�n para que el margen se mueva suavemente */
    transition: padding-left 0.3s ease;
}

.sidebar[b-dngwn0jbec] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
    /* A�adir transici�n para que el ancho cambie suavemente */
    transition: width 0.3s ease;
}

.top-row[b-dngwn0jbec] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    /* Cambiado de flex-end a space-between para acomodar el bot�n izquierdo */
    justify-content: space-between;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

/* Estilo Base para el nuevo bot�n: Oculto por defecto (M�vil) */
.menu-btn-left[b-dngwn0jbec] {
    display: none; /* Oculto en m�vil por defecto */
    border: none;
    background-color: transparent;
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin-right: 1.5rem; /* Margen para separar del contenido */
    order: -1; /* Mueve el bot�n al inicio (izquierda) del contenedor flex */
}

/* Ajuste del margen para el enlace "About" */
.top-row[b-dngwn0jbec]  a, .top-row .btn-link[b-dngwn0jbec] {
    white-space: nowrap;
    margin-left: 0; /* Lo ponemos a 0 ya que 'space-between' lo alinea a la derecha */
}

.top-row a:first-child[b-dngwn0jbec] {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-dngwn0jbec] {
        display: none;
    }

    .menu-btn-left[b-dngwn0jbec] {
        display: none !important;
    }

    .top-row.auth[b-dngwn0jbec] {
        justify-content: space-between;
    }

    .top-row a[b-dngwn0jbec], .top-row .btn-link[b-dngwn0jbec] {
        margin-left: 0;
    }
}

/* ======================================================================== */
/* REGLAS DE ESCRITORIO (min-width: 641px) */
/* ======================================================================== */

@media (min-width: 641px) {
    .page[b-dngwn0jbec] {
        flex-direction: row;
    }

    .sidebar[b-dngwn0jbec] {
        width: 250px; /* Ancho normal del sidebar */
        height: 100vh;
        position: sticky;
        top: 0;
    }

    /* === REGLAS CR�TICAS DE COLAPSO (OCULTAR COMPLETAMENTE) === */

    /* 1. Oculta el sidebar por completo (Ancho Cero) */
    .page.collapsed-sidebar .sidebar[b-dngwn0jbec] {
        width: 0; /* <--- CAMBIO CLAVE: Ancho se reduce a cero */
        padding: 0;
        overflow: hidden;
    }

    /* 2. Mueve el contenido principal al inicio */
    .page.collapsed-sidebar .top-row[b-dngwn0jbec],
    .page.collapsed-sidebar article[b-dngwn0jbec] {
        /*
          CAMBIO CLAVE: Usa solo el padding horizontal (2rem) porque el sidebar es ancho 0.
          Esto centra el contenido sin el margen lateral del sidebar.
        */
        padding-left: 2rem !important;
    }

    /* === FIN REGLAS CR�TICAS === */

    .top-row[b-dngwn0jbec] {
        position: sticky;
        top: 0;
        z-index: 1;
        /* El padding base es el que se usa cuando el sidebar est� expandido */
        padding-left: 2rem !important;
    }

    .top-row[b-dngwn0jbec], article[b-dngwn0jbec] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    /* Hacemos visible el bot�n SOLO en escritorio */
    .menu-btn-left[b-dngwn0jbec] {
        display: block;
    }
}
/* _content/BlazorPos123/Shared/ModalPagos.razor.rz.scp.css */
/* _content/BlazorPos123/Shared/ModalPagos2.razor.rz.scp.css */
/* _content/BlazorPos123/Shared/ModalVentasEnEspera.razor.rz.scp.css */

/* _content/BlazorPos123/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-b1augzni86] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-b1augzni86] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-b1augzni86] {
    font-size: 1.1rem;
}

.oi[b-b1augzni86] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-b1augzni86] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-b1augzni86] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-b1augzni86] {
        padding-bottom: 1rem;
    }

    .nav-item[b-b1augzni86]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-b1augzni86]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-b1augzni86]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-b1augzni86] {
        display: none;
    }

    .collapse[b-b1augzni86] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-b1augzni86] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* _content/BlazorPos123/Shared/TimeAgoComponent.razor.rz.scp.css */
/* _content/BlazorPos123/Shared/ToastNotification.razor.rz.scp.css */
/* Contenedor Fijo: Asegura que el toast siempre est� centrado y visible */
.toast-container-fixed[b-ybo071q988] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Permite hacer clic a trav�s del contenedor */
    z-index: 2000;
}

.custom-toast-notification[b-ybo071q988] {
    /* POSICIONAMIENTO BASE: Centrado y cerca del fondo */
    position: absolute; /* Usamos absolute dentro del contenedor fixed para centrar */
    bottom: 15px; /* Posici�n sobre el footer en m�vil */
    left: 50%;
    /* VALOR INICIAL PARA LA ANIMACI�N DE ENTRADA (Oculto/Debajo) */
    transform: translate(-50%, 100px);
    opacity: 0;
    /* Estilos visuales */
    background-color: #ffc107; /* Color hexadecimal para el warning de Bootstrap */
    color: #343a40; /* CAMBIO CLAVE: El color de texto debe ser oscuro para resaltar en el fondo claro */
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 0.95rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    /* Base de la transici�n */
    transition: all 0.5s ease-in-out;
    pointer-events: auto;
}

    .custom-toast-notification .check-icon[b-ybo071q988] {
        margin-right: 8px;
        font-size: 1.2em;
    }

    /* ------------------- CLASES DE ANIMACI�N ------------------- */

    /* Clase de Entrada: Desliza hacia arriba y aparece */
    .custom-toast-notification.slide-in[b-ybo071q988] {
        transform: translate(-50%, 0);
        opacity: 1;
        /* La duraci�n de 0.5s se toma de .custom-toast-notification */
        transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease-in;
    }

    /* Clase de Salida: Solo desvanece (opacity) */
    .custom-toast-notification.fade-out[b-ybo071q988] {
        opacity: 0;
        /* Usamos 0.5s para que sea m�s notable */
        transition: opacity 0.3s ease-out;
    }


/* AJUSTE M�VIL (para que ocupe casi todo el ancho y est� posicionado correctamente) */
@media (max-width: 640px) {
    .custom-toast-notification[b-ybo071q988] {
        bottom: 25px; /* �AJUSTE CLAVE! */
        width: 90%;
        text-align: center;
        justify-content: center;
    }
}
