.h-screen {
    height: 100vh;
}

body {
    font-family: "Poppins", sans-serif;
    background: #fafafa;
}

p {
    font-family: "Poppins", sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    /* color: #999; */
    color: #5a5a5a;
}

#autocomplete-list {
    position: absolute; /* Posiciona el cuadro respecto a su contenedor */
    top: 100%; /* Coloca el cuadro justo debajo del input */
    left: 0; /* Alinea con el borde izquierdo del input */
    z-index: 1000; /* Asegura que el cuadro aparezca por encima de otros elementos */
    background-color: #fff; /* Fondo blanco para el cuadro */
    max-height: 200px; /* Altura máxima del cuadro */
    margin-top: 10px;
    overflow-y: scroll; /* Permite desplazamiento si hay muchos resultados */
    width: 100%; /* Asegura que el ancho coincida con el input */
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#autocomplete-list::-webkit-scrollbar {
    width: 0; /* Ancho de la barra de desplazamiento */
    height: 0; /* Altura de la barra de desplazamiento */
}

#autocomplete-list {
    -ms-overflow-style: none; /* IE y Edge */
    scrollbar-width: none; /* Firefox */
}


.autocomplete-item {
    padding: 8px;
    cursor: pointer;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
    padding-left: 30px;
    transition: background 0.3s ease; /* Para animar el cambio de color */
}

.autocomplete-item:hover {
    background: #e9ecef; /* Color de fondo cuando el item está en hover */
}


a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 13px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 10px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    /* background: #38b2ac; */
    background: rgb(2, 0, 36);
    /* background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(6,62,55,1) 41%, rgba(56,178,172,1) 62%, rgba(7,145,121,1) 86%, rgba(0,212,255,1) 100%); */
    /* background: linear-gradient(
        90deg,
        rgba(44, 76, 153) 0%,
        rgb(63, 99, 184) 2%,
        rgb(67, 101, 179) 27%,
        rgb(89, 122, 199) 54%,
        rgb(100, 133, 209) 79%,
        rgb(132, 161, 230) 100%
    ); */
    background: linear-gradient(90deg,
            rgba(2, 0, 36, 1) 0%,
            rgba(6, 62, 55, 1) 2%,
            rgba(7, 145, 121, 1) 27%,
            rgba(72, 162, 158, 1) 54%,
            rgba(56, 178, 172, 1) 79%,
            rgba(56, 178, 172, 1) 100%);
    /* background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(6,62,55,1) 16%, rgba(7,145,121,1) 39%, rgba(72,162,158,1) 61%, rgba(56,178,172,1) 79%, rgba(56,178,172,1) 100%); */
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -250px;
}

#sidebar .sidebar-header {
    padding: 20px 0px 0px 0px;
    background: rgb(2, 0, 36);
    /* background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(6,62,55,1) 41%, rgba(56,178,172,1) 62%, rgba(7,145,121,1) 86%, rgba(0,212,255,1) 100%);; */
    background: linear-gradient(90deg,
            rgba(2, 0, 36, 1) 0%,
            rgba(6, 62, 55, 1) 2%,
            rgba(7, 145, 121, 1) 27%,
            rgba(72, 162, 158, 1) 54%,
            rgba(56, 178, 172, 1) 79%,
            rgba(56, 178, 172, 1) 100%);
    /* background: linear-gradient(
        90deg,
        rgba(44, 76, 153) 0%,
        rgb(63, 99, 184) 2%,
        rgb(67, 101, 179) 27%,
        rgb(89, 122, 199) 54%,
        rgb(100, 133, 209) 79%,
        rgb(132, 161, 230) 100%
    ); */
    text-align: center;
}

#sidebar ul.components {
    padding: 10px 0;
    border-top: 1px solid #5a5a5a;
    border-bottom: 1px solid #5a5a5a;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: #5a5a5a;
    background: #fff;
}

