/*=====================================================
                    Tipografia
======================================================*/
@font-face{
    font-family: "RobotoCondensedLight";
    src: url("../webfonts/robotocondensed-light.ttf"), 
    url("../webfonts/robotocondensed-light.eot"), 
    url("../webfonts/robotocondensed-light.woff"), 
    url("../webfonts/robotocondensed-light.woff2"), 
    url("../webfonts/robotocondensed-light.svg");
}
@font-face{
    font-family: "RobotoRegular";
    src: url("../webfonts/roboto-regular.ttf"), 
    url("../webfonts/roboto-regular.eot"), 
    url("../webfonts/roboto-regular.woff"), 
    url("../webfonts/roboto-regular.woff2"), 
    url("../webfonts/roboto-regular.svg");
}
@font-face{
    font-family: "OswaldLight";
    src: url("../webfonts/oswald-light.ttf"), 
    url("../webfonts/oswald-light.eot"), 
    url("../webfonts/oswald-light.woff"), 
    url("../webfonts/oswald-light.woff2"), 
    url("../webfonts/oswald-light.svg");
}

body,html{
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: "RobotoRegular";
    position: relative;
    background-color: #fff;
}


.is-photo{
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}

.text-condensedLight{ font-family: "RobotoCondensedLight"; }
.tittles{ font-family: "OswaldLight"; }
.full-width{
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;


}
.list-unstyle{
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}
.img-responsive{
    width: 100%;
    height: auto;
}
.divider-menu-h{
    height: 0 !important;
    border-top: 1px solid #c9c9c9;
    width: 95% !important;
    margin: 0 auto !important;
}

.page-container{
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    justify-content: space-between;
}

/*  Scrolls */
.scroll::-webkit-scrollbar{
    width: 8px;
}
.scroll::-webkit-scrollbar-thumb{
    background: rgba(102,107,122,1);
}
.scroll::-webkit-scrollbar-thumb:active,
.scroll::-webkit-scrollbar-thumb:hover{
    background: rgba(102,107,122,1);
} 
.scroll::-webkit-scrollbar-track{
    background: rgba(29, 30, 34, 1);
}
.scroll::-webkit-scrollbar-track:hover, 
.scroll::-webkit-scrollbar-track:active{
    background: rgba(29, 30, 34, 1);
}
/*=============Estilos barra superior*/

