
.bandera_pais {
    display: inline-block;
    /* Para que los elementos se alineen en línea */
    margin: 10px;
    /* Agrega margen alrededor de cada bandera */
    text-align: center;
    /* Centra el texto debajo de la imagen */
}

.bandera_pais img {
    margin-bottom: 5px;
    /* Separación entre la imagen y el texto */
}

/* Asegura que las banderas se distribuyan de manera uniforme en filas */
.row.g-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Centra las banderas horizontalmente */
}

.col-2 {
    flex: 0 0 16%;
    /* Cada columna ocupa aproximadamente el 16% del ancho */
    max-width: 16%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .col-2 {
        flex: 0 0 25%;
        /* En pantallas más pequeñas, las banderas ocupan un 25% */
        max-width: 25%;
    }
}

@media (max-width: 480px) {
    .col-2 {
        flex: 0 0 50%;
        /* En pantallas aún más pequeñas, las banderas ocupan el 50% */
        max-width: 50%;
    }
}

.main-sidebar {
    background-color: #cf3040 !important; /* tu color actual */
    position: fixed;      /* aseguramos que quede fijo al hacer scroll */
    z-index: 1040;        /* más alto que el navbar (1030) */
}


[class*="sidebar-light-"] .nav-sidebar > .nav-item:hover > .nav-link {
    background-color: #ffffffff !important;
    color: #063C84 !important;
    border-radius: 35px 0 0 35px; /* superior izquierdo, superior derecho, inferior derecho, inferior izquierdo */
}

[class*="sidebar-light-"] .nav-sidebar > .nav-item:hover > .nav-link .nav-icon {
    color: #063c84 !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 de submenús */
.nav-sidebar .nav-treeview .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.329) !important; /* fondo ligero */
    color: #063C84 !important;                               /* texto blanco al pasar mouse */
}

/* Hover del ícono cuando pasas el mouse sobre el enlace */
.nav-sidebar .nav-treeview .nav-link:hover i {
    color: #063C84 !important; /* color al pasar el mouse */
}

/* Navbar / cabezote fijo */
.main-header.navbar {
    background-color: #063C84; /* tu color actual */
    height: 81px;              /* 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 */
}

/* Logo */
.brand-link {
    background-color: #063C84; /* 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 */
}


.btns{
    display: inline-block;
    text-decoration: none;
    color: rgb(82, 142, 150);
    width: 122px;
    font-size: 20px;
    height: 120px;
    line-height: 120px;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
    box-shadow: inset 0px 2px 0 rgba(255,255,255,0.3), 0 2px 2px rgba(0, 0, 0, 0.3);
    font-weight: bold;
    border-bottom: solid 1px #549fa9;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.65);
    transition: .4s;
    cursor: pointer;
}

body {
    font-family: Arial, sans-serif;
}

.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);
}

.modal-img {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-img img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 9px;
    /* Borde redondeado para la imagen en zoom */
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.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){
    .tablaScroll{
        /* width: 100%; */
        height: 175px;
        overflow: auto;
        /* height: expression(this.scrollHeight > 301? "300px": "auto"); */
    }
    .btnCobrar{
        width: 40%;
    }
}

/*=============================================
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;
    }
    .tablaScroll{
        /* width: 100%; */
        height: 175px;
        overflow: auto;
        /* height: expression(this.scrollHeight > 301? "300px": "auto"); */
    }
    .btnCobrar{
        width: 40%;
    }
 }

/*=============================================
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;
    }
    .dropdownAcc{
        display: block !important;
    }
    .btnAcc{
        display: none !important;
    }
    .agregarProductoVenta{
        display: none;
    }
    .detalleVenta{
        display: none;
    }
    .colCentrar{
        text-align: center !important;
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

.row.align-items-stretch {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.card-grow {
    flex-grow: 1;
}

.nav-link-tab {
    background-color: transparent !important;
    border: 1px solid white;
    border-radius: 12px;
    color: white !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 10px; /* menos padding */
    min-width: 70px; /* ancho mínimo más pequeño */
    min-height: 50px; /* altura mínima reducida */
    text-decoration: none !important;
    box-shadow: white 0px 10px 8px -6px;
    transition: all 0.3s ease;
    text-align: center;
}

/* Icono */
.nav-link-tab i {
    font-size: 20px; /* icono un poco más pequeño */
    margin-bottom: 4px;
    line-height: 1;
}