#sidebar ul li.active>a,
a[aria-expanded="true"] {
    color: #fff;
    /* background: #48A29E; */
    background: rgb(2, 0, 36);
    /* background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(6,62,55,1) 41%, rgba(56,178,172,1) 62%, rgba(7,145,121,1) 86%, rgba(0,212,255,1) 100%);; */
    background: linear-gradient(90deg,
            rgba(2, 0, 36, 1) 0%,
            rgba(6, 62, 55, 1) 2%,
            rgba(7, 145, 121, 1) 27%,
            rgba(72, 162, 158, 1) 54%,
            rgba(56, 178, 172, 1) 79%,
            rgba(56, 178, 172, 1) 100%);
    /* background: linear-gradient(
        90deg,
        rgba(44, 76, 153) 0%,
        rgb(63, 99, 184) 2%,
        rgb(67, 101, 179) 27%,
        rgb(89, 122, 199) 54%,
        rgb(100, 133, 209) 79%,
        rgb(132, 161, 230) 100%
    ); */
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    /* background: #48A29E; */
    background: rgb(2, 0, 36);
    /* background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(6,62,55,1) 41%, rgba(56,178,172,1) 62%, rgba(7,145,121,1) 86%, rgba(0,212,255,1) 100%);; */
    background: linear-gradient(90deg,
            rgba(2, 0, 36, 1) 0%,
            rgba(6, 62, 55, 1) 2%,
            rgba(7, 145, 121, 1) 27%,
            rgba(72, 162, 158, 1) 54%,
            rgba(56, 178, 172, 1) 79%,
            rgba(56, 178, 172, 1) 100%);
    /* background: linear-gradient(
        90deg,
        rgba(44, 76, 153) 0%,
        rgb(63, 99, 184) 2%,
        rgb(67, 101, 179) 27%,
        rgb(89, 122, 199) 54%,
        rgb(100, 133, 209) 79%,
        rgb(132, 161, 230) 100%
    ); */
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #5a5a5a;
}

a.article,
a.article:hover {
    background: #5a5a5a !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: calc(100% - 250px);
    padding: 20px 0px 0px 10px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0px;
}

#content.active {
    width: 100%;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -250px;
    }

    #sidebar.active {
        margin-left: 0;
    }

    #content {
        width: 100%;
    }

    #content.active {
        width: calc(100% - 250px);
    }

    #sidebarCollapse span {
        display: none;
        clear: both;
    }

    .ocultar_max_768 {
        display: none;
    }

    .responsive_celular {
        flex-direction: column;
    }

    .cuadro_botones {
        display: flex;
        flex-direction: column;
        text-align: left;
    }

    #logout-form {
        display: none;
        clear: both;
    }

    .ver_botonera {
        display: flex;
    }

    .tablaProductosVenta thead {
        display: none;
    }

    .tablaProductosVenta,
    .tablaProductosVenta tbody,
    .tablaProductosVenta tr,
    .tablaProductosVenta td {
        display: block;
        width: 100%;
    }

    .tablaProductosVenta tr {
        margin-bottom: 15px;
    }

    .tablaProductosVenta td {
        text-align: right;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    .tablaProductosVenta td:before {
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
    }

    .descripcion_producto::before {
        content: 'Producto';
    }

    .cantidad_producto::before {
        content: 'Cantidad';
    }

    .precio_producto::before {
        content: 'Precio';
    }

    .subtotal_producto::before {
        content: 'Subtotal';
    }

    .acciones_producto::before {
        content: 'Acciones'
    }


}

@media (min-width: 770px) {
    #logout-form {
        display: none;
        clear: both;
    }

    .ocultar_min_770 {
        display: none;
    }

    .cuadro_botones {
        display: flex;
        justify-content: space-between;
        text-align: center;
    }

    .ver_botonera {
        display: flex;
    }
}

@media (min-width: 1400px) {
    .ver_botonera {
        display: flex;
    }
}


.alertify-notifier .ajs-message {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    text-align: center;
    border: solid 2px #ddd;
    border-radius: 2px;
}

.alertify-notifier .ajs-message.ajs-success {
    color: #fff;
    background: #38b2ac !important;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
}

.alertify-notifier .ajs-message.ajs-error {
    color: #fff;
    background: #ff0000 !important;
    ;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
}

.alertify-notifier .ajs-message.ajs-warning {
    /* color: #fff; */
    background: #ff6600 !important;
    /* background: #ffff00 !important; */
    border-color: #999;
}

.colorBlanco {
    color: white;
}

.opacity-0 {
    opacity: 0 !important;
}

.opacity-1 {
    opacity: 0.2 !important;
}

.opacity-2 {
    opacity: 0.4 !important;
}

.opacity-3 {
    opacity: 0.6 !important;
}

.opacity-4 {
    opacity: .8 !important;
}

.opacity-5 {
    opacity: 1 !important;
}

