/* fuentes */
@font-face {
    font-family: "titlesGrandes" ;
    src: url(../fonts/Roboto-BoldCondensed.ttf);
}
@font-face {
    font-family: "titles" ;
    src: url(../fonts/Roboto-Bold.ttf);
}
@font-face {
    font-family: "subtitle" ;
    src: url(../fonts/Roboto-Medium.ttf);
}
@font-face {
    font-family: "text" ;
    src: url(../fonts/Roboto-Regular.ttf);
}

/* fin de fuentes */

body{
    box-sizing: border-box;  
    background-color: var(--fondo); 
}

.wrapper{
    position: static !important;
    min-height: 87vh !important;
}

/* COLORES GENERALES */
:root {
    --fondo:#ffffff;
    --opacidad:#e8edf186;
    --intercaladoDeGrillas:#e8edf1;
    --detalles:#001c55;
    --Funcionalidades:#1e9c4d;
    --acciones:#ff7128;
    --titulosGrandes:#000000ad;
}


/*LINE*/

.line{
    border: #000 1px solid;
}

 /* FONDO LOGIN */

.login-page{
    background-image: url(../images/FONDO.png) !important;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    top: 0;
    left: 0;   
    min-height:100vh; 
    min-width: 100vw;
    overflow: hidden;
}

.login-page::before{
    content: "";
    position: fixed;
    width: 100vw;
    height: 111%;
    background-color: #ff71282e;
} 

.login-page::after {
    content: "";
}

  /* LOGO */

.LOGO {
    position: absolute;
    bottom: 4rem;
    right: 2rem;
    text-align: center;
    margin-right: 1rem;
}
  
.titulo-logo {
    display: block;
    margin: 0;
    font-family: 'title', sans-serif;
    font-size: calc(18px + (60 - 18) * ((100vw - 300px) / (1920 - 320)));
    color: var(--detalles);
    font-weight: 700;
}
  
.LOGO p {
    display: block;
    color: var(--detalles);
    margin: 0;
    font-family: 'subtitle', sans-serif;
    font-size: calc(10px + (24 - 10) * ((100vw - 300px) / (1920 - 320)));
}
  

/* FORMULARIO */

.login-box{
    background: transparent; /* fondo */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /*centrado*/
    width: 100%;
    height: auto;
    overflow: hidden;
}

.login-box-body{
    max-width: 600px; /* anchura maxima del formulario en desktop */
    margin-left: auto;
    margin-right: auto;
    height: 400px;
    overflow: hidden;
    text-align: center;
}

/* TITULO */

.login-box-titulo{
    font-family: 'title', sans-serif;
    font-size: 2rem;
    color: var(--detalles);
}

.cont-input{
    padding: 0.75rem;
    position: relative;  
}

.cont-input .form-inputs{
    display: block;
    height: 1.75rem;
    outline: 0;
    /* border: 1px solid var(--fondo); */
    background-color: var(--fondo);
    height: 2.5rem;
    border-radius: 3px;
    padding: 10px 15px;
    margin: 0 auto 10px auto;
    display: block;
    text-align: center;
    font-size: 1rem;
    transition-duration: 0.25s;
    /* box-shadow: 0px 0px 0px 2px rgb(255 255 255 / 40%), 0px 4px 5px rgb(0 0 0 / 33%); */
    font-family: 'subtitle', sans-serif;
}

.cont-boton-login{
    width: 100%;   
}

.boton-login {
    height: 2.5rem;
    outline: 1px solid var(--acciones);
    background-color: var(--acciones);
    border: 0;
    color: #ffff;
    border-radius: 3px;
    width: inherit;
    cursor: pointer;
    font-family: "subtitle" , sans-serif;
    font-size: 1rem;
    box-shadow: 0px 0px 0px 2px rgb(255 255 255 / 40%), 0px 4px 5px rgb(0 0 0 / 33%);
    transition: all 2seg linear;
}

.boton-login:hover{
    transform: scale(1.02);
}

/*..................................
............HEADER................*/
/* .navbarPrincipal img{
   width: 1.50em;
}  */
.navbar--bg{ 
    background-color: var(--intercaladoDeGrillas);
}
   
/* .logotipo{
    font-family: "title" , sans-serif;
    color:#888BBF; 
    font-weight: bold;
} */
/* .logotipo:hover{
    color: #151859; 
    opacity: 0.7;
} */
   
