

/*** Spinner Start ***/

#spinner {

    opacity: 0;

    visibility: hidden;

    transition: opacity .8s ease-out, visibility 0s linear .5s;

    z-index: 99999;

 }



 #spinner.show {

     transition: opacity .8s ease-out, visibility 0s linear .0s;

     visibility: visible;

     opacity: 1;

 }



 .back-to-top {

    position: fixed;

    right: 30px;

    bottom: 30px;

    display: flex;

    width: 45px;

    height: 45px;

    align-items: center;

    justify-content: center;

    transition: 0.5s;

    z-index: 99;

}

/*** Spinner End ***/





/*** Button Start ***/

.btn {

    font-weight: 600;

    transition: .5s;

}



.btn-square {

    width: 32px;

    height: 32px;

}



.btn-sm-square {

    width: 34px;

    height: 34px;

}



.btn-md-square {

    width: 44px;

    height: 44px;

}



.btn-lg-square {

    width: 56px;

    height: 56px;

}



.btn-square,

.btn-sm-square,

.btn-md-square,

.btn-lg-square {

    padding: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    font-weight: normal;

}



.btn.border-secondary {

    transition: 0.5s;

}



.btn.border-secondary:hover {

    background: var(--bs-secondary) !important;

    color: var(--bs-white) !important;

}



/*** Topbar Start ***/

.fixed-top {

    transition: 0.5s;

    background: var(--bs-white);

    border: 0;

    margin-top: 5px;

}



.topbar {

    padding: 20px;

    border-radius: 230px 100px;

}



.topbar .top-info {

    font-size: 15px;

    line-height: 0;

    letter-spacing: 1px;

    display: flex;

    align-items: center;

}



.topbar .top-link {

    font-size: 15px;

    line-height: 0;

    letter-spacing: 1px;

    display: flex;

    align-items: center;

}



.topbar .top-link a {

    letter-spacing: 1px;

}



.topbar .top-link a small:hover {

    color: var(--bs-secondary) !important;

    transition: 0.5s;

}



.topbar .top-link a small:hover i {

    color: var(--bs-primary) !important;

}

/*** Topbar End ***/



/*** Navbar Start ***/

.navbar .navbar-nav .nav-link {

    padding: 10px 15px;

    font-size: 16px;

    transition: .5s;

}



.navbar {

    height: 100px;

    border-bottom: 1px solid rgba(255, 255, 255, .1);

}



.navbar .navbar-nav .nav-link:hover,

.navbar .navbar-nav .nav-link.active,

.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,

.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {

    color: var(--bs-primary);

}



.navbar .dropdown-toggle::after {

    border: none;

    content: "\f107";

    font-family: "Font Awesome 5 Free";

    font-weight: 700;

    vertical-align: middle;

    margin-left: 8px;

}



@media (min-width: 1200px) {

    .navbar .nav-item .dropdown-menu {

        display: block;

        visibility: hidden;

        top: 100%;

        transform: rotateX(-75deg);

        transform-origin: 0% 0%;

        border: 0;

        transition: .5s;

        opacity: 0;

    }

}



.dropdown .dropdown-menu a:hover {

    background: var(--bs-secondary);

    color: var(--bs-primary);

}



.navbar .nav-item:hover .dropdown-menu {

    transform: rotateX(0deg);

    visibility: visible;

    background: var(--bs-light) !important;

    border-radius: 10px !important;

    transition: .5s;

    opacity: 1;

}



#searchModal .modal-content {

    background: rgba(255, 255, 255, .8);

}

/*** Navbar End ***/



/*** Hero Header ***/

.hero-header {

    background: linear-gradient(rgba(248, 223, 173, 0.1), rgba(248, 223, 173, 0.1)), url(../img/hero-img.jpg);

    background-position: center center;

    background-repeat: no-repeat;

    background-size: cover;

}



.carousel-item {

    position: relative;

}