/* Maybe even support hover opacity shifts */
.opacity-0h5 {
    opacity: 0 !important;
    transition: opacity .25s ease-in-out !important;
    -moz-transition: opacity .25s ease-in-out !important;
    -webkit-transition: opacity .25s ease-in-out !important;
}

.opacity-0h5:hover {
    opacity: 1 !important;
}

/* The customcheck */
.customcheck {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.customcheck input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 5px;
}

/* On mouse-over, add a grey background color */
.customcheck:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.customcheck input:checked~.checkmark {
    /* background-color: #02cf32; */
    background-color: #38b2ac;
    border-radius: 5px;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.customcheck input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.customcheck .checkmark:after {
    left: 10px;
    top: 7px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*
Full screen Modal 
*/
.fullscreen-modal .modal-dialog {
    margin: 0;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}

@media (min-width: 768px) {
    .fullscreen-modal .modal-dialog {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .fullscreen-modal .modal-dialog {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .fullscreen-modal .modal-dialog {
        width: 1170px;
    }
}

.alertify-notifier .ajs-message {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    text-align: center;
    border: solid 2px #ddd;
    border-radius: 2px;
}

.alertify-notifier .ajs-message.ajs-success {
    color: #fff;
    background: #38b2ac !important;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
}

.alertify-notifier .ajs-message.ajs-error {
    color: #fff;
    background: #ff0000 !important;
    ;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.5);
}

.alertify-notifier .ajs-message.ajs-warning {
    /* color: #fff; */
    background: #ff6600 !important;
    /* background: #ffff00 !important; */
    border-color: #999;
}

.colorBlanco {
    color: white;
}

.opacity-0 {
    opacity: 0 !important;
}

.opacity-1 {
    opacity: 0.2 !important;
}

.opacity-2 {
    opacity: 0.4 !important;
}

.opacity-3 {
    opacity: 0.6 !important;
}

.opacity-4 {
    opacity: .8 !important;
}

.opacity-5 {
    opacity: 1 !important;
}

/* Maybe even support hover opacity shifts */
.opacity-0h5 {
    opacity: 0 !important;
    transition: opacity .25s ease-in-out !important;
    -moz-transition: opacity .25s ease-in-out !important;
    -webkit-transition: opacity .25s ease-in-out !important;
}

.opacity-0h5:hover {
    opacity: 1 !important;
}

/* The customcheck */
.customcheck {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.customcheck input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 5px;
}

/* On mouse-over, add a grey background color */
.customcheck:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.customcheck input:checked~.checkmark {
    /* background-color: #02cf32; */
    background-color: #38b2ac;
    border-radius: 5px;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.customcheck input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.customcheck .checkmark:after {
    left: 10px;
    top: 7px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.bootstrap-select .bs-ok-default::after {
    width: 0.3em;
    height: 0.6em;
    border-width: 0 0.1em 0.1em 0;
    transform: rotate(45deg) translateY(0.5rem);
}

.btn.dropdown-toggle:focus {
    outline: none !important;
}

/*PUNTO DE VENTA*/

.lista_boton {
    display: none;
}

.tablaReporteVentas {
    width: 100%;
    text-align: center;
}

.tablaReporteVentas .cabezal {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    padding: 10px 0px;
}

.tablaReporteVentas .cabezal .titulo_cabezal {
    font-size: 16px;
    font-weight: bold;
}

.tablaReporteVentas .cuerpo {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.tablaReporteVentas .cuerpo .seccion_cuerpo {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.tablaReporteVentas .cuerpo .seccion_cuerpo .sub_seccion_cuerpo {
    display: flex;
    padding: 15px 0px;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);

}

.tablaReporteVentas .cuerpo .seccion_cuerpo .info-comprobante {
    display: flex;
    padding: 15px 0px;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.1);

}

.info-comprobante .text_cuerpo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: normal;
}

.tablaReporteVentas .cuerpo .seccion_cuerpo .sub_seccion_cuerpo:hover {
    background-color: rgba(0, 0, 0, 0.014);
}

.tablaReporteVentas .cuerpo .seccion_cuerpo .info_comprobante_cuerpo {
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.1);
    margin: 0px 5px;
    padding: 5px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    z-index: 50;
}

.info_comprobante_cuerpo {
    display: none;
    overflow: hidden;
}


.info_comprobante_cuerpo.visible {
    display: block;
}

.info_comprobante_cuerpo .text_cuerpo {
    font-size: 16px;
    font-weight: normal;
}

.tablaReporteVentas .cuerpo .seccion_cuerpo .text_cuerpo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: normal;
}