
.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%;
    }
}

[class*="sidebar-light-"] .nav-sidebar > .nav-item:hover > .nav-link {
    background-color: #007bff !important;
    color: white !important;
}

[class*="sidebar-light-"] .nav-sidebar > .nav-item:hover > .nav-link .nav-icon {
    color: white !important;
}

.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: 8px;
    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: 110px; /* Ajusta este valor según necesites */
    width: 190px;
}

.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: 1rem;
    padding: 11px;
    border-radius: 30%;
}

.ventas { background: linear-gradient(45deg, #ff5252, #ff867f); }
.ventas i { background: #ff3d00; }

.reparaciones { background: linear-gradient(45deg, #ffb300, #ffca28); }
.reparaciones i { background: #ff9800; }

.compras { background: linear-gradient(45deg, #1e88e5, #6ab7ff); }
.compras i { background: #1a73e8; }

.caja { background: linear-gradient(45deg, #1de9b6, #1dc4e9); }
.caja i { background: #00bfa5; }

.data {
    text-align: right;
    color: #fff;
}

.data p {
    margin: 0;
    font-size: 11px;
    font-weight: bold;
}

.data h5 {
    margin: 0;
    font-weight: bold;
    font-size: 18px;
}

.cardBodyCajas {
    padding: 5px;  /* Reducir aún más el padding dentro de la tarjeta */
    text-align: center;
}

.cardBodyCajas a {
    text-decoration: none;
    color: #3f51b5;
    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: 20px;
    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: #fadbd8; /* Verde */
    border-radius: 20px;
}

.divReparaciones {
    background-color: #fcf3cf; /* Azul */
    border-radius: 20px;
}

.divCompras {
    background-color: #e0ebec; /* Rojo */
    border-radius: 20px;
}

.divCaja {
    background-color: #e6fdc9; /* Naranja */
    border-radius: 20px;
}

.icon-circular {
    background-color: #fff;
    border-radius: 37%;
    width: 45px;
    height: 45px;
    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 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;
    }
}

.row.align-items-stretch {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.card-grow {
    flex-grow: 1;
}

.nav-link-tab {
    background-color: #007bff !important;
    color: white !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;
}

.nav-link-tab:hover {
    background-color: #0056b3 !important;
    color: #ffc107 !important;
}

.nav-link-tab:first-child {
    margin-left: 10px; /* Ajusta el valor según necesites */
}