.main-sidebar {
    background-color: #0D2840 !important; /* tu color actual */
    position: fixed;      /* aseguramos que quede fijo al hacer scroll */
    z-index: 1040;        /* más alto que el navbar (1030) */
}


/* Color de las letras del menú lateral */
[class*="sidebar-light-"] .nav-sidebar > .nav-item:hover > .nav-link {
    background-color: #ffffffff !important;
    color: #0D2840 !important;
    border-radius: 35px 0 0 35px; /* superior izquierdo, superior derecho, inferior derecho, inferior izquierdo */
}



/* Color de los íconos del menú lateral */
[class*="sidebar-light-"] .nav-sidebar > .nav-item:hover > .nav-link .nav-icon {
    color: #063c84 !important;
}

/* Color de fondo submenús */
.nav-sidebar .nav-treeview > .nav-item > .nav-link:hover {
    background-color: #214ADE !important; /* color al pasar el mouse */
    color: #ffffff !important;
}

/* Submenús: solo color azul */
.nav-sidebar .nav-treeview .nav-link {
    color: #ffffff !important;   /* texto blanco */
}

/* Iconos de submenús */
.nav-sidebar .nav-treeview .nav-link i {
    color: #ffffff !important;
}

/* Hover del ícono del submenú cuando pasas el mouse sobre el enlace */
.nav-sidebar .nav-treeview .nav-link:hover i {
    color: #ffffff !important; /* color al pasar el mouse */
}

/* Color Navbar / Altura cabezote */
.main-header.navbar {
    background-color: #f8f9fa; /* tu color actual */
    height: 69px;              /* tu altura actual */
    position: sticky;          /* queda fijo al hacer scroll */
    top: 0;
    z-index: 1030;             /* encima del contenido, pero debajo del sidebar si lo deseas */
}