.carousel-item a {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    font-size: 25px;

    background: linear-gradient(rgba(255, 181, 36, 0.7), rgba(255, 181, 36, 0.7));

}



.carousel-control-next,

.carousel-control-prev {

    width: 48px;

    height: 48px;

    border-radius: 48px;

    border: 1px solid var(--bs-white);

    background: var(--bs-primary);

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

}



.carousel-control-next {

    margin-right: 20px;

}



.carousel-control-prev {

    margin-left: 20px;

}



.page-header {

    position: relative;

   

    background-position: center center;

    background-repeat: no-repeat;

    background-size: cover;

}



@media (min-width: 992px) {

    .hero-header {

        margin-top: 70px !important;

    }

}

@media (min-width: 992px) {

    .hero-header2 {

        margin-top: 50px !important;

    }

}





@media (min-width: 992px) {

  

    .page-header {

        margin-top: 5px !important;

    }

}





@media (max-width: 992px) {

    .hero-header,

    .page-header {

        margin-top: 5px !important;

    }

}

/*** Hero Header end ***/





/*** featurs Start ***/

.featurs .featurs-item .featurs-icon {

    position: relative;

    width: 120px;

    height: 120px;

}



.featurs .featurs-item .featurs-icon::after {

    content: "";

    width: 35px;

    height: 35px;

    background: var(--bs-secondary);

    position: absolute;

    bottom: -10px;

    transform: translate(-50%);

    transform: rotate(45deg);

    background: var(--bs-secondary);

    

}

/*** featurs End ***/





/*** service Start ***/

.service .service-item .service-content {

    position: relative;

    width: 250px; 

    height: 130px; 

    top: -50%; 

    left: 50%; 

    transform: translate(-50%, -50%);

}



/*** service End ***/





/*** Fruits Start ***/

.fruite .tab-class .nav-item a.active {

    background: var(--bs-secondary) !important;

}



.fruite .tab-class .nav-item a.active span {

    color: var(--bs-white) !important; 

}



.fruite .fruite-categorie .fruite-name {

    line-height: 40px;

}



.fruite .fruite-categorie .fruite-name a {

    transition: 0.5s;

}



.fruite .fruite-categorie .fruite-name a:hover {

    color: var(--bs-secondary);

}



.fruite .fruite-item {

    height: 100%;

    transition: 0.5s;

}

.fruite .fruite-item:hover {

    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);

}



.fruite .fruite-item .fruite-img {

    overflow: hidden;

    transition: 0.5s;

    border-radius: 10px 10px 0 0;

}



.fruite .fruite-item .fruite-img img {

    transition: 0.5s;

}



.fruite .fruite-item .fruite-img img:hover {

    transform: scale(1.3);

}

/*** Fruits End ***/





/*** vesitable Start ***/

.vesitable .vesitable-item {

    height: 100%;

    transition: 0.5s;

}



.vesitable .vesitable-item:hover {

    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);

}



.vesitable .vesitable-item .vesitable-img {

    overflow: hidden;

    transition: 0.5s;

    border-radius: 10px 10px 0 0;

}



.vesitable .vesitable-item .vesitable-img img {

    transition: 0.5s;

}



.vesitable .vesitable-item .vesitable-img img:hover {

    transform: scale(1.2);

}



.vesitable .owl-stage {

    margin: 50px 0;

    position: relative;

}



.vesitable .owl-nav .owl-prev {

    position: absolute;

    top: -8px;

    right: 0;

    color: var(--bs-primary);

    padding: 5px 25px;

    border: 1px solid var(--bs-secondary);

    border-radius: 20px;

    transition: 0.5s;



}



.vesitable .owl-nav .owl-prev:hover {

    background: var(--bs-secondary);

    color: var(--bs-white);

}



.vesitable .owl-nav .owl-next {

    position: absolute;

    top: -8px;

    right: 88px;

    color: var(--bs-primary);

    padding: 5px 25px;

    border: 1px solid var(--bs-secondary);

    border-radius: 20px;

    transition: 0.5s;

}