.icono-collapse--color{ /*color LINKS menu*/
    color: var(--Funcionalidades);
}
   
/* links menu */
   
.content__linkMenu ul li a{
    color: #000;
    font-family: "subtitle" , sans-serif;
}
   
.content__linkMenu ul li a:hover{
    opacity: 0.7;
}
   
.icono--config{
    color: var(--Funcionalidades);
    transition: all 2seg linear;
}
   
.icono--config:hover,
.icono--salir:hover{
    transform: scale(1.5);
}
   
.icono--salir{
    color: #ff0000;
    transition: all 2seg linear;
}
   
   
/* caja-desplegable */
   
.dropdown-toggle::after{
    content: "";
    display: none !important;
}
   
.caja--desplegable {
    left:inherit!important;   
}
   
.caja--desplegable > a{
    color: #000;
    font-family: "text" , sans-serif;
    cursor: pointer;
}
   
.caja--desplegable > a:hover{
    color: var(--Funcionalidades);
    background-color: #ffffff !important;
}

.caja--desplegable > .item-desplegable:hover{
    color: var(--Funcionalidades);
    font-weight: 700;
}
   
@media (max-width: 990px){
    .caja--desplegable {
        left: none;
            } 
}
   
.content__perfil{ /*perfiles del sistema*/
    font-family: "text" , sans-serif;
    font-size: small;
    font-weight: 400;
    background-color: #fff;
    padding: 0.3rem 0.3rem;
    outline: 1px solid var(--Funcionalidades);
    border-radius: 5%;
}
   


/*...................................
.......... FOOTER.................. */

.content__footer{
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-color: transparent;
}

.content__footer .COPYRIGHT{
    display: flex;
    justify-content: center;
    align-items: center;
}

.COPYRIGHT ul {
    margin: 0;
    padding: 10px 0 10px 0px;
}

.COPYRIGHT li{
    list-style: none;
    color: var(--titulosGrandes);
    font-family: 'subtitle', sans-serif;
    font-weight: 400;
    padding: 0 1rem 0 1rem;
    text-align: center;
    font-size: calc(10px + (15 - 10) * ((100vw - 300px) / (1920 - 320)))
}

.COPYRIGHT li a{
    color: var(--titulosGrandes);
    font-family: 'subtitle', sans-serif;
    font-weight: bold;
    transition: all 0.5s ease-in-out;
}

.COPYRIGHT li a:hover{
    color: var(--acciones);
}




/*.................................
...... PAGINA DE INICIO ..........*/

.LOGO-INICIO {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
  
.titulo-logo-inicio {
    display: block;
    margin: 0;
    font-family: 'title', sans-serif;
    font-size: calc(32px + (80 - 32) * ((100vw - 300px) / (1920 - 320)));
    color: var(--detalles);
    font-weight: 700;
}
  
.LOGO-INICIO p {
    display: block;
    color: var(--detalles);
    margin: 0;
    font-family: 'subtitle', sans-serif;
    font-size: calc(16px + (38 - 16) * ((100vw - 300px) / (1920 - 320)));
}

.loginPage--background::before{
    content: "";
    position: fixed;
    width: 100vw;
    height: 111%;
    background-color:var(--opacidad);
} 




/* USUARIOS.PHP */

.content__total{ 
    max-width: 80vw;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* section content-header*/
.content-header{
    padding: 15px 0 !important;
    margin-top: 5em;
    position: relative;
}

.migas{
    display: none;
}

/* RESPONSIVE DESIGNE */

@media screen and (min-width: 992px){
    .migas {
        display: block;
    }
    .migas ol{
        background-color: transparent; 
    }
  }

.migas > ol > li,
.migas > ol > li > a {
    color: #000;
    font-family: "text" , sans-serif;
}

.migas > ol > li > a:hover{
    opacity: 0.7;
}

.content-header > h4{
    font-family: "title" , sans-serif;
    font-weight: 700;
    font-size: calc(16px + (32 - 16) * ((100vw - 300px) / (1920 - 320)));
    text-align: center;
    color: var(--detalles);
    text-transform: uppercase;
    padding: 1rem;
    border-bottom: 2px solid var(--detalles);
    margin-top: 1rem;
}


.content-header > h3{
    font-family: "title" , sans-serif;
    font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1920 - 320)));
    font-weight: 700;
    color: var(--acciones);
    text-align: center;
    margin-top: 1rem;
}
/* fin content-header  */

