/********** Template CSS **********/
:root {
    --primary: #4761FF;
    --secondary: #555555;
    --light: #F1F3FA;
    --dark: #1C2035;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
/*.sticky-top {
    top: -100px;
    transition: .5s;
}
.sticky-top1 {
    top: 100px;
    transition: .5s;
}*/

/*.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    /*font-size: 18px;*/
   /* font-size: 15px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
      .submenu{
        display: none;
        position: absolute;
        left: 100%;
        top: 3px;
      }
         .nav-item .dropdown-menu:hover  .submenu{
        display: block;
      }
      
   
}*/

.blink_me {
  animation: blinker 3s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
.page-header-ate_ciu{
    background: linear-gradient(rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.65)), url(../img/carrusel/BANNER-2-1.jpg) center center no-repeat;
    background-size: cover;
    
}
.page-header-comercio{
    background: linear-gradient(rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.65)), url(../img/carrusel/BANNER-7.jpg) center center no-repeat;
    background-size: cover;
    
}
.page-header-suve{
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/suve/suve_suve.jpg) center center no-repeat;
    background-size: cover;
    
}
.page-header-suvee{
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/suve/banner_suve.png) center center no-repeat;
    background-size: cover;
    
}
.page-header-inst{
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/institucion/img_institucion.jpg) center center no-repeat;
    background-size: cover;
    
}
.page-header-noticias {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/noticias/fondo.jpg) center center no-repeat;
    background-size: cover;
}
.page-header {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/institucion/img_institucion.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Features ***/
.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}


/*** About ***/
.about {
    background: linear-gradient(rgba(15, 13, 13, 0.94), rgba(0, 0, 0, .1)), url(../img/suve/suvee.jpg) left center no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item .service-text {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
    transition: .5s;
    z-index: 2;
}

.service-item:hover .service-text {
    top: -1.5rem;
}

.service-item .service-text h5 {
    transition: .5s;
}

.service-item:hover .service-text h5 {
    color: var(--primary);
}

.service-item .service-btn {
    position: absolute;
    width: 80%;
    height: 3rem;
    left: 10%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-btn {
    bottom: -1.5rem;
}


/*** Project ***/
.project-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.project-item .project-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: .5s;
}

.project-item:hover .project-overlay {
    opacity: 1;
    padding-top: 0;
}

.project-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
    display: flex;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .project-carousel .owl-nav {
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .project-carousel .owl-nav .owl-prev,
    .project-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}


/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-social {
    position: absolute;
    padding: 0;
    top: 15px;
    left: 0;
    overflow: hidden;
}

.team-item .team-social li {
    list-style-type: none;
    margin-bottom: 10px;
    margin-left: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social li {
    margin-left: 15px;
    opacity: 1;
}

.team-item .team-social li .btn {
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 40px;
    transition: .5s;
}

.team-item .team-social li .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item .team-social li:nth-child(1) {
    transition-delay: .1s;
}

.team-item .team-social li:nth-child(2) {
    transition-delay: .2s;
}

.team-item .team-social li:nth-child(3) {
    transition-delay: .3s;
}

.team-item .team-social li:nth-child(4) {
    transition-delay: .4s;
}

.team-item .team-social li:nth-child(5) {
    transition-delay: .5s;
}


/*** Testimonial ***/
.testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
}

.owl-item .testimonial-item,
.testimonial-item * {
    transition: .5s;
}

.owl-item.center .testimonial-item,
.testimonial-item:hover {
    background: var(--primary);
}

.owl-item.center .testimonial-item *,
.testimonial-item:hover * {
    color: #FFFFFF !important;
}

.testimonial-item img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
}

.copyright {
    background: #111111;
}

.copyright a:hover {
    color: var(--primary) !important;
}
.icon{
  background-color:#0a68e3;
  color: var(--contrast-color);
  border: 6px solid var(--surface-color);
  width: 64px;
  height: 64px;
  font-size: 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}


/*--------------------------------------------------------------
# Navigation Menu Nuevo
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar_new {
  padding: 12px;
}

.navbar_new ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar_new li {
  position: relative;
}

.navbar_new a,
.navbar_new a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  color: #1c2035;
  font-weight: 500;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar_new a i,
.navbar_new a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar_new a:hover,
.navbar_new .active,
.navbar_new .active:focus,
.navbar_new li:hover>a {
  color: #007bff;
}

.navbar_new .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar_new .dropdown ul li {
  min-width: 200px;
}

.navbar_new .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
}

.navbar_new .dropdown ul a i {
  font-size: 12px;
}

.navbar_new .dropdown ul a:hover,
.navbar_new .dropdown ul .active:hover,
.navbar_new .dropdown ul li:hover>a {
  color: #007bff;
}

.navbar_new .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar_new .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar_new .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar_new .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar_new .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}
/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #283d50;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar_new ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(23, 35, 46, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #004289;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #007bff;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #007bff;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}
/*--------------------------------------------------------------------*/