.vesitable .owl-nav .owl-next:hover {

    background: var(--bs-secondary);

    color: var(--bs-white);

}

/*** vesitable End ***/





/*** Banner Section Start ***/

.banner .banner-btn:hover {

    background: var(--bs-primary);

}

/*** Banner Section End ***/





/*** Facts Start ***/

.counter {

    height: 100%;

    text-align: center;

    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);

}



.counter i {

    font-size: 60px;

    margin-bottom: 25px;

}



.counter h4 {

    color: var(--bs-primary);

    letter-spacing: 1px;

    text-transform: uppercase;

}



.counter h1 {

    margin-bottom: 0;

}

/*** Facts End ***/





/*** testimonial Start ***/

.testimonial .owl-nav .owl-prev {

    position: absolute;

    top: -58px;

    right: 0;

    color: var(--bs-primary);

    padding: 5px 25px;

    border: 1px solid var(--bs-secondary);

    border-radius: 20px;

    transition: 0.5s;

}



.testimonial .owl-nav .owl-prev:hover {

    background: var(--bs-secondary);

    color: var(--bs-white);

}



.testimonial .owl-nav .owl-next {

    position: absolute;

    top: -58px;

    right: 88px;

    color: var(--bs-primary);

    padding: 5px 25px;

    border: 1px solid var(--bs-secondary);

    border-radius: 20px;

    transition: 0.5s;

}



.testimonial .owl-nav .owl-next:hover {

    background: var(--bs-secondary);

    color: var(--bs-white);

}

/*** testimonial End ***/





/*** Single Page Start ***/

.pagination {

    display: inline-block;

}

  

.pagination a {

    color: var(--bs-dark);

    padding: 10px 16px;

    text-decoration: none;

    transition: 0.5s;

    border: 1px solid var(--bs-secondary);

    margin: 0 4px;

}

  

.pagination a.active {

    background-color: var(--bs-primary);

    color: var(--bs-light);

    border: 1px solid var(--bs-secondary);

}

  

.pagination a:hover:not(.active) {background-color: var(--bs-primary)}



.nav.nav-tabs .nav-link.active {

    border-bottom: 2px solid var(--bs-secondary) !important;

}

/*** Single Page End ***/

.pagination{--bs-pagination-padding-x:0.75rem;--bs-pagination-padding-y:0.375rem;--bs-pagination-font-size:1rem;--bs-pagination-color:var(--bs-link-color);--bs-pagination-bg:var(--bs-body-bg);--bs-pagination-border-width:var(--bs-border-width);--bs-pagination-border-color:var(--bs-border-color);--bs-pagination-border-radius:var(--bs-border-radius);--bs-pagination-hover-color:var(--bs-link-hover-color);--bs-pagination-hover-bg:var(--bs-tertiary-bg);--bs-pagination-hover-border-color:var(--bs-border-color);--bs-pagination-focus-color:var(--bs-link-hover-color);--bs-pagination-focus-bg:var(--bs-secondary-bg);--bs-pagination-focus-box-shadow:0 0 0 0.25rem rgba(13, 110, 253, 0.25);--bs-pagination-active-color:#fff;--bs-pagination-active-bg:#0d6efd;--bs-pagination-active-border-color:#0d6efd;--bs-pagination-disabled-color:var(--bs-secondary-color);--bs-pagination-disabled-bg:var(--bs-secondary-bg);--bs-pagination-disabled-border-color:var(--bs-border-color);display:flex;padding-left:0;list-style:none}



/*** Footer Start ***/

.footer .footer-item .btn-link {

    line-height: 35px;

    color: rgba(255, 255, 255, .5);

    transition: 0.5s;

}



.footer .footer-item .btn-link:hover {

    color: var(--bs-secondary) !important;

}



.footer .footer-item p.mb-4 {

    line-height: 35px;

}

/*** Footer End ***/



/**Cards table **/



.cards tbody tr {

  float: left;

  width: 24rem;

  margin: 0.5rem;

  border: 0.0625rem solid rgba(0, 0, 0, 0.125);

  border-radius: 0.25rem;

  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);

}





