/* --- PAGINACIÓN --- */
.pagination li {
    margin: 0 0.25rem;
    font-size: 18px !important;
    text-align: center !important;
}

.pagination li .page-link {
    border-radius: 0.25rem;
    border: none;
    min-width: 2.25rem;
    color: #000;
    font-size: 18px !important;
}

.pagination li.active .page-link,
.pagination li .page-link:hover {
    background-color: #6eb04f !important;
    color: #fff;
    font-weight: bold;
}

/* --- ELEMENTOS DE DISEÑO --- */
.highlight {
    background-color: #6eb04f;
    color: white;
    padding: 3px;
    display: inline-block;
    border-radius: 3px;
}

.zoom {
    transition: all 0.3s ease-in-out;
    cursor: zoom-in;
}

.zoom:hover {
    transform: scale(5);
    position: relative;
    z-index: 100;
}

/* --- WHATSAPP Y AGENTES --- */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25d366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.whatsapp-button img {
    width: 35px;
    height: 35px;
}

.agent-list {
    display: none;
    position: fixed;
    bottom: 90px;
    left: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    padding: 10px;
}

.agent {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.agent:hover {
    background-color: #f0f0f0;
}
.agent img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

/* --- COLORES Y TEXTOS --- */
.green-text {
    color: #6eb04f !important;
    font-weight: bold !important;
}
.yellow-text {
    color: #ecb40f !important;
    font-weight: bold !important;
}
.black-text {
    color: #000000 !important;
    font-weight: bold !important;
}
.black-text-none {
    color: #000000 !important;
}

.green-texto,
.yellow-texto,
.black-texto {
    text-align: justify !important;
}
.green-texto {
    color: #6eb04f !important;
}
.yellow-texto {
    color: #ecb40f !important;
}
.black-texto {
    color: #000000 !important;
}

.color-black {
    background-color: #000000 !important;
}
.color-green {
    background-color: #6eb04f !important;
}
.color-yellow {
    background-color: #ecb40f !important;
}

/* --- SLIDER Y BANNERS --- */
.slide-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 800;
    overflow: hidden;
}

.custom-img-fit {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .slide-container {
        aspect-ratio: 16 / 9;
    }
}

#slider.loading {
    opacity: 1 !important;
    visibility: visible !important;
}
#slider.loading #loading-icon {
    display: none !important;
}

/* --- TABLA DATATABLES --- */
#banners {
    width: 100% !important;
    margin-top: 20px !important;
}
#banners th,
#banners td {
    padding: 12px 8px !important;
    vertical-align: middle !important;
}
.divAcciones {
    display: flex;
    gap: 5px;
    justify-content: center;
}
#banners img {
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}
#banners img:hover {
    transform: scale(1.5);
}