/* section body__usuarios */

.boton-style { 
    display: block;
    width: 150px;
    height: 45px;
    background-color: var(--acciones);
    border: none;
    border-radius: 5%;
    margin-bottom: 1.5rem;
    color: #fff;
    font-family: "text" , sans-serif;
    box-shadow: 0px 0px 0px 3px rgb(255 255 255 / 10%), 0px 2px 1px rgb(0 0 0 / 54%);
    transition: all 2seg linear;
}

.boton-style:hover {
   transform: scale(1.02);
}

.grupo__botones-precios{
    width: 100%;
    display: flex;
}




/* tabla */

.content__tabla > tr > th{
  font-family: "text" , sans-serif;
  color: var(--titulosGrandes);
}

/* ...................................................
............fin de usuarios ............................
.......................................................*/


/* modal usuario nuevo */

.header__modal--generales{
    background-color: var(--intercaladoDeGrillas);
}

.modal-title{
    font-family: "title" , sans-serif; 
    font-size: 1.75rem;
    font-weight: 700;
    margin-left: 1.5rem;   
    color: var(--detalles);
}

.header__modal--generales .close > span{
    color: #ff0000;
} 

.header__modal--generales .close {
    padding: 5px !important;
    margin: 0 !important;
}

/* fin del header */

.body__modal--general {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
}

.icono__input--usuario{ /*iconos centrados*/
    margin-right: 0.9rem;
    margin-top: 0.3rem;
}

.input--usuarios{
    font-family: "text" , sans-serif;
    background-color:#e8edf14d !important;
}

.btn__usuarios--salir,
.btn__usuarios--enviar{
    width: 40vw;
    height:auto;
    align-items: center;
    font-family: "text" , sans-serif;
    border-radius: 5%;
    box-shadow: 0px 0px 0px 3px rgb(255 255 255 / 10%), 0px 2px 1px rgb(0 0 0 / 54%);
    transition: all 2seg linear;
}

.btn__usuarios--salir{
    background-color: var(--intercaladoDeGrillas) !important;
}

.btn__usuarios--enviar{
    background-color: var(--acciones) !important;
    color: #fff !important;
}

.btn__usuarios--enviar:hover,
.btn__usuarios--salir:hover {
    transform: scale(1.02);
}

.nota--modal{
    color:red;
    font-size:11px;
    font-family: "text" , sans-serif;
    padding: 0rem 0rem 0.5rem 2rem;
}

@media screen and (min-width:576px){
    .btn__usuarios--salir,
    .btn__usuarios--enviar{
        width: 13vw;
}

} 

@media screen and (min-width: 992px){
.btn__usuarios--salir, .btn__usuarios--enviar {
    width: 100%;
    height: auto;
}
}


/* FORMULARIOS */


.form--body h5{
   font-size: calc(16px + (20 - 16) * ((100vw - 300px) / (1920 - 320)));
   font-family: "subtitle", sans-serif;
   color: var(--Funcionalidades);
   white-space: nowrap;
   /* margin-bottom: 2rem; */
}

.form-style .control-label{
    font-family: "text", sans-serif !important;
    
}

.label-line{
   text-align:left;
}

.text-align{
    text-align:start;
    white-space: nowrap;
}


@media screen and (min-width:768px) {
    .text-align{
        text-align:end;
    }
}

/* BOTONES ENVIAR / SALIR */
.box-footer{
    text-align: center;
    margin-bottom: 2rem;
}

/* ................... */
/* MODAL PERFILES */
/* .................... */

button.nuevoPerfil{
    background-color: var(--acciones);
    color: #ffffff;
    margin-left: 4px;
    transition: all 2s linear;
}

.icono-nuevoPerfil:hover{
    color: #fff;
    transform: scale(1.3);
}


/* cambiar seleccion de perfiles */

.tit-selec-permisos{
    font-family: "text" ,sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--Funcionalidades);
    margin-top: 32px;
    border-bottom: 1px solid var(--Funcionalidades);    
}

.check-permiso{
    margin-right: 4px;
    font-family: "text", sans-serif;
}


/* CLIENTES-GESTION */