.cards tbody td {

  display: block;

  border: none;

  text-align: center;

}



.cards thead {

  display: none;

}



.cards td:before {

  content: attr(data-label);

  position: relative;

  color: #808080;

  min-width: 4rem;

  text-align: center;

}



.provider-img {

  /*   margin:-4px 1rem 4px -4px; */

  margin: -4.4px;

  border-radius: 5px 5px 0 0;

}



tr.selected td:before {

  color: #ccc;

}



.table .avatar {

  width: 50px;

}



.cards .avatar {

  width: 150px;

  margin: 15px;

}



.dt-buttons {

  display: none !important;

}



.bg-zain {

  background-color: #6f47a0;

}



.bd-zain {

  border-color: #6f47a0;

}



.text-zain {

  color: #6f47a0;

}



.bg-asia {

  background-color: #e82228;

}



.bd-asia {

  border-color: #e82228;

}



.text-asia {

  color: #e82228;

}



.bg-korek {

  background-color: #009ad8;

}



.bd-korek {

  border-color: #009ad8;

}



.text-korek {

  color: #009ad8;

}



.number-section {

  margin: 1rem 0;

}



div.stars {

  width: 270px;

  display: inline-block;

  margin-bottom: -1.8rem;

}



input.star {

  display: none;

}



label.star {

  float: right;

  padding: 10px;

  font-size: 36px;

  transition: all 0.2s;

}



input.star:checked ~ label.star:before {

  content: "\f005";

  color: #fd4;

  transition: all 0.25s;

}



input.star-5:checked ~ label.star:before {

  color: #fe7;

  text-shadow: 0 0 20px #952;

}



input.star-1:checked ~ label.star:before {

  color: #f62;

}



label.star:hover {

  transform: rotate(-15deg) scale(1.3);

}



label.star:before {

  content: "\f006";

  font-family: FontAwesome;

}



.separator {

  border-bottom: 1px #000 solid;

}

.custom-underline {
    display: inline-block;
    padding-bottom: 15px;
    position: relative;
}

.custom-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.custom-underline::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #007BFF;
    border-radius: 2px;
}