/*--------------------------------------------------------------
# carrousel entes
--------------------------------------------------------------*/
 .logo-carousel {
        padding: 40px 0;
        background-color: #f8f9fa;
    }
.carousel-logo {
        height: 100px;
        width: auto;
        object-fit: contain;
        filter: grayscale(100%);
        transition: all 0.3s ease;
    }

    .carousel-logo:hover {
        filter: grayscale(0%);
        transform: scale(1.05);
    }
@media (max-width: 768px) {
        .carousel-item {
            padding: 0 5px;
        }

        .carousel-logo {
            height: 70px;
        }
    }
    /*-------------------------caruusel de texto-----------------------*/
.slider-container-text{
  overflow: hidden;
  position: relative;
  width: 100%;
 /* margin: 50px auto;*/
  background-color: #fff;
  /*box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);*/
  /*border-radius: 0.5rem;*/
  padding: 10px 0;
}
.slider-track-text{
  display: flex;
  transition: transform 0.5s ease;
  animation: slide 60s linear infinite;
  width: max-content;
}
.slider-track-text:hover{
  animation-play-state: paused;
}
.slider-slide{
  flex: 0 0 auto;
  padding: 10px 60px;
  font-size: 0.9rem;
  font-weight: 500;
  /*color: #212529;*/
  white-space: nowrap;
  position: relative;
}
.slider-slide::after{
  content: "•";
  color: #6c757d;
  position: absolute;
  right: 0;
  margin-right: -15px;
}
.slider-slide:last-child::after{
  display: none;
}
@keyframes slide {
  0%{
    transform: translateX(0);
  }
  100%{
    transform: translateX(-50%);
  }
}
section,
.sectionn {
  color: var(--default-color);
  background-color: var(--background-color);
  /*padding: 60px 0;*/
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .sectionn {
    scroll-margin-top: 66px;
  }
}
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}
/*Estilos extras - Versión Profesional Refinada*/

/* ==========================================================================
   1. CARRUSEL CON ZOOM CINEMÁTICO (KEN BURNS)
   ========================================================================== */
#aboutCarousel {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    overflow: hidden;
}

#aboutCarousel .carousel-item {
    transition: opacity 2s ease-in-out;
}

#aboutCarousel .carousel-item img {
    transition: transform 10s ease-in-out; /* Zoom más suave y largo */
    transform: scale(1);
    object-fit: cover;
}

#aboutCarousel .carousel-item.active img {
    transform: scale(1.15);
}

#aboutCarousel .carousel-item::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(28, 32, 53, 0.5)); 
    z-index: 1;
}

/* ==========================================================================
   2. BOTÓN SLIM INSTITUCIONAL (HILOS DINÁMICOS)
   ========================================================================== */
.btn-citizen-small {
    width: 150px;
    height: 42px;
    background: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1.5px solid #007bff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: institutional-glow 5s infinite;
}

.hilo {
    position: absolute;
    height: 1.5px;
    background: #007bff; 
    width: 0;
    opacity: 0;
    transition: width 0.6s ease-out;
}

.hilo::after {
    content: '';
    position: absolute;
    right: 0; top: -1.5px;
    width: 4px; height: 4px;
    background: #007bff;
    border-radius: 50%;
}

.h1 { top: 25%; left: 0; }
.h2 { top: 45%; left: 0; transition-delay: 0.1s; }
.h3 { top: 65%; left: 0; transition-delay: 0.05s; }
.h4 { top: 80%; left: 0; transition-delay: 0.15s; }

.btn-citizen-small:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,123,255,0.2);
}

.btn-citizen-small:hover .hilo { opacity: 0.4; width: 60%; }

.text-btn {
    font-size: 11px;
    font-weight: 800;
    color: #007bff;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    z-index: 5;
}

.arrow-box {
    width: 30px; height: 30px;
    background: #007bff;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 5;
    transition: 0.3s;
}

@keyframes institutional-glow {
    0%, 100% { box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 0 12px rgba(0, 123, 255, 0.5); }
}

/* ==========================================================================
   3. VENTANA MODAL: ATENCIÓN CIUDADANA (EDICIÓN ELITE Y PROFESIONAL) 
   ========================================================================= */

/* Estructura general Ultra-Wide y Fija */
#modalBuscador .modal-dialog {
    max-width: 1200px;
    width: 95%;
    margin: 1.5rem auto;
    display: flex;
    align-items: center;
    height: calc(100vh - 3rem); 
}

#modalBuscador .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 35px 70px rgba(0,0,0,0.5);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