.content-icon-truck > button{
    outline: 2px solid var(--acciones);
    transition: all 2s linear;
}

.content-icon-truck > button .icon-truck{
    color: var(--acciones);
}

.content-icon-truck > button .icon-truck:hover{
    transform: scale(1.3);
}
  
  h2 {
    margin: 50px 0;
  }
  
  section {
    flex-grow: 1;
  }
  
  .file-drop-area {
    position: relative;
    display: flex;
    align-items: center;    
    max-width: 100%;
    padding: 25px;
    border: 1px dashed rgba(6, 5, 5, 0.4);
    border-radius: 3px;
    transition: 0.2s;
    &.is-active {
      background-color: rgba(255, 255, 255, 0.05);
    }
  }
  
  .fake-btn {
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    padding: 8px 15px;
    margin-right: 10px;
    font-size: 12px;
    text-transform: uppercase;
  }
  
  .file-msg {
    font-size: small;
    font-weight: 300;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .file-input {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: 0;
    &:focus {
      outline: none;
    }
  }


 /* GESTION CLIENTES */

 /* btn borrar direccion cliente */
 button.btnEliminarDomEntrega{
    border: none;
    background-color: transparent;
 }

 button.deleteProduct{     
    border: 0px;    
    filter: brightness(1.1);
    mix-blend-mode: multiply;
 }

 .imgDelete{
    filter: drop-shadow(-2px 2px 15px rgba(0, 0, 0, 0.7));
 }

 button.returnProduct{
    /* border: 1px solid var(--acciones);
    border-radius: 5px;
    box-shadow: 2px 2px 2px 2px rgba(0.15, 0.15, 0.15,0.15); */
    filter: drop-shadow(-2px 2px 15px rgba(0, 0, 0, 0.7));
    filter: brightness(1.1);
    mix-blend-mode: multiply;
 }

.mt-100{
    width: 40%;
    z-index:2;
}


/*STOCK INGRESANTES*/
.style__btnActualizarStockIngresantesBase{
    border: none;
    background-color: #fff;
    transition: all 2ms linear;
}
.style__btnActualizarStockIngresantesBase:hover{
    transform: scale(1.2);
}

.fa-plus:hover {
   cursor: pointer;
}

input[type="checkbox"] {        
    width: 20px;
    height: 20px;
    color: black;
}

input[type="checkbox"]:checked {
    width: 20px;
    height: 20px;
    color: blue;     
}

#tablaCuentasCorrientesClientes tbody tr:last-child {
  position: sticky;
  bottom: 0;
  background-color: white; /* O el color deseado */
  z-index: 10; /* Asegura que la fila esté por encima de otras */
}

/* CSS para los anchos de divs de totales en tabla productos */

.total-personalizado {
    /* Estilos base */
    box-sizing: border-box !important;
    display: inline-block !important;
    vertical-align: top !important;

    /* Estilos específicos de tu diseño */
    font-weight: bold !important;
    font-size: 20px !important;
    text-align: right !important;
    padding: 0.75rem !important; /* Padding estándar de Bootstrap para celdas */
    margin: 0 5px 0 0 !important;

    /* Reset de márgenes/padding de Bootstrap (si los hubiera) */
    float: none;

    /* Para que acepte el ancho que le demos desde JS */
    min-width: 0;
    max-width: none;

    /* Asegurar que el texto no fuerce el ancho */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Media query específica para totalGeneralMonto en pantallas < 1201px */
@media (max-width: 1200px) {
    .totalGeneralMonto {
        width: 143px !important;
        min-width: 143px !important;
        max-width: 143px !important;
    }
}

/* Para pantallas grandes */
@media (min-width: 992px) {
    .total-personalizado {
        display: inline-block !important;
    }
}

/* Para pantallas medianas */
@media (max-width: 991px) and (min-width: 768px) {
    .total-personalizado {
        display: inline-block !important;
        margin-bottom: 5px;
    }
}

/* Para pantallas pequeñas (móviles) */
@media (max-width: 767px) {
    .form-group.row.col-12 {
        display: flex;
        flex-direction: column;
    }

    .total-personalizado {
        width: 100% !important; /* Forzar ancho completo */
        margin-bottom: 10px;
        margin-right: 0 !important;
    }

    #totalGeneralCantidadVendida {
        margin-right: 0 !important;
    }
}