﻿.modal-xxl {
    max-width: 1600px; /* tu ancho preferido */
    width: 98%; /* nunca más ancho que el 90% de la pantalla */
}

input[readonly] {
    background-color: #fff !important;
    cursor: pointer; /* opcional: muestra que se puede clicar */
}

.footer-text {
  line-height: 1.50 !important; /* fuerza interlineado más chico */
  margin-bottom: 0 !important; /* quita espacio inferior extra */
  padding-bottom: 20px !important;
}

.custom-file-label::after {
    content: "Seleccionar Archivo" !important;
}
.tabla-excel {
    border-collapse: collapse;
    width: 100%;
    font-family: Arial, sans-serif;
}

.tabla-excel th,
.tabla-excel td {
    border: 1px solid #999;
    padding: 8px;
    text-align: center;
}

.tabla-excel thead .col-header {
    background-color: #f2f2f2;
    font-weight: bold;
}

.tabla-excel thead .titulo-header {
    background-color: #cce5ff; /* Azul celeste */
    font-weight: bold;
}

.tabla-excel .fila-header {
    background-color: #f2f2f2;
    font-weight: bold;
    width: 40px;
}

.tabla-excel caption {
    font-weight: bold;
    margin-bottom: 10px;
    caption-side: top;
}

.tooltip-inner {
    max-width: 400px !important; /* Importante para sobrescribir Bootstrap */
    white-space: normal;
}
.icon-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px; /* Ajustá según lo que quieras */
    text-align: center;
    line-height: 1;
}

.bg-warning-light {
    background-color: #ffe58f !important; /* un amarillo más claro */
}
.seleccionado {
    opacity: 0.5; /* Ajusta el nivel de transparencia (0 completamente transparente, 1 completamente opaco) */
}

.tooltip-inner {
    text-align: left !important; /* Alinea el contenido del tooltip a la derecha */
}
/*============================================================================================*/
/* Badge para aviso de factura enviada
/*============================================================================================*/
.icon-with-badge {
    position: relative;
    display: inline-block;
    font-size: 18px;
}

    .icon-with-badge::after {
        content: "";
        position: absolute;
        top: -2px;
        right: -2px;
        width: 14px; /* más grande que antes */
        height: 14px;
        background-color: green;
        border-radius: 50%;
        border: 2px solid white; /* Para que resalte sobre cualquier fondo */
    }
/*============================================================================================*/
/* Facturacion
/*============================================================================================*/
.factura-nueva-border {
    border-right: 10px solid #ff0000;
}
.factura-en-curso-border {
    border-right: 10px solid #ffff00;
}
.factura-cerrada-border {
    border-right: 10px solid #069921;
}
/*============================================================================================*/
/* Pagos
/*============================================================================================*/
.pago-sin-facturar-border {
    border-right: 10px solid #ff0000;
}
.pago-sin-imputar-border {
    border-right: 10px solid #ff0000;
}

.pago-facturado-parcialmente-border {
    border-right: 10px solid #ffe58f !important;
}
.pago-imputado-parcialmente-border {
    border-right: 10px solid #ffe58f !important;
}
.pago-facturado-border {
    border-right: 10px solid #069921;
}
.pago-imputado-border {
    border-right: 10px solid #069921;
}
/*============================================================================================*/
/* Prioridades de Pedidos
/*============================================================================================*/
.prioridad-1-border {
    border-right: 10px solid #ff0000;
}
.prioridad-2-border {
    border-right: 10px solid #fba544;
}
.prioridad-3-border {
    border-right: 10px solid #ffff00;
}
.prioridad-4-border {
    border-right: 10px solid #a1ff14;
}
.prioridad-5-border {
    border-right: 10px solid #069921;
}
.prioridad-1-option {
    background-color: #ff0000;
    color:#FFFFFF;
}
.prioridad-2-option {
    background-color: #fba544;
    color: #FFFFFF;
}
.prioridad-3-option {
    background-color: #ffff00;
    color: #000;
}
.prioridad-4-option {
    background-color: #a1ff14;
    color: #000;
}
.prioridad-5-option {
    background-color: #069921;
    color: #FFFFFF;
}

/*============================================================================================*/
/* Submenu
/*============================================================================================*/
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}
    
/*============================================================================================*/
/* Printing
/*============================================================================================*/
@media print {
    .btn {
        display: none;
    }

    .noprint {
        display: none;
    }

    @page {
        margin: 0;
    }

    body {
        margin: 1cm;
        color: #000 !important;
    }

    /*Se imprime el tag completo en la misma pagina, no se corta con el page break*/
    .print-unified {
        break-inside: avoid;
        padding-top: 40px;
    }
}
/*============================================================================================*/
/* Loader de pagina
/*============================================================================================*/
.contenedor_loader{
    background-color:#FFF;
    position: fixed;
    width:100vw;
    height:100vh;
    z-index:9999;
    transition: all 1.5s;
    display:flex;
    align-items: center;
    justify-content: center;
}
.loader,
.loader:before,
.loader:after{
    border-radius: 50%;
    width:2.5em;
    height: 2.5em;
    animation: loader 1.5s infinite ease-in-out;
}
.loader {
    color: #2124b1;
    font-size: 13px;
    position: relative;
    animation-delay: -0.16s
}
.loader:before,
.loader:after {
    content:'';
    position:absolute;
    top:0;
}
.loader:before{
    left:-3.5em;
    animation-delay: -0.32s;
}
.loader:after {
    left: 3.5em;
}
@keyframes loader{
    0%,
    80%,
    100% {
        box-shadow:0 2.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

/*============================================================================================*/
/* Texto blanco para Navbar
/*============================================================================================*/

.navbar-light .navbar-nav .nav-link {
    color: #fff;
}

/*============================================================================================*/
/* Gradiente para estados
/*============================================================================================*/
.gradiente-info {
    background: linear-gradient(to right, #17a2b8, #FFF)
}

/*============================================================================================*/
/* BG para Pedidos sin asignar
/*============================================================================================*/
.no-asignado {
    background-color: indianred;
    border-radius:10px;
}

/*============================================================================================*/
/* Puntero "hand" sobre los <i> */
/*============================================================================================*/
.pointer {
    cursor: pointer;
}
.pointerOriginal {
    cursor: pointer;
}

/*============================================================================================*/
/* Modal de todo el ancho del contenedor */
/*============================================================================================*/
.modal-xl {
    width: 100%;
}

/*============================================================================================*/
/* Navbar del brand */
/*============================================================================================*/
a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
    color: #fff;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}