#modalBuscador .modal-header {
    background: #1C2035 !important; /* Tu color dark institucional */
    border-bottom: 3px solid #C5A059 !important; /* Acento Dorado Suave para elegancia */
    padding: 1.2rem 2.5rem;
    flex-shrink: 0;
}

#modalBuscador .modal-title {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Icono de cierre premium */
.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.7;
}
.btn-close-white:hover { opacity: 1; }

/* --- 1. BOTONES MINIMALISTAS CON ICONOS (GLASSMorphism)  --- */
#modalBuscador .nav-pills {
    background: transparent;
    border-bottom: 2px solid #e1e5eb; /* Línea base sutil */
    padding: 0;
    border-radius: 0;
    display: flex !important;
    justify-content: flex-start;
    gap: 40px; /* Más espacio para los iconos */
    margin-bottom: 20px;
}

#modalBuscador .nav-link {
    color: #888888 !important;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 5px;
    border-radius: 0 !important;
    background: transparent !important;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Inserción de Iconos vía FontAwesome (CSS Puro) */
#modalBuscador .nav-link::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Icono para Documentos (Pestaña 1) */
#modalBuscador .nav-item:first-child .nav-link::before {
    content: "\f15c"; /* f15c = file-alt */
}

/* Icono para Objetos (Pestaña 2) */
#modalBuscador .nav-item:last-child .nav-link::before {
    content: "\f466"; /* f466 = box-open */
}

/* Efecto de línea inferior al estar activo */
#modalBuscador .nav-link.active {
    color: #1C2035 !important;
}

#modalBuscador .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #1C2035; /* Línea azul indicadora */
}

/* Iconos cambian de color en hover/activo */
#modalBuscador .nav-link:hover::before,
#modalBuscador .nav-link.active::before {
    color: #C5A059 !important; /* Dorado sutil para el icono */
}

/* --- 2. LISTA ELEGANTE Y SOFISTICADA (TABLA PREMIUM)  --- */
#modalBuscador .modal-body {
    padding: 2rem 2.5rem;
    overflow-y: auto; 
    flex-grow: 1;
    background-color: #ffffff;
}

/* Texto informativo superior */
#modalBuscador .modal-body > p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
    border-left: 3px solid #dee2e6;
    padding-left: 15px;
}

/* Estilo de Tabla "Alta Jerarquía" */
#modalBuscador .table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin-bottom: 0;
}

/* Encabezados sobrios y modernos */
#modalBuscador .table thead th {
    background: #f8fafc !important; /* Fondo gris plata muy suave */
    color: #1C2035 !important;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    padding: 18px 25px;
    border-bottom: 2px solid #e1e5eb !important;
}

/* Filas con efecto de tarjeta al pasar el mouse */
#modalBuscador .table tbody tr {
    background: #ffffff;
    transition: all 0.3s ease;
}

#modalBuscador .table tbody tr:not(:last-child) td {
    border-bottom: 1px solid #f0f2f5; /* Línea divisoria sutil */
}

/* Efecto hover "Premium" */
#modalBuscador .table tbody tr:hover {
    background-color: rgba(197, 160, 89, 0.03) !important; /* Fondo dorado pálido */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Datos de la Lista Legibles y Sobrios */
#modalBuscador .table td {
    border: none;
    padding: 18px 25px;
    vertical-align: middle;
    color: #333333;
    font-size: 18px !important; 
    font-weight: 600;
}

/* Títulos de documentos en negrita institucional */
#modalBuscador .table td.fw-bold {
    color: #1C2035;
    font-weight: 600 !important;
}

/* --- 3. BADGE DE ESTATUS PREMIUM (Verde Esmeralda Sobrio)  --- */
.badge.bg-success {
    background: rgba(40, 167, 69, 0.1) !important; /* Fondo traslúcido suave */
    color: #28a745 !important; /* Texto verde esmeralda profesional */
    border: 1px solid rgba(40, 167, 69, 0.3);
    padding: 6px 12px;
    font-weight: 700;
    font-size: 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Scrollbar Personalizada */
#modalBuscador .modal-body::-webkit-scrollbar {
    width: 8px;
}

#modalBuscador .modal-body::-webkit-scrollbar-thumb {
    background: #1C2035;
    border-radius: 10px;
}
#modalBuscador .modal-body::-webkit-scrollbar-track {
    background: #f1f3fa;
}

/* Asegurar que no haya footer residual */
#modalBuscador .modal-footer {
    display: none !important;
}


/* ==========================================================================
   4. PANEL DE IMPACTO E INTERFAZ (GLASSMORPHISM)
   ========================================================================== */
.bg-white.rounded-top {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

.impact-panel {
    background: rgba(71, 97, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    width: 100%; height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(71, 97, 255, 0.2), transparent);
    top: -100px;
    animation: scanning 4s linear infinite;
}

@keyframes scanning {
    0% { top: -100px; }
    100% { top: 100%; }
}