.banner-image-container {
        height: 300px;
    }
    @media (min-width: 768px) {
        .banner-image-container {
            height: 400px;
        }
    }
    @media (min-width: 1200px) {
        .banner-image-container {
            height: 500px;
        }
    }
    
    /* Estilos para el banner superior - 400px DE ANCHO - ACCESIBLE */
    .banner-superior-accesible {
        position: fixed;
        top: 20px;
        right: 20px;
        width: 400px;
        max-width: calc(100vw - 40px);
        background: #ffffff;
        border: 2px solid #0d6efd;
        border-radius: 8px;
        padding: 15px 50px 15px 15px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 10000;
        display: flex;
        align-items: center;
        transition: opacity 0.3s ease;
    }
    
    /* Clase para cuando el banner está cerrado */
    .banner-superior-accesible.cerrado {
        display: none !important;
    }
    
    .banner-contenido-accesible {
        display: flex;
        align-items: center;
        gap: 15px;
        width: 100%;
    }
    
    .banner-imagen-accesible {
        width: 60px;
        height: 60px;
        object-fit: contain;
        flex-shrink: 0;
    }
    
    .banner-texto-accesible {
        flex: 1;
        min-width: 0;
    }
    
    .banner-titulo-accesible {
        font-size: 1rem;
        font-weight: 600;
        color: #0d6efd;
        margin: 0 0 5px 0;
        line-height: 1.3;
    }
    
    .banner-descripcion-accesible {
        font-size: 0.875rem;
        color: #495057;
        margin: 0;
        line-height: 1.4;
    }
    
    .banner-enlace-accesible {
        display: flex;
        align-items: center;
        gap: 15px;
        text-decoration: none;
        width: 100%;
        color: inherit;
    }
    
    .banner-enlace-accesible:focus {
        outline: 3px solid #0d6efd;
        outline-offset: 2px;
        border-radius: 4px;
    }
    
    /* Botón cerrar - ACCESIBLE Y VISIBLE */
    .btn-cerrar-accesible {
        position: absolute;
        right: 12px;
        top: 12px;
        background-color: #6c757d;
        color: #ffffff;
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        cursor: pointer;
        font-size: 18px;
        font-weight: bold;
        line-height: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        z-index: 10001;
        transition: background-color 0.2s ease;
    }
    
    .btn-cerrar-accesible:hover {
        background-color: #5a6268;
    }
    
    .btn-cerrar-accesible:focus {
        background-color: #5a6268;
        outline: 3px solid #0d6efd;
        outline-offset: 2px;
    }
    
    .btn-cerrar-accesible:active {
        background-color: #545b62;
    }
    
    /* Texto visible dentro del botón */
    .btn-cerrar-texto {
        font-size: 18px;
        font-weight: bold;
        line-height: 1;
    }
    
    /* Icono decorativo - no necesita ser anunciado */
    .icono-decorativo {
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }
    
    /* Texto solo para lectores de pantalla */
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    
    /* Responsive para móviles */
    @media (max-width: 768px) {
        .banner-superior-accesible {
            width: 320px;
            top: 15px;
            right: 15px;
            padding: 12px 45px 12px 12px;
        }
        
        .banner-imagen-accesible {
            width: 50px;
            height: 50px;
        }
        
        .banner-titulo-accesible {
            font-size: 0.9375rem;
        }
        
        .banner-descripcion-accesible {
            font-size: 0.8125rem;
        }
        
        .btn-cerrar-accesible {
            width: 28px;
            height: 28px;
            font-size: 16px;
            right: 10px;
            top: 10px;
        }
        
        .btn-cerrar-texto {
            font-size: 16px;
        }
        
        .icono-decorativo {
            gap: 3px;
        }
    }
    
    @media (max-width: 480px) {
        .banner-superior-accesible {
            width: 280px;
            top: 10px;
            right: 10px;
            padding: 10px 40px 10px 10px;
        }
        
        .banner-imagen-accesible {
            width: 45px;
            height: 45px;
        }
        
        .banner-contenido-accesible {
            gap: 12px;
        }
    }
    
    /* Alto contraste */
    @media (prefers-contrast: high) {
        .banner-superior-accesible {
            border: 3px solid #000000;
            background: #ffffff;
        }
        
        .banner-titulo-accesible {
            color: #000000;
        }
        
        .btn-cerrar-accesible {
            background-color: #000000;
            color: #ffffff;
            border: 2px solid #ffffff;
        }
    }
    
    /* Modo oscuro */
    @media (prefers-color-scheme: dark) {
        .banner-superior-accesible {
            background: #212529;
            border-color: #0dcaf0;
        }
        
        .banner-titulo-accesible {
            color: #0dcaf0;
        }
        
        .banner-descripcion-accesible {
            color: #adb5bd;
        }
        
        .btn-cerrar-accesible {
            background-color: #495057;
        }
        
        .btn-cerrar-accesible:hover {
            background-color: #6c757d;
        }
        
        .banner-enlace-accesible:focus {
            outline-color: #0dcaf0;
        }
    }
    
    /* Sin animaciones para preferencias reducidas */
    @media (prefers-reduced-motion: reduce) {
        .banner-superior-accesible {
            transition: none;
        }
    }


    /* Estilos solo para el calendario simple */
    .calendar-container {
        background: white;
        border-radius: 8px;
        padding: 15px;
    }
    
    .calendar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px solid #dee2e6;
    }
    
    .calendar-grid {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 5px;
    }
    
    .calendar-day-header {
        text-align: center;
        font-weight: bold;
        padding: 10px 5px;
        background-color: #f8f9fa;
        border-radius: 4px;
    }
    
    /* Estilos para días del calendario - ahora son botones */
    button.calendar-day {
        text-align: center;
        padding: 10px 5px;
        border: 1px solid #dee2e6;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.2s ease;
        min-height: 80px;
        position: relative;
        background: white;
        width: 100%;
        font-family: inherit;
        font-size: inherit;
    }
    
    button.calendar-day:hover {
        background-color: #f8f9fa;
        transform: translateY(-2px);
    }
    
    button.calendar-day:focus {
        outline: 2px solid #0634B9;
        outline-offset: 2px;
    }
    
    button.calendar-day.today {
        background-color: rgba(13, 110, 253, 0.1);
        border-color: #0d6efd;
    }
    
    button.calendar-day.today .day-number {
        font-weight: bold;
        color: #0d6efd;
    }
    
    button.calendar-day.has-events {
        background-color: rgba(55, 136, 216, 0.1);
        border-color: #0634B9;
    }
    
    button.calendar-day.has-events .day-number {
        font-weight: bold;
        color: #0634B9;
    }
    
    button.calendar-day.active {
        background-color: rgba(55, 136, 216, 0.2);
        border-color: #0634B9;
        box-shadow: 0 0 0 2px rgba(55, 136, 216, 0.3);
    }
    
    .day-number {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .event-dot {
        display: inline-block;
        width: 8px;
        height: 8px;
        background-color: #0634B9;
        border-radius: 50%;
        margin: 1px;
    }
    
    .event-indicator {
        position: absolute;
        bottom: 5px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Estilo para el contador de eventos visible */
    .event-count {
        font-size: 0.75rem;
        font-weight: bold;
        color: #0634B9;
        margin-left: 3px;
    }
    
    /* Estilos para cards de actividades */
    .activity-card {
        border-left: 4px solid #0634B9 !important;
        transition: all 0.3s ease;
        margin-bottom: 15px;
    }
    
    .activity-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    }
    
    .activity-badge {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .activity-detail {
        font-size: 0.9rem;
        line-height: 1.5;
        max-height: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
    
    .no-activities-container {
        min-height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Estilos para el contenedor scrollable - MEJORADO */
    .scrollable-activities {
        max-height: 500px;
        overflow-y: auto;
        padding-right: 10px;
        /* Mejorar la experiencia de foco */
        outline: none;
    }
    
    .scrollable-activities:focus {
        outline: 2px solid #0634B9;
        outline-offset: 2px;
        box-shadow: 0 0 0 3px rgba(6, 52, 185, 0.1);
    }
    
    /* Mejorar la visibilidad del scrollbar cuando tiene foco */
    .scrollable-activities:focus::-webkit-scrollbar-thumb {
        background: #0634B9;
    }
    
    .scrollable-activities::-webkit-scrollbar {
        width: 6px;
    }
    
    .scrollable-activities::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .scrollable-activities::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 10px;
    }
    
    .scrollable-activities::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
    
    /* Estilos para impresión */
    @media print {
        .no-print {
            display: none !important;
        }
        
        .print-container {
            display: block !important;
        }
        
        .table {
            border-collapse: collapse !important;
            width: 100%;
            font-size: 12px;
        }
        
        .table th,
        .table td {
            border: 1px solid #000 !important;
            padding: 6px;
            text-align: left;
        }
        
        .table th {
            background-color: #f2f2f2 !important;
            font-weight: bold;
        }
    }
    
    /* Ocultar contenedor de impresión */
    .print-container {
        display: none !important;
    }
    
    /* Clase para texto accesible solo para lectores de pantalla */
    .visually-hidden {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
    
    /* Mejorar focus para accesibilidad */
    button:focus,
    .btn:focus {
        outline: 2px solid #0634B9;
        outline-offset: 2px;
    }

    .banner-superior-accesible {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 15px;
    position: relative;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-cerrar-accesible {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-cerrar-accesible:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.btn-cerrar-texto {
    line-height: 1;
    font-weight: bold;
}

.banner-contenido-accesible {
    margin-top: 10px;
}

.popups-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.popup-item {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.popup-solo {
    flex: 1;
    max-width: 800px;
}

.popup-doble {
    flex: 0 1 calc(50% - 15px);
}

.popup-triple {
    flex: 0 1 calc(33.333% - 15px);
}

.popup-enlace {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.popup-enlace:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.popup-imagen-contenedor {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.popup-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.popup-enlace:hover .popup-imagen {
    transform: scale(1.05);
}

.popup-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: white;
    height: 100%;
    padding: 20px;
    text-align: center;
}

.popup-fallback-texto {
    margin-top: 10px;
    font-size: 0.9rem;
}

.popup-info {
    padding: 15px;
}

.popup-titulo {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
    color: white;
}

.popup-descripcion {
    font-size: 0.9rem;
    margin-bottom: 8px;
    opacity: 0.9;
    line-height: 1.4;
}

.popup-fecha {
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .popup-triple {
        flex: 0 1 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .banner-superior-accesible {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .popup-item {
        flex: 0 1 100%;
        max-width: 100%;
    }
    
    .popup-doble,
    .popup-triple {
        flex: 0 1 100%;
    }
}

@media (max-width: 576px) {
    .popup-info {
        padding: 10px;
    }
    
    .popup-titulo {
        font-size: 0.95rem;
    }
    
    .popup-descripcion {
        font-size: 0.85rem;
    }
}

/* Estilos para estadísticas */
.estadistica-item {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.estadistica-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #0d6efd;
}

/* Efecto de búsqueda */
.estadistica-item.busqueda-coincidencia {
    animation: highlight 1.5s ease-out;
    border-left: 4px solid #0d6efd;
}

.estadistica-item.busqueda-no-coincidencia {
    display: none;
}

/* Estilos para el buscador */
#buscador-estadisticas:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

/* Animación de resaltado */
@keyframes highlight {
    0% { background-color: rgba(13, 110, 253, 0.2); }
    100% { background-color: transparent; }
}

/* Responsive */
@media (max-width: 768px) {
    .estadistica-item .row {
        flex-direction: column;
    }
    
    .estadistica-item .col-md-10,
    .estadistica-item .col-md-2 {
        width: 100%;
        max-width: 100%;
    }
    
    .estadistica-item .col-md-2 {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #dee2e6;
    }
    
    #buscador-estadisticas {
        font-size: 1rem;
    }
    
    .estadistica-item .d-flex.gap-2 {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }

    
}


/* Estilos básicos */
.document-thumbnail-container img {
    max-height: 200px;
    object-fit: cover;
}

/* Efecto de búsqueda */
.document-item.busqueda-coincidencia {
    animation: highlight 1.5s ease-out;
    border-left: 4px solid #0d6efd;
}

.document-item.busqueda-no-coincidencia {
    display: none;
}

/* Estilos para el buscador */
#buscador-documentos:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Estilos para el select y botón alineados */
#frmFiltroNormatividad {
    display: flex;
    gap: 10px;
    align-items: center;
}

#tipo_documento_select {
    flex: 1;
}

/* Animación de resaltado */
@keyframes highlight {
    0% { background-color: rgba(13, 110, 253, 0.2); }
    100% { background-color: transparent; }
}

/* Responsive */
@media (max-width: 768px) {
    .document-item .row {
        flex-direction: column;
    }
    
    .document-item .col-md-3,
    .document-item .col-md-7,
    .document-item .col-md-2 {
        width: 100%;
        max-width: 100%;
    }
    
    .document-item .col-md-2 {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #dee2e6;
    }
    
    #buscador-documentos {
        font-size: 1rem;
    }
    
    #frmFiltroNormatividad {
        flex-direction: column;
        gap: 10px;
    }
    
    #tipo_documento_select {
        width: 100%;
    }
    
    #btn-filtrar {
        width: 100%;
    }
}