/* Altura Inline Logo */
.custom-brand-style {
    border-color: #949494ff !important;
    height: 69px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* Color fondo Logo */
.brand-link {
    background-color: #0D2840; /* tu color actual */
}

.logo-container {
    text-align: center;
    margin: 16px 0;
}

/* Dropdowns dentro del navbar */
.main-header .dropdown-menu {
    z-index: 1050 !important; /* siempre encima del navbar */
}

.nav-link-tab {
    background-color: #2196f3 !important;
    border: 1px solid #2196f3;
    border-radius: 19px;
    color: #ffffff !important;
    display: flex;
    flex-direction: row; /* icono + texto en la misma línea */
    align-items: center;
    justify-content: center;
    padding: 4px 8px; /* más pequeño */
    min-width: auto; /* sin ancho mínimo innecesario */
    min-height: 35px; /* sin altura forzada */
    font-size: 12px; /* texto más pequeño */
    gap: 4px; /* espacio pequeño entre ícono y texto */
    text-decoration: none !important;
    box-shadow: #2196f3 0px 6px 6px -4px;
    transition: all 0.3s ease;
    text-align: center;
}

.nav-link-tab i {
    font-size: 12px !important; /* ícono más pequeño */
}


/* Texto */
.nav-link-tab p {
    margin: 0;
    font-size: 12px; /* texto más compacto */
    line-height: 1.1;
}

/* Hace que toda la sección derecha sea flex y alinee centrado */
/* Forzar alineación correcta */
.navbar-nav.ml-auto {
    display: flex !important;
    align-items: center !important;
}

.navbar-nav .nav-item {
    display: flex !important;
    align-items: center !important;
}

/* Separación derecha */
.estadoLicenciaC1,
.estadoLicenciaC2 {
    margin-right: 18px !important;
}

/* --- ESTADOS DE LICENCIA (colores) --- */
.estadoLicenciaD1,
.estadoLicencia1 {
    background: #B6F2D6 !important;
    color: #065F46 !important;
    border: 2px solid #065F46 !important;
    border-radius: 22px !important;
    padding: 6px 14px;
    height: 34px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

/* Fecha activa */
.estadoLicenciaC1 {
    background: transparent !important;
    color: #065F46 !important;
    font-weight: bold;
    font-size: 14px;
    display: block;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
}

.estadoDiasRestantes {
    background: #E6F7EE !important;      /* fondo suave */
    color: #065F46 !important;            /* texto verde */
    padding: 6px 14px !important;
    border-radius: 22px !important;       /* borde redondeado */
    border: 1px solid #065F46 !important; /* color del borde */
    font-size: 14px;
    font-weight: 600;
    display: inline-block !important;
}


/* Versión móvil */
@media (max-width: 600px) {
    .nav-item.mt-2 {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .nav-item.mt-2 .nav-link-tab {
        text-align: center;
        margin: 0 auto;
    }
}


/* Botón rojo de Renovar */
.btn-renovar-rojo {
    background-color: #2196f3 !important;
    color: #ffffff !important;
    border: 2px solid #2196f3 !important; /* borde opcional, combina con el fondo */
}

/* Hover propio (no afecta otros botones) */
.btn-renovar-rojo:hover {
    background-color: #063C84 !important; /* un amarillo más suave */
    border-color: #063C84 !important;
    color: #ffffff !important;
}

/* Botón amarillo de Renovar */
.btn-renovar-amarillo {
    background-color: #2196f3 !important;
    color: #ffffff !important;
    border: 2px solid #2196f3 !important; /* borde opcional, combina con el fondo */
}

/* Hover propio (no afecta otros botones) */
.btn-renovar-amarillo:hover {
    background-color: #063C84 !important; /* un amarillo más suave */
    border-color: #063C84 !important;
    color: #ffffff !important;
}

.btn-suscripciones {
    background-color: #2196f3 !important;
    padding: 6px 14px;
    border-radius: 20px;
    color: white !important;
    display: inline-flex;
    align-items: center;
    gap: 6px; /* separación entre icono y texto */
    font-size: 14px;
}

/* 🔹 Estilo general */
body {
  font-family: Arial, sans-serif;
  background-color: #f0f2f5;
}

/* 🔹 Contenedor principal */
.contenedor-precios {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

/* 🔹 Tabla de precios */
.pricing-table {
  display: flex;
  justify-content: space-between; /* separa las columnas */
  gap: 20px; /* espacio entre columnas */
  max-width: 1200px; /* ancho máximo del contenedor */
  width: 100%; /* ocupa todo el ancho disponible */
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

/* 🔹 Columnas individuales */
.pricing-column {
  flex: 1 1 320px;
  min-width: 300px;
  padding: 20px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* sombra suave */
  border: 2px solid rgba(0,0,0,0.1); /* borde delgado y neutro */
  transition: transform 0.3s ease, border-color 0.3s ease;
}

/* 🔹 Fondos bicolor blanco + azul con curva */
.pricing-column.basic {
  background: radial-gradient(circle at top right, #ffffff 50%, #cdedfc 100%);
  color: #000; /* texto oscuro sobre blanco */
}

.pricing-column.standard {
  background: radial-gradient(circle at top center, #ffffff 60%, #cdedfc 100%);
  color: #000;
}

.pricing-column.profesional {
  background: radial-gradient(circle at top left, #ffffff 50%, #cdedfc 100%);
  color: #000;
}

/* Bordes y sombra para resaltar */
.pricing-column {
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-column:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}


/* Color más suave por plan */
.pricing-column.basic { border-color: #673ab780; }
.pricing-column.standard { border-color: rgba(233, 30, 99, 0.5); }
.pricing-column.profesional { border-color: rgba(255, 152, 0, 0.5); }

/* Hover: un poco más visible pero sin exagerar */
.pricing-column:hover {
  transform: translateY(-6px);
  border-color: rgba(0,0,0,0.2);
}


/* 🔹 Encabezados */
.pricing-column h3 {
  font-size: 24px;
  color: #fff;
  margin-top: 0;
  padding: 10px;
  border-radius: 5px;
}

.pricing-column.basic h3 {
  background-color: #673ab7;
}

.pricing-column.standard h3 {
  background-color: #e91e63;
}

.pricing-column.profesional h3 {
  background-color: #ff9800;
}

/* 🔹 Precios */
.pricing-column p {
  font-size: 16px;
  color: #888;
  margin-bottom: 20px;
}

/* 🔹 Lista de características */
.pricing-column ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.pricing-column li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  color: #555;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pricing-column li:last-child {
  border-bottom: none;
}

/* Mostrar icono antes del texto */
.pricing-column li::before {
  content: var(--icon, '✓');
  margin-right: 8px;
  font-weight: bold;
  font-size: 18px;      /* 🔥 AQUÍ controlas el tamaño */
  line-height: 1;       /* evita que se desalineen */
  color: var(--icon-color, #4caf50);
}

/* Todos los elementos por defecto con ✓ verde */
.basic li, .standard li, .profesional li {
  --icon: '✓';
  --icon-color: #4caf50;
  color: #555; /* color del texto */
}

/* X roja para elementos específicos en Básico y Estándar */
.basic li:nth-child(5),
.basic li:nth-child(6),
.basic li:nth-child(7),
.basic li:nth-child(8),
.basic li:nth-child(9),
.basic li:nth-child(10),
.basic li:nth-child(11),
.basic li:nth-child(12) {
  --icon: '✗';
  --icon-color: #f44336;
}

.standard li:nth-child(10),
.standard li:nth-child(11) {
  --icon: '✗';
  --icon-color: #f44336;
}

/* Profesional: todo ✓ verde */
.profesional li { 
  --icon: '✓'; 
  --icon-color: #4caf50; 
  color: #555;
}

.basic .btn {
  background-color: #673ab7;
}

.standard .btn {
  background-color: #e91e63;
}

.profesional .btn {
  background-color: #ff9800;
}

.btn:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}

/* 🔹 Responsivo */
@media (max-width: 992px) {
  .pricing-column {
    flex: 1 1 48%; /* 2 columnas en tablet */
  }
}

@media (max-width: 768px) {
  .pricing-table {
    flex-direction: column;
  }

  .pricing-column {
    flex: 1 1 100%; /* 1 columna en móvil */
  }
}



.cardCajas {
    border-radius: 9px;
    box-shadow: 0 5px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: rgb(255, 255, 255);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 15px; /* Reducir el espacio entre las tarjetas */
    margin-left: 15px; /* Reducir el espacio entre las tarjetas */
    height: 135px; /* Ajusta este valor según necesites */
    width: 230px;
}

.cardCajas:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.cardCajas .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: #fff;
}

.cardCajas .header i {
    font-size: 1.5rem;
    padding: 11px;
    border-radius: 20%;
}

/* Fuente del título (Ventas del Día) */
.cardCajas .header .data p {
    font-family: 'Roboto', sans-serif; /* Fuente moderna y redondeada */
    font-weight: 600; /* Negrita */
    font-size: 12px;
    margin: 0; /* Margen inferior para separar del valor */
}

/* Fuente del valor/moneda */
.cardCajas .header .data h5 {
    font-family: 'Roboto', sans-serif; /* Igual fuente que el título o distinta si quieres */
    font-weight: 600; /* Seminegrita */
    font-size: 20px;
    margin: 0;
}

.ventas { background: linear-gradient(45deg, #ffffff, #ffffff); }
.ventas i { background: #32cd32ff; }

.reparaciones { background: linear-gradient(45deg, #ffffff, #ffffff); }
.reparaciones i { background: #1a73e8; }

.compras { background: linear-gradient(45deg, #ffffff, #ffffff); }
.compras i { background: #dc3545; }

.caja { background: linear-gradient(45deg, #ffffff, #ffffff); }
.caja i { background: #ff9800; }

.data {
    text-align: right;
}

.data p {
    margin: 0;
    font-size: 11px;
    font-weight: bold;
    color: #808080; /* color del título */
}

.data h5 {
    margin: 0;
    font-weight: bold;
    font-size: 20px;
    color: #000000; /* color del valor */
}

.cardBodyCajas {
    padding: 5px;  /* Reducir aún más el padding dentro de la tarjeta */
    text-align: center;
}

.cardBodyCajas a {
    text-decoration: none;
    color: #fc5c99;
    font-weight: bold;
    font-size: 12px; /* Reducir aún más el tamaño de la fuente del enlace */
    transition: color 0.3s;
}

.cardBodyCajas a:hover {
    color: #303f9f;
}

.cardBodyCajas form {
    margin: 2px 0; /* Reducir aún más el margen de los formularios para generar reportes */
}

.cardBodyCajas form input {
    margin: 1px 0; /* Reducir aún más el margen de los campos ocultos */
}

.zoomable {
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    border-radius: 9px;
    /* Borde redondeado para las imágenes */
}

.zoomable:hover {
    transform: scale(1.1);
}

.balance-card {
    position: relative;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.balance-card img {
    width: 100%;
    height: auto;
    display: block;
}
.balance-text {
    position: absolute;
    top: 50px;
    left: 40px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}
.balance-text h6 {
    font-size: 2.5rem;
}
.balance-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
}
.balance-text p {
    font-size: 0.9rem;
}

.divVentas {
    background-color: #d1ffd1; /* Verde */
    border-radius: 9px;
}

.divReparaciones {
    background-color: #e0ebec; /* Azul */
    border-radius: 9px;
}

.divCompras {
    background-color: #ffeaec; /* Rojo */
    border-radius: 9px;
}

.divCaja {
    background-color: #fcf3cf; /* Naranja */
    border-radius: 9px;
}

.icon-circular {
    background-color: #fff;
    border-radius: 25px;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-left: 48px;
} 
  
  .icon-circular i {
    color: #555; /* o el color que desees */
    font-size: 25px;
  }

.contenedor::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* oscurece con fondo negro semi-transparente */
}

/*
ESCRITORIO SUPER GRANDE (XXL revisamos en 1400px en adelante)
*/
@media (min-width:1400px){
}

/*=============================================
ESCRITORIO PEQUEÑO O TABLET VERTICAL (SM revisamos en 768px)
=============================================*/
@media (max-width:1400px) and (min-width:768px){
    .icon-circular {
        margin-left: 30px;
    }  
 
    .balance-card {
        margin-top: 25px;
    }
 }

/*=============================================
MOVIL (XS revisamos en 320px)
=============================================*/
@media (max-width:767px){
    .saltoCaja{
        display: block !important;
        margin: 5px;
    }

    .estadoLicencia1{
        display: none !important;
    }
    .estadoLicencia2{
        display: block !important;
    }
    .estadoLicenciaC1{
        display: none !important;
    }
    .estadoLicenciaC2{
        display: block !important;
    }
    .estadoLicenciaD1{
        display: none !important;
    }
    .estadoLicenciaD2{
        display: block !important;
    }
    .colCentrar{
        text-align: center !important;
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

/* PANEL SCROLL DEL MODULO DE VENTAS */
.tablaScroll{
    width: 100%;
    height: 250px;
    overflow: auto;
    background-color: #ebedf0; /* color suave */
}

.row.align-items-stretch {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.card-grow {
    flex-grow: 1;
}


#patternContainer {
    width: 300px;
    margin: 30px auto;
}

svg {
    width: 100%;
    height: 100%;
}

#patternLock .dots circle {
  fill: #ccc !important;
  stroke: #333 !important;
  stroke-width: 6 !important;
  r: 15 !important;
}

#patternLock line {
  stroke: #48d41e !important;
  stroke-width: 6 !important;
}

.tarjetas-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tarjeta-header {
    margin-bottom: 10px;
}

.tarjeta-header h4 {
    margin: 0;
    font-weight: 700;
    font-size: 1.75rem;
    color: #0C0B77;
}

.tarjeta-header small {
    font-weight: 500;
    font-size: 1.3rem;
    color: #888888;
}

.precio {
  font-size: 25px;
  font-weight: 600;
  background: #0C0B77;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  margin: 15px auto;
  display: inline-block;
}

.precio-anterior {
    font-size: 0.9em;      /* más pequeño que el precio actual */
    color: #888888;        /* color gris para diferenciarlo */
    text-decoration: line-through; /* tachado */
    margin: 0;             /* para que quede pegado al precio */
}
  
/* Dropdown estilos originales */
.custom-dropdown {
    position: relative;
    display: inline-block;
}

  /* Responsive */
@media (max-width: 1024px) {
    .tarjetas-container {
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .tarjetas-container {
        flex-direction: column;
        align-items: center;
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Contenedor de todos los íconos */
.iconos-contacto {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    margin: 10px 0;
    flex-wrap: wrap;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Contenedor individual de cada ícono + texto */
.icono-contenedor {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Botón ícono redondo */
.boton-icono {
    width: 60px;
    height: 60px;
    background-color: #f1f1f1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    text-decoration: none;
    font-size: 28px;
    color: #333;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 8px;
}

/* Efecto al pasar el mouse */
.boton-icono:hover {
    transform: scale(1.1);
}

/* Texto debajo del ícono */
.icono-texto {
    font-weight: 700;
    font-size: 14px;
    color: #333;
    margin: 0;
    padding: 0;
    user-select: none;
    width: 100%;
}

/* Colores individuales */
.boton-icono.whatsapp {
    background-color: #25D366;
    color: white;
}

.boton-icono.soporte {
    background-color: #ff9800;
    color: white;
}

.boton-icono.youtube {
    background-color: #FF0000;
    color: white;
}

.boton-icono.navegador {
    background-color: #1877F2;
    color: white;
}

.user-menu .dropdown-toggle::after {
    display: none; /* oculta la flecha azul predeterminada */
}

/* 🎯 Ajuste visual para el campo Técnico con Select2 Crear Orden*/
.select2-container .select2-selection--single {
    height: 38px !important;
    padding: 5px 10px !important;
    border: 1px solid #ced4da !important;
    border-radius: 0 0.25rem 0.25rem 0 !important;
    transition: all 0.2s ease-in-out;
}

/* Texto del Select */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
    color: #495057 !important;
    font-size: 14px;
    font-weight: 500;
}

/* Flecha del Select */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    position: absolute !important;
    top: 4px !important;       /* controla la distancia desde arriba */
    right: 6px !important;     /* pegada al borde derecho */
    height: 16px !important;   /* ajusta el tamaño del área de la flecha */
    width: 20px !important;    /* mantiene proporción visual */
    transform: none !important; /* elimina el centrado automático */
}

/* Alineación con el grupo de input */
.input-group .select2-container {
    flex: 1;
}

/* Efecto de enfoque para hacerlo más profesional */
.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-selection--single:active,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #007bff !important;
    box-shadow: 0 0 3px rgba(0, 123, 255, 0.4);
}


/* === Estilo específico para la caja "Por Reparar" === */
.info-box.custom-kpi {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 16px !important;
    box-shadow: 0 6px 14px rgba(13,26,40,0.08) !important;
    position: relative;
    overflow: hidden;
    border: 2px solid #d1d1d1; /* borde gris claro */
    border-top: 7px solid; /* color del acento superior */
    color: inherit !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}


/* Icono dentro de recuadro suave usando variables */
.custom-kpi .info-box-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size:22px;
    background: var(--kpi-bg);
    color: var(--kpi-icon);
    box-shadow: none;
}


/* Contenido (texto) */
.info-box.custom-kpi .info-box-content {
    text-align: center !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
}

/* Título pequeño */
.info-box.custom-kpi .info-box-text p {
    margin: 0 !important;
    font-size: 14px !important;
    color: #666666 !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
}

/* Número principal */
.info-box.custom-kpi .info-box-number h6 {
    margin: 6px 0 0 0 !important;
    font-size: 30px !important;
    color: #111111 !important;
    font-weight: 800 !important;
}

/* Opcional: subtítulo verde (si quieres añadir uno más abajo) */
.info-box.custom-kpi .info-box-sub {
    margin-top: 0px;
    color: #16a34a !important;
    font-weight: 800;
    font-size: 11px;
}

/* Hover sutil */
.info-box.custom-kpi:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(13,26,40,0.2), 0 6px 10px rgba(13,26,40,0.15);
}

.info-box.custom-kpi.bg-warning,
.info-box.custom-kpi.bg-info {
    background: #ffffff !important;
}
/* Caja En Espera */
.box-espera {
    background: #f7b731 !important;
    color: white !important;
}

/* Caja Reparados */
.box-reparados {
    background: #1e90ff !important;
    color: rgb(0, 0, 0) !important;
}

/* Caja Entregados */
.box-entregados {
    background: #32cd32 !important;
    color: white !important;
}

/* Caja Sin Reparación */
.box-sinreparacion {
    background: #ffa726 !important;
    color: white !important;
}

/* Caja Entregados S/R */
.box-entregados-sr {
    background: #293756 !important;
    color: white !important;
}

/* Ajustes generales */
/* info-box-icon i { color: white !important; } */
.box-title { font-size: 11px; margin: 0; }
.box-number { color: white !important; }

/* COLORES DE CADA KPI */
.box-porreparar {
    border-top-color: #7b3cff  !important;
    --kpi-icon: #7b3cff;
    --kpi-bg: rgba(123,60,255,0.3);
}

.box-espera {
    border-top-color: #f7b731 !important;
    --kpi-icon: #f7b731;
    --kpi-bg: rgba(247,183,49,0.3);
}

.box-reparados {
    border-top-color: #1e90ff !important;
    --kpi-icon: #1e90ff;
    --kpi-bg: rgba(30,144,255,0.3);
}

.box-entregados {
    border-top-color: #32cd32 !important;
    --kpi-icon: #32cd32;
    --kpi-bg: rgba(50,205,50,0.3);
}

.box-sinreparacion {
    border-top-color: #ffa726 !important;
    --kpi-icon: #ffa726;
    --kpi-bg: rgba(255,167,38,0.3);
}

.box-entregados-sr {
    border-top-color: #293756 !important;
    --kpi-icon: #293756;
    --kpi-bg: rgba(41,55,86,0.3);
}

/* Aplicar variables al icono */
.custom-kpi .info-box-icon {
    background: var(--kpi-bg) !important;
    color: var(--kpi-icon) !important;
}

/* Estilo para botones de estado "Reparado" */
.btnStatus.reparado {
    background-color: rgba(10, 72, 230, 0.2); /* Fondo opaco */
    border: 1px solid rgb(10, 72, 230);       /* Borde del mismo color */
    color: rgb(10, 72, 230);                   /* Texto intenso */
    width: 150px;       /* más ancho */
    height: 40px;       /* más alto */
    font-size: 14px;    /* texto más grande */
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;          /* espacio entre el punto y la palabra */
    border-radius: 12px; /* bordes redondeados */
    cursor: pointer;
}

/* Punto tipo check delante de la palabra */
.btnStatus.reparado::before {
    content: "";
    display: inline-block;
    width: 12px;       /* tamaño del punto */
    height: 12px;
    background-color: rgb(10, 72, 230); /* mismo color del texto */
    border-radius: 50%;
}
.btnStatus.btn-danger {
    background-color: rgba(255, 0, 0, 0.2) !important;
    border: 1px solid rgb(255, 0, 0) !important;
    color: rgb(255, 0, 0) !important;
    width: 150px;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btnStatus.btn-danger::before {
    content: "";
    width: 12px;
    height: 12px;
    background: rgb(255, 0, 0);
    border-radius: 50%;
}
.btnStatus.btn-success {
    background-color: rgba(50, 205, 50, 0.2) !important;
    border: 1px solid rgb(50, 205, 50) !important;
    color: rgb(50, 205, 50) !important;
    width: 150px;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btnStatus.btn-success::before {
    content: "";
    width: 12px;
    height: 12px;
    background: rgb(50, 205, 50);
    border-radius: 50%;
}
.btnStatus.btn-warning:not(.en-espera):not(.entregado-sr) {
    background-color: rgba(255, 167, 38, 0.2) !important;
    border: 1px solid #ffa726 !important;
    color: #ffa726 !important;
    width: 150px;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btnStatus.btn-warning:not(.en-espera):not(.entregado-sr)::before {
    content: "";
    width: 12px;
    height: 12px;
    background: #ffa726;
    border-radius: 50%;
}
.btnStatus.btn-warning.en-espera {
    background-color: rgba(255, 234, 0, 0.2) !important;
    border: 1px solid #ffea00 !important;
    color: #000000 !important;
    width: 150px;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btnStatus.btn-warning.en-espera::before {
    content: "";
    width: 12px;
    height: 12px;
    background: #e9d500;
    border-radius: 50%;
}
.btnStatus.btn-warning.entregado-sr {
    background-color: rgba(41, 55, 86, 0.2) !important;
    border: 1px solid #293756 !important;
    color: #293756 !important;
    width: 150px;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btnStatus.btn-warning.entregado-sr::before {
    content: "";
    width: 12px;
    height: 12px;
    background: #293756;
    border-radius: 50%;
}

      /* ===== Activado ===== */
.btnActivar.btn-success {
    background-color: rgba(50, 205, 50, 0.2) !important; /* Fondo opaco */
    border: 1px solid rgb(50, 205, 50) !important;       /* Borde del mismo color */
    color: rgb(50, 205, 50) !important;                  /* Texto intenso */
    width: 150px;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    cursor: pointer;
}

/* Puntito delante de la palabra */
.btnActivar.btn-success::before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: rgb(50, 205, 50);
    border-radius: 50%;
}

/* ===== Desactivado ===== */
.btnActivar.btn-danger {
    background-color: rgba(255, 0, 0, 0.2) !important;  /* Fondo opaco */
    border: 1px solid rgb(255, 0, 0) !important;        /* Borde del mismo color */
    color: rgb(255, 0, 0) !important;                   /* Texto intenso */
    width: 150px;
    height: 40px;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    cursor: pointer;
}

/* Puntito delante de la palabra */
.btnActivar.btn-danger::before {
    content: "";
    width: 12px;
    height: 12px;
    background-color: rgb(255, 0, 0);
    border-radius: 50%;
}

.overlayPrincipal2 {
    position: absolute;  /*Sit on top of the page content */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(220, 220, 220, 0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
    display: none;
}
.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    margin: -75px 0 0 -75px;
    width: 120px;
    height: 120px;
}

/* Estilos botones de ventas */
.btn-verde-claro {
    background: linear-gradient(135deg, #637dcc, #5275dd);
    color: #ffffff;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 14px !important;
}

/* Hover gris claro */
.btn-verde-claro:hover {
    background-color: #d2e0d2 !important; /* Gris claro */
}

/* eSTILO BOTONES DE CREDITO Y VENTAS REALIZADAS */
.btnHeaderWhite {
    background-color: #0D2840;
    color: #ffffff;
    border: 1px solid #404040;
    border-radius: 9;
    font-weight: 700;
    padding: 6px 14px;
    font-size: 13px;
}

.btnHeaderWhite i {
    color: inherit;
}

.btnHeaderWhite:hover {
    background-color: #dcdcdc;   /* gris MÁS OSCURO */
    border-color: #404040;
    color: #0D2840;
    text-decoration: none;
}



/* Estilo boton cantidad en ventas */
.icono-cantidad {
    display: inline-flex;
    width: 20px;
    height: 20px;
    background: #d9ecff; /* fondo más claro */
    color: #0055cc; /* azul intenso */
    font-weight: bold;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px;
}

/* Estilo boton eliminar en ventas */
.icono-eliminar {
    display: inline-flex;
    width: 20px;
    height: 20px;
    background: #ffe5e5; /* fondo suave */
    color: #e07a7a; /* rojo muy suave para el ícono */
    font-weight: bold;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px;
}

/* Estilo boton impuesto en ventas */
.icono-impuesto {
    display:inline-flex;
    width:20px;
    height:20px;
    background:#f3e8ff; /* lila claro */
    color:#6a00d9;      /* morado */
    font-weight:bold;
    align-items:center;
    justify-content:center;
    border-radius:3px;
    font-size:12px;
    margin-right:5px;
}

/* Estilo boton descuento en ventas */
.icono-descuento {
    display:inline-flex;
    width:20px;
    height:20px;
    background:#ffe9cc; /* naranja claro */
    color:#ff8a00;      /* naranja intenso suave */
    font-weight:bold;
    align-items:center;
    justify-content:center;
    border-radius:3px;
    font-size:12px;
    margin-right:5px;
}

/*
ESCRITORIO SUPER GRANDE (XXL revisamos en 1400px en adelante)
*/
@media (min-width:1400px){
    .tamanoSweetAlert { 
        width: 900px !important;
    }
}

/*
ESCRITORIO GRANDE (XL revisamos en 1200px)
*/
@media (max-width:1399px) and (min-width:1200px){
    .tamanoSweetAlert { 
        width: 900px !important;
    }
}

/*
ESCRITORIO MEDIANO O TABLET HORIZONTAL (LG revisamos en 1000px)
*/
@media (max-width:1199px) and (min-width:992px){
    .tamanoSweetAlert { 
        width: 800px !important;
    }
}

/*
ESCRITORIO PEQUEÑO O TABLET VERTICAL (MD revisamos en 840px)
*/
@media (max-width:991px) and (min-width:768px){
    .tamanoSweetAlert { 
        width: 700px !important;
    }
}

.modal-content {
    animation: modalSlideIn 0.3s ease-out !important;
    border-radius: 12px !important;
}
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, #4361ee, #3f37c9) !important;
    color: #fff !important;
}

.btnDanger {
    background: linear-gradient(135deg, #ff6b6b, #d32f2f) !important; /* degradado rojo */
    color: #ffffff !important;
    border: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
}

/* Hover */
.btnDanger:hover {
    background: linear-gradient(135deg, #ff0000, #8b0000);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(255, 0, 0, 0.55);
    color: #ffffff;
}

.btnPrimary {
    background: linear-gradient(135deg, #637dcc, #5275dd) !important;
    color: #ffffff !important;
    border: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
}

/* Hover efecto tipo "Agregar" */
.btnPrimary:hover {
    background: linear-gradient(135deg, #2196f3, #0d47a1);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(21, 101, 192, 0.55);
    color: #ffffff;
}

.btnDefault {
    background-color: rgba(128, 128, 128, 0.2) !important;
    color: gray !important;
    border: 1px solid gray;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
}

.btnSuccess {
    background: linear-gradient(135deg, #32cd32, #32cd32) !important;
    color: #ffffff !important;
    border: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
}

/* Hover efecto tipo "Agregar" */
.btnSuccess:hover {
    background: linear-gradient(135deg, #23D946, #23D946);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(21, 101, 192, 0.55);
    color: #ffffff;
}

.btnWarning {
    background: linear-gradient(135deg, rgb(255, 140, 0), rgb(255, 140, 0)) !important; /* degradado rojo */
    color: #ffffff !important;
    border: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
}

/* Hover */
.btnWarning:hover {
    background: linear-gradient(135deg, #DE9521, #DE9521);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px #DE9521;
    color: #ffffff;
}

.btnBlue {
    background: linear-gradient(135deg, rgb(10, 72, 230), rgb(10, 72, 230)) !important; /* degradado rojo */
    color: #ffffff !important;
    border: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
}

/* Hover */
.btnBlue:hover {
    background: linear-gradient(135deg, #214ADE, #214ADE);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px #214ADE;
    color: #ffffff;
}

.btnBlack {
    background: linear-gradient(135deg, #293756, #293756) !important; /* degradado rojo */
    color: #ffffff !important;
    border: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
}

/* Hover */
.btnBlack:hover {
    background: linear-gradient(135deg, #494D4D, #494D4D);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px #494D4D;
    color: #ffffff;
}

.filepond--action-remove-item svg {
    background: red;
}

.select2-container--default .select2-selection--single {
    border-radius: 4px !important;
}