/* Estilo para el contenedor del dropdown de notificaciones */
.notifications-dropdown {
    display: none; 
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #242424; /* Fondo oscuro */
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* Sombra más suave */
    z-index: 1000;
    width: 500px; /* Reducir el ancho del contenedor */
    color: white;
    font-size: 0.9em;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hacer visible el dropdown cuando se activa */
.notifications-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Contenedor de las notificaciones */
.notifications-container {
    padding: 10px;
    max-height: 600px; /* Reducir la altura máxima para hacer el contenedor más compacto */
    overflow-y: auto;
    scrollbar-width: thin; /* Hace más delgada la barra de scroll */
}

/* Título de las notificaciones */
.notifications-container .title {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: #f1c40f; /* Color dorado */
    border-bottom: 1px solid #555;
    padding-bottom: 8px;
}

/* Estilo para cada item de notificación */
.notification-item {
    display: flex;
    align-items: center; /* Centrar verticalmente los elementos */
    padding: 8px; /* Reducir el padding para hacer el contenedor más compacto */
    border-bottom: 1px solid #ffffff;
    margin-bottom: 5px; /* Ajustar el margen inferior para menos espacio entre notificaciones */
    height: auto; /* Ajustar el alto según el contenido */
}

/* Contenedor de la imagen */
.notification-img-container {
    flex-shrink: 0; /* Evitar que el contenedor de la imagen se reduzca */
    margin-right: 80px; /* Reducir el espacio entre la imagen y el texto */
    width: 160px; /* Reducir el ancho del contenedor */
    height: 160px; /* Reducir el alto del contenedor para hacerlo cuadrado */
}
.product-name{
    text-transform: uppercase;
}
/* Imagen dentro de la notificación */
.notification-img {
    width: 100% !important;
    height: 100% !important; /* La imagen ocupará todo el alto del contenedor */
    object-fit: cover !important; /* Asegura que la imagen cubra el contenedor sin distorsionarse */
    border-radius: 0 !important; /* Asegurarnos de que la imagen sea cuadrada */
    
}

/* Contenedor del texto */
.notification-info {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrar el texto verticalmente */
    flex-grow: 1; /* Hacer que el contenedor del texto ocupe todo el espacio restante */
    padding: 0; /* Quitar padding para reducir el espacio interno */

    
}

/* Detalle del producto dentro de la notificación */
.notification-info p {
    margin: 2px 0; /* Reducir el margen entre los párrafos para menos espacio entre líneas */
    font-size: 0.8rem;
    
}

/* Efecto hover */
.notification-item:hover {
    background-color: #444; /* Fondo más claro en hover */
    border-radius: 10px; /* Ajustar el borde en hover para un efecto más suave */
}

/* Estilo de los textos en las notificaciones */
.colorAmarillo {
    color: #f1c40f;
    font-weight: bold;
}

.colorRed {
    color: #e74c3c;
    font-weight: bold;
}

/* Estilo del número de notificaciones en la campana */
.notification-badge {
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.6rem;
    font-size: 0.8rem;
    position: absolute;
    top:12px;
    right: 0;
    left: 8px;
    transform: translate(50%, -50%);
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Ajustes para la campana de notificaciones */
.notification-icon i {
    font-size: 1.7rem;
    position: relative;
    cursor: pointer;
}

.notification-icon {
    margin-right: 1rem;
    position: relative;
}


/* Estilo del contenedor del menú del usuario */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Estilo del ícono de flecha */
.user-menu i {
    margin-left: 0.5rem; /* Ajusta el margen según sea necesario */
}


/* Estilo del menú desplegable */
.user-menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 200px; /* Ajusta el ancho según sea necesario */
}

.navBar{
    background-color: #1374b4;
    height: 45px;
    color: #fff;
    position: relative;
    margin-bottom: 30px;
}


.navBar-options{
    line-height: 45px;
    height: 45px;
    padding: 0;
    transition: all .3s ease-in-out;
    display: flex;
    justify-content: space-between;

}

.navBar-options .fa-bars,
.navBar-options-list{
    line-height: 45px;
    height: 45px;
    margin: 0;
    padding: 0;
}

.navBar-options .fa-bars{
    width: 40px;
    left: 0;
    font-size: 23px;
    cursor: pointer;
    user-select: none;
    text-align: center;
    outline: none;
    margin-left: 9px;
    
}

.navBar-options-list{
    right: 9px;
}

.navBar-options-list .noLink{
    cursor: inherit;
}

.navBar-options-list ul{
    height: 45px;
    display: flex;
    align-items: center; /* Alinea todos los elementos verticalmente en el centro */
    list-style: none; /* Elimina los puntos de la lista */
    padding: 0;
    margin: 0;
}

.navBar-options-list ul li{
    height: 45px;
    line-height: 45px;
    cursor: pointer;
    padding: 0 7px;
    font-size: 21px;
    user-select: none;
    outline: none;
    display: flex;
    align-items: center; /* Alinea todos los elementos verticalmente en el centro */
}

.navBar-options-list ul li a,
.navBar-options-list ul li img{
    margin: 0;
    padding: 0;
    color: #FFF;
}

.navBar-options-list ul li img{
    border: 1px solid #E1E1E1;
    border-radius: 50%;
    width: 39px;
    height: 39px;
    margin-top: 0;
    margin-bottom: 0;
}


/* Estilo de cada opción en el menú desplegable */
.user-menu-dropdown a {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: #333 !important;
    text-decoration: none;
    font-size: 0.9rem;
}

.user-menu-dropdown a:hover {
    background-color: #f5f5f5;
}

/* Estilo del ícono en las opciones */
.user-menu-dropdown i {
    margin-right: 0.5rem;
}

/* Mostrar el menú desplegable al hacer hover sobre el contenedor del usuario */
.user-menu:hover .user-menu-dropdown {
    display: block;
}


/*=============Estilos en comun navegacion lateral y contenido pagina*/

.navLateral,
.pageContent,
.navLateral-body{
    height: 100%;
}
.navLateral,
.pageContent{
    overflow-y: auto;
}
/*=============Estilos navegacion lateral*/
.navLateral{
    background-color: #253745;
    width: 300px;
    height:auto;
    border-right: 1px solid #ffffff;
    transition: all .3s ease-in-out;
    position: relative;
}
.navLateral-change{
    pointer-events: none;
    opacity: 0;
    width: 0;
    border-right: none;
    height: auto;
}
.navLateral-body{
    position: relative;
    color: white;
}
.navLateral-body-logo{
    height: 45px;
    line-height: 45px;
    color: #fff;
    width: 100%;
    font-size: 25px;
    background-color: #253745;
    
}
.navLateral-body-cl,
.navLateral-body-cr{
    box-sizing: border-box;
    height: 77px;
    float: left;
    margin: 0;
    padding: 0;
    position: relative;
    
}
.navLateral-body-cl{
    width: 25%;
}
.navLateral-body-cl img{
    width: 57px;
    height: 57px;
    margin: 0 auto;
    display: block;

}
.navLateral-body-cr{
    width: 70%;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.navLateral-body-tittle-menu{
    height: 70px;
    line-height: 70px; 
    font-size:20px; 
    background-color: #1e2c38;
    text-align: center;
}
.menu-principal li,
.menu-principal li a{
    display: block;
}
.menu-principal li a{
    height: 45px;
    color: #ffffff;
    position: relative;
    transition: all .3s ease-in-out;
}
.menu-principal li a:hover{
    background-color: #1585cf;
}
.menu-principal li a div.navLateral-body-cl,
.menu-principal li a div.navLateral-body-cr{
    height: 45px;
    line-height: 45px;
}
.menu-principal li a div.navLateral-body-cl{
    text-align: center;
    font-size: 20px;
}
.btn-subMenu span.fa-angle-down{
    position: absolute;
    top: 0;
    right: 10px;
    line-height: 45px;
    height: 45px;
    font-size: 20px;
    transition: all .3s ease-in-out;
}
.btn-subMenu + .sub-menu-options{
    transition: all .3s ease-in-out;
}
.sub-menu-options{
    height: 0;
    background-color: #F5F5F5;
    overflow-y: hidden;
    transition: all .2s ease-in-out;
}
.sub-menu-options li a{ border-left: 4px solid transparent; }
.sub-menu-options li a:hover{ border-left: 4px solid #ffffff; }
.btn-subMenu-show{
    background-color: rgba(0, 0, 0, 0.1);
}
.btn-subMenu-show .navLateral-body-cl,
.btn-subMenu-show .navLateral-body-cr{
    color: #fff;
}
.btn-subMenu-show + .sub-menu-options{
    height: auto;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.1);
}

.btn-subMenu-show span.fa-angle-down{
    transform: rotate(180deg);
}
/*Estilos encabezado de la barra lateral, online*/
.status {
    display: flex;
    align-items: center;
    margin-top: 5px; /* Ajusta este margen según sea necesario */
}

.status-dot {
    height: 10px; /* Ajusta el tamaño del punto */
    width: 10px; /* Ajusta el tamaño del punto */
    background-color: rgb(13, 187, 13); /* Color del punto */
    border-radius: 50%; /* Hace que el punto sea redondo */
    display: inline-block;
    margin-right: 5px; /* Espacio entre el punto y la palabra "Online" */
}
.status small {
    font-size: 13px; /* Tamaño de fuente más pequeño para el estado */
}
.custom-icon{
    width: 33px !important; /* Ajusta el tamaño según sea necesario */
    height: 33px !important; /* Asegura que la altura sea la misma que el ancho */
    vertical-align: middle !important; /* Alinea el icono verticalmente con el texto */
    margin-top: 0 !important;
}
.navLateral-body-cl {
    display: flex !important;
    align-items: center !important; /* Centra verticalmente los iconos dentro del contenedor */
    justify-content: center!important; /* Centra horizontalmente los iconos dentro del contenedor */
}
/*=============Estilos contenido pagina*/
.pageContent{
    width: calc(100% - 300px);
    background-color: #fff;
    transition: all .3s ease-in-out;
}
.pageContent-change{
    width: 100%;
}
/*=============Estilos detalle de venta*/
.sale-details{
    display: flex;
    justify-content: space-between;
    transition: all .3s ease-in-out;
    padding: 5px;
}
.sale-details:hover{
    background-color: rgba(0, 0, 0, 0.07);
}
/*ESTILOS TABLA REPORTE DE VENTAS */
.custom-tag {
    background-color: #e0e0e0; /* Color de fondo */
    color: #007bff; /* Color del texto */
    border: 1px solid #007bff; /* Color del borde */
    padding: 0.5em 1em; /* Espaciado interno */
    border-radius: 0.25em; /* Bordes redondeados */
    font-size: 0.875em; /* Tamaño de fuente */
    transition: background-color 0.3s, color 0.3s; /* Transición suave para el hover */
}

.custom-tag:hover {
    background-color: #007bff; /* Color de fondo en hover */
    color: #ffffff; /* Color del texto en hover */
}

.custom-tag i {
    margin-right: 5px; /* Espacio entre el ícono y el texto */
    transition: color 0.3s; /* Transición suave para el color del ícono */
}

.custom-tag:hover i {
    color: #ffffff; /* Cambia el color del ícono a blanco en hover */
}


.scrollable-table thead th {
    position: sticky;
    top: 0;
    background: white;
    z-index: 100;
 
}
/* Asegurar que las filas del pie de tabla tengan bordes visibles */
.scrollable-table {
    overflow-y: auto;
    border: 1px solid #dbdbdb; /* Ajustar color de borde según el diseño */
    border-radius: 6px;
    max-height: 550px;
    position: relative; /* Agregamos posición relativa para el contenedor */
}

.scrollable-table table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 0;
}

.scrollable-table th,
.scrollable-table td {
    border: 1px solid #dbdbdb; /* Ajustar color de borde según el diseño */
    padding: 8px;
    text-align: center;
}

.scrollable-table th {
    background-color: #f5f5f5; /* Ajustar color de fondo del encabezado */
}

.scrollable-table tfoot tr {
    background-color: #f5f5f5; /* Ajustar color de fondo del pie de tabla */
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index: 10;
}

.scrollable-table tfoot td {
    border: 1px solid #dbdbdb; /* Ajustar color de borde según el diseño */
    padding: 8px;
    text-align: center;
}

/* Estilo específico para las filas del pie de tabla que deben tener bordes visibles */
.static-footer {
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index: 10;
    background-color: #f5f5f5; /* Fondo gris para las filas del pie de tabla */
    border: 1px solid #dbdbdb; /* Añadimos borde gris */
    box-shadow: 0 -4px 5px -5px rgba(0, 0, 0, 0.2); /* Sombra para separar visualmente */
}

.static-footer tfoot tr {
    background-color: #f5f5f5; /* Ajustar color de fondo del pie de tabla */
    border: 1px solid #dbdbdb; /* Añadimos borde gris */
}

.static-footer tfoot td {
    border: 1px solid #dbdbdb; /* Ajustar color de borde según el diseño */
    padding: 8px;
    text-align: center;
}

.text-decoration-none{
    text-decoration: none;
}
    
/*ESTILOS VISTA INVENTARIO*/
.table-container {
    max-width: 100%;
    overflow-x: auto;
}
.container-inventory{
    max-width: 2000px;
    margin-left: 40px;
    margin-right: 40px;
}
.table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: #ffffff;
}