/* Texto */
.nav-link-tab p {
    margin: 0;
    font-size: 12px; /* texto más compacto */
    line-height: 1.1;
}


/* Solo cambio tamaño letra en móvil */
@media (max-width: 600px) {
    .nav-link-tab {
        font-size: 11px; /* o el tamaño que quieras para móvil */
    }
}

.nav-link-tab:hover {
    background-color: #074597 !important;
}

.nav-link-tab:first-child {
    margin-left: 10px; /* Ajusta el valor según necesites */
}

.activo {
    background-color: #727272 !important;
    color: #ffffff !important;
    border-radius: 15px;
    padding: 8px 15px;
    margin-right: 0px; /* Espacio entre botones */
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none !important;
}

#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-plan {
    background:#fff;
    padding: 25px 30px;
    border-radius: 16px;
    width: 320px;
    box-shadow: 0 6px 20px rgb(106 90 205 / 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .tarjeta-plan:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px #6a5acd80;
  }

  .tarjeta-header {
    margin-bottom: 10px;
  }

  .tarjeta-header h4 {
    margin: 0;
    font-weight: 700;
    font-size: 1.75rem;
    color: #4b399a;
  }

  .tarjeta-header small {
    font-weight: 500;
    font-size: 0.9rem;
    color: #7a6cb8;
  }

  .precio {
    font-size: 30px;
    font-weight: 800;
    color: #6A5ACD;
    margin: 12px 0 8px;
  }

  .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 */
}

  .detalle {
    font-size: 14.5px;
    color: #555;
    margin-bottom: 20px;
  }

  .detalle strong {
    color: #6A5ACD;
  }

  .beneficios {
    text-align: left;
    padding-left: 24px;
    list-style: none;
    color: #444;
    font-weight: 600;
    margin-bottom: 25px;
  }

  .beneficios li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 14.25px;
  }

  .beneficios li span {
    color: #6A5ACD;
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    line-height: 1;
  }

  /* Dropdown estilos originales */

  .custom-dropdown {
    position: relative;
    display: inline-block;
  }

  .custom-dropdown-button {
    background-color: #6A5ACD;
    color: white;
    padding: 12px 26px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
  }

  .custom-dropdown-button:hover {
    background-color: #5749a5;
  }

  .custom-dropdown-button i {
    font-size: 18px;
  }

  .custom-dropdown-menu {
    position: absolute;
    bottom: 100%; /* para que se abra hacia arriba */
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    min-width: 320px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    display: none;
  }

  .custom-dropdown.show .custom-dropdown-menu {
    display: block;
  }

  .custom-dropdown-option {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s;
  }

  .custom-dropdown-option:hover {
    background-color: #f2f2f2;
  }

  .custom-dropdown-option img {
    width: 42px;
    height: auto;
    margin-right: 14px;
    border-radius: 6px;
  }

  .custom-dropdown-option .text {
    display: flex;
    flex-direction: column;
  }

  .custom-dropdown-option .text span {
    font-weight: 700;
    font-size: 15px;
  }

  .custom-dropdown-option .text small {
    font-size: 12px;
    color: #666;
    font-weight: 400;
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .tarjetas-container {
      justify-content: center;
      gap: 20px;
    }
    .tarjeta-plan {
      width: 280px;
      padding: 20px 22px;
    }
    .custom-dropdown-menu {
      min-width: 280px;
    }
  }

  @media (max-width: 600px) {
    .tarjetas-container {
      flex-direction: column;
      align-items: center;
    }
    .tarjeta-plan {
      width: 90%;
      max-width: 350px;
      margin-bottom: 20px;
    }
    .custom-dropdown-menu {
      min-width: 90vw;
      left: 50%;
      transform: translateX(-50%);
    }
  }

      .marquee-container {
        overflow: hidden;
        width: 100%;
        background: #fff;
        padding: 40px 0;
      }

      .marquee-track {
        display: flex;
        width: max-content;
        animation: scroll-left 30s linear infinite;
        align-items: center;
      }

      .marquee-track img {
        width: 100%;
        max-width: 950px; /* Imágenes grandes */
        margin-right: 40px;
        border-radius: 20px; /* Bordes redondeados */
        box-shadow: none;
        transition: transform 0.4s ease;
      }

      .marquee-track img:hover {
        transform: scale(1.08);
      }

      @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 */
      }