.table thead th {
    background-color: #1585cf; /* Color de fondo azul para encabezados */
    color: #ffffff; /* Color de texto blanco para encabezados */
}

.table tbody td {
    border: 1px solid #dbdbdb;
    vertical-align: top;
}

/* Estilos para eliminar el subrayado de las etiquetas <abbr> */
th abbr {
    text-decoration: none !important;/* Eliminar subrayado de las etiquetas <abbr> */
    border-bottom: none !important; /* Eliminar cualquier borde inferior */

}

.pagination-link.is-current {
    background-color: #3e8bbe; /* Azul Bulma - is-info */
    color: white; /* Cambia el color del texto a blanco para contraste */
    border: none;
}
.button.is-link.is-rounded.is-small {
    text-decoration: none; /* Elimina el subrayado */
}

.button.is-link.is-rounded.is-small:hover {
    text-decoration: none; /* Asegura que el subrayado no aparezca en el hover */
}

.alert-stock {
    background-color: #ffdddd; /* Rojo claro para alertar */
    color: #333; /* Color del texto para asegurar que sea legible */
    font-weight: bold; /* Hacer el texto más destacado */
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification.is-danger {
    background-color: #ffcccc; /* Color de fondo rojo claro */
    color: #d8000c; /* Color del texto rojo oscuro */
    margin-bottom: 1rem;
}


/* estilos para las categorias en la vista de productCategory*/
.category-card {
    display: block;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #1374b4; /* Color del texto por defecto */
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.category-card.selected {
    background-color: #1374b4; /* Fondo azul para la categoría seleccionada */
    color: #ffffff; /* Texto blanco para la categoría seleccionada */
}

.category-card.selected .category-name {
    color: #ffffff; /* Asegúrate de que el nombre de la categoría sea blanco cuando está seleccionado */
}

.category-card-content {
    padding: 1rem;
    text-align: center;
}

.category-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.category-description {
    color: #333;
}
/*ESTILOS BOTONES DE DESCARGA PDF Y EXCEL*/
/* Estilos para los botones de descarga */
.button-custom-pdf {
    background: linear-gradient(45deg, #ff6b6b, #f06595);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    transform: scale(1);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.button-custom-pdf::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-30deg);
    transition: all 0.5s ease;
    z-index: 1;
}

.button-custom-pdf:hover::before {
    left: 100%;
}

.button-custom-pdf:hover {
    background-color: #e63946;
    transform: scale(1.05);
}

.button-custom-excel {
    background: linear-gradient(45deg, #4caf50, #2e7d32);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    transform: scale(1);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.button-custom-excel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-30deg);
    transition: all 0.5s ease;
    z-index: 1;
}

.button-custom-excel:hover::before {
    left: 100%;
}

.button-custom-excel:hover {
    background-color: #388e3c;
    transform: scale(1.05);
}
.button-custom-ticket {
    background: linear-gradient(45deg, #3088c4, #1374b4);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    transform: scale(1);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.button-custom-ticket::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: skewX(-30deg);
    transition: all 0.5s ease;
    z-index: 1;
}

.button-custom-ticket:hover::before {
    left: 100%;
}

.button-custom-ticket:hover {
    background-color: #38678e;
    transform: scale(1.05);
}
.button-custom-pdf .icon i,
.button-custom-ticket .icon i,
.button-custom-excel .icon i {
    color: #fff;
}

/* Ajustes para el tamaño completo y márgenes */
.is-fullwidth {
    width: 100%;
}

.mr-2 {
    margin-right: 0.5rem;
}









.container-dashboard {
    max-width:auto;
    background: linear-gradient(to bottom right, #e4e4e4, #dadada);
    border-radius: 5px;
    padding: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
   
}

.small-box {
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.small-box:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.small-box .icon {
    font-size: 60px;
    position: absolute;
    right: 28px;
    top: 28px;
    opacity: 0.4;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card-header {
    background: #007bff;
    color: white;
    font-weight: bold;
    text-align: center;
}

.card-body {
    background: #fdfdfd;
    color: white;
}

.bg-gradient-warning {
    background: linear-gradient(to right, #ffcc00, #ff9900);
}

.bg-gradient-dark {
    background: linear-gradient(to right, #3a3a3a, #1a1a1a);
}

.bg-gradient-danger {
    background: linear-gradient(to right, #ff4d4d, #c70000);
}

.bg-gradient-success {
    background: linear-gradient(to right, #28a745, #218838);
}

.bg-gradient-primary {
    background: linear-gradient(to right, #007bff, #0056b3);
}

.bg-gradient-info {
    background: linear-gradient(to right, #174e74, #3193d4);
}

.small-box-footer {
    display: block;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.small-box-footer:hover {
    background-color: rgba(255, 255, 255, 0.137);
    color: #fff;
    text-decoration: none;
}


 /* Asegúrate de que el canvas sea responsive */
canvas {
    max-width: 100%;
    height: auto; /* Mantiene la proporción de aspecto */
}

/* MODULO GARANTIAS*/

.estado-pendiente {
    background-color: #f8d7da; /* Rojo claro */
    color: #721c24;            /* Texto rojo oscuro */
    font-weight: bold;
    text-align: center;
    padding: 8px;

}

.estado-recibida {
    background-color: #d4edda; /* Verde claro */
    color: #155724;            /* Texto verde oscuro */
    font-weight: bold;
    text-align: center;
    padding: 8px;

}


/* Opcional: Ajusta los tamaños del texto en dispositivos más pequeños */
@media (max-width: 768px) {
    .small-box .inner h4 {
        font-size: 1.5rem; /* Ajusta el tamaño del encabezado */
    }
   
    .small-box .inner p {
        font-size: 1.25rem; /* Ajusta el tamaño del texto */
    }
    .card-header {
        font-size: 1.25rem; /* Ajusta el tamaño del encabezado de la tarjeta */
    }
    .container-dashboard {
        max-width:auto;
        background: linear-gradient(to bottom right, #e4e4e4, #dadada);
        border-radius: 5px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
}

.modal-garantia .modal-content {
    width: 400px; /* Ancho estándar del modal */
    max-width: 90%; /* Para que no se desborde en pantallas pequeñas */
    margin: auto; /* Centra el modal en la pantalla */
    padding: 20px; /* Espaciado interno */
}

.modal-garantia .box {
    border-radius: 8px; /* Bordes redondeados para un diseño más atractivo */
    background-color: #fff; /* Fondo blanco para el contenido */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Sombra suave para profundidad */
}

.modal-garantia .modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Estilos para dispositivos móviles */
@media (max-width: 600px) {
    .modal-garantia .modal-content {
        width: 90%; /* Ancho del modal en dispositivos móviles */
    }

    .modal-garantia .box {
        padding: 15px; /* Menor espaciado interno en móviles */
    }

    .modal-garantia .title {
        font-size: 1.5em; /* Tamaño de fuente más pequeño para el título */
    }

    .modal-garantia .button {
        width: 100%; /* Botón de confirmación ocupa el ancho completo */
    }
}



/* LOGIN */
/* Estilo del fondo */
body {
    margin: 0; /* Eliminar márgenes por defecto */
    overflow: hidden; /* Evita el scroll si la imagen es más grande */
}

.background-container {
    background-image: url('../img/banner1.webp'); /* Cambia la ruta a tu imagen */
    background-size: cover; /* Cubre todo el fondo */
    background-position: center; /* Centra la imagen */
    position: fixed; /* Fija la imagen de fondo */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    filter: blur(8px); /* Borra la imagen */
    z-index: 0; /* Asegura que esté detrás del formulario */
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Ocupa toda la altura de la ventana */
    position: relative; /* Para posicionar el formulario encima del fondo */
    z-index: 1; /* Asegura que el contenedor esté encima de la imagen */
}

/* Estilo del formulario */
.login,
.hero-body {
    height: auto;
    width: 100%;
    max-width: 450px;
    min-width: 300px;
    z-index: 2; /* Asegura que el formulario esté encima del fondo borroso */
}

.box {
    background-color: rgba(255, 255, 255, 0.8); /* Fondo blanco semi-transparente */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Sombra suave */
    padding: 30px;
    transition: transform 0.3s ease; /* Efecto de transformación */
}

.box:hover {
    transform: scale(1.02); /* Efecto al pasar el mouse */
}

/* Resto de estilos */
.label {
    font-weight: bold; /* Negrita en etiquetas */
    color: #333; /* Color de texto */
}

.input {
    border: 1px solid #ddd; /* Borde gris claro */
    border-radius: 5px; /* Bordes redondeados */
    transition: border-color 0.3s; /* Transición suave */
}

.input:focus {
    border-color: #1374b4; /* Cambio de color al hacer foco */
    box-shadow: 0 0 5px rgba(41, 102, 172, 0.5); /* Sombra suave en el foco */
}
.icon-container {
    display: inline-flex; /* Asegura que el contenedor se ajuste al contenido */
    justify-content: center; /* Centra el ícono horizontalmente */
    align-items: center; /* Centra el ícono verticalmente */
    border-radius: 50%; /* Bordes redondeados para darle forma circular */
    width: 100px; /* Ajusta el ancho según lo necesites */
    height: 100px; /* Ajusta la altura según lo necesites */
    margin: 0 auto; /* Centra el contenedor en el párrafo */
}
.icon-user{
    color: #1374b4;
}


.button:hover {
    background-color: #1e3c72; /* Cambio de color al pasar el mouse */
}

.has-text-info {
    color: #2a5298 !important; /* Color del icono */
}


/*ESTILO CAJAS*/
.custom-close-button {
    background-color: #d9534f; /* Color por defecto para abrir */
    color: white; /* Texto blanco */
    padding: 5px 10px; /* Espaciado interno */
    border: none; /* Sin borde */
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer; /* Cursor tipo puntero */
    transition: background-color 0.3s, transform 0.2s; /* Transición suave */
}

.custom-close-button:hover {
    background-color: #c9302c; /* Rojo más oscuro al pasar el ratón */
    transform: scale(1.05); /* Aumentar ligeramente al pasar el ratón */
}

.custom-close-button.cerrada {
    background-color: #26516d; /* Azul claro para cuando la caja está cerrada (similar a is-info) */
}

.custom-close-button.cerrada:hover {
    background-color: #1a6797; /* Azul más oscuro al pasar el ratón */
}

.custom-close-button i {
    margin-right: 5px; /* Espacio entre el ícono y el texto */
    font-size: 16px; /* Tamaño del ícono */
}


/*MODAL APERTURA NUEVA CAJA*/

/* Estilo para el fondo del modal */
.modal-background {
    background-color: rgba(0, 0, 0, 0.7); /* Fondo oscuro con transparencia */
}


/* Estilo del card del modal */
.modal-card {
    width: 900px; /* Ancho del modal */
    max-width: 90%; /* Para que no se desborde en pantallas pequeñas */
    margin: auto; /* Centra el modal en la pantalla */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Sombra suave */
}


/* Estilo del encabezado del modal */
.modal-card-head {
    background-color:  #1374b4; /* Verde pastel */

    border-top-left-radius: 10px; /* Bordes redondeados */
    border-top-right-radius: 10px; /* Bordes redondeados */
}

/* Estilo del título del modal */
.modal-card-title {
    font-size: 1.5rem; /* Tamaño de fuente más grande */
    font-weight: bold; /* Negrita */
    color: #FFF;
    text-align: center;
}

/* Estilo del cuerpo del modal */
.modal-card-body {
    background-color: #f9f9f9; /* Fondo claro para el cuerpo */
}

/* Estilo para los botones del modal */
.modal-card-foot {
    justify-content: flex-end; /* Alinear botones a la derecha */
}

.modal-card-foot .button {
    border-radius: 5px; /* Bordes redondeados */
    transition: background-color 0.3s, transform 0.2s; /* Transiciones suaves */
}

.modal-card-foot .button.is-success {
    background-color: #1374b4; /* Color de fondo verde pastel */
    color: white; /* Texto blanco */
}

.modal-card-foot .button.is-danger {
    background-color: #ca2d2d; /* Rojo suave para el botón de cancelar */
    color: white; /* Texto blanco */
}

.modal-card-foot .button.is-success:hover {
    background-color: #2695df; /* Verde más oscuro al pasar el mouse */
}

.modal-card-foot .button.is-danger:hover {
    background-color: #e94848; /* Rojo más oscuro al pasar el mouse */
}

.modal-card-foot .button:hover {
    transform: scale(1.05); /* Efecto de aumento al pasar el mouse */
}

/* Estilo del input y select */
.input, .select {
    border: 1px solid #ccc; /* Borde claro */
    border-radius: 5px; /* Bordes redondeados */
    transition: border-color 0.3s; /* Transición para el borde */
}

.input:focus, .select:focus {
    border-color: #2695df; /* Borde verde pastel cuando está enfocado */
    box-shadow: 0 0 5px rgba(0, 127, 201, 0.5); /* Sombra verde pastel */
}






/*ESTILOS OPCIONES DE VENTAS*/
  /* Estilos generales del menú desplegable */
  .dropdown-content {
    background-color: white; /* Fondo blanco */
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 250px; /* Ajusta el ancho del cuadro desplegable */

 
}

/* Estilos de cada opción */
.dropdown-content .dropdown-option {
    display: flex;
    align-items: center;
    padding: 2px 15px;
    font-size: 14px;
    color: #333; /* Texto negro */
    text-decoration: none;
    border-bottom: 10px solid #f0f0f0; /* Línea separadora */
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

.dropdown-content .dropdown-option:last-child {
    border-bottom: none; /* Sin línea en la última opción */
}

.dropdown-content .dropdown-option:hover {
    background-color: #f8f8f8; /* Fondo gris claro al pasar el mouse */
}

/* Estilos para los íconos */
.dropdown-content .dropdown-option i {
    margin-right: 10px;
    font-size: 18px;
}

/* Permite al menú desplegable mostrarse hacia arriba */
.dropdown-menu.is-up {
    bottom: 100%;
    top: auto;
}

.icon-whatsapp {
    color: #25d366; /* Verde WhatsApp */
}

.icon-pdf {
    color: #ff0000; /* Rojo PDF */
}

.icon-ticket {
    color: #007bff; /* Azul para el ticket */
}

.icon-detail {
    color: #17a2b8; /* Azul claro para el detalle */
}

.icon-delete {
    color: #dc3545; /* Rojo para eliminar */
}

.icon-returnProduct {
    color: #ffc107; /* Amarillo para devolución  producto*/
}
.icon-returnSale {
    color: #ff0000; /* Rojo para devolución venta */
}

.is-focused:hover{
    background-color:rgb(238, 244, 252);
}

/*ESTILOS BOTONES SALE LIST SIN MENU DESPLEGABLE*/
.button:hover{
    background-color:#fff;
}


/*=====================================================
                    Media  Queries
======================================================*/
@media (max-width: 750px){
    .navLateral{
        pointer-events: none;
        opacity: 0;
        width: 0;
        border-right: none;
    }
    .navLateral-change{
        width: 300px;
        pointer-events: auto;
        opacity: 1;
        border-right: 1px solid #E1E1E1;
    }
    .pageContent{
        width: 100%;
    }
    .pageContent-change{
       width: calc(100% - 300px);
    }
}


@media (max-width: 768px) {
    .is-fullwidth-mobile {
      width: 100%;
    }
  }
  
  @media (min-width: 769px) {
    .is-medium-desktop {
      max-width: 200px; 
    }
  }

  /* Asegurar que el modal no se corte en pantallas pequeñas */
@media (max-width: 768px) {
    #notifications-modal .modal-content {
        width: 95vw; /* Ajustar el ancho al 95% del ancho de la ventana */
        padding: 0.5rem; /* Reducir el padding en pantallas pequeñas */
        margin-right: 0;
        margin-left: 0;
    }
    
    #notifications-modal .modal-close {
        font-size: 1.2rem; /* Reducir el tamaño del ícono de cerrar */
        right: 5px; /* Ajustar posición respecto al borde derecho */
        top: 5px; /* Ajustar posición respecto al borde superior */
    }
}

@media (max-width: 768px) { /* Para tablets y celulares */
    .scrollable-table {
        max-height: 100vh !important; /* Usa un porcentaje de la pantalla para evitar que sea muy pequeña */
    }
}

@media (max-width: 480px) { /* Para celulares más pequeños */
    .scrollable-table {
        max-height: 120vh !important; /* Reduce menos para evitar que se corte */
    }
}


/* Adaptar modal PRINCIPAL en pantallas pequeñas */
@media screen and (max-width: 1024px) { /* Tablets y celulares grandes */
    .modal-card {
        width: 95%; /* Ocupa casi todo el ancho */
        max-width: 95%;
    }
}

@media screen and (max-width: 768px) { /* Celulares y tablets pequeñas */
    .modal-card {
        width: 100%;
        max-width: 100%;
        border-radius: 0; /* Quita bordes para usar todo el espacio */
    }
}

