/* Fuente global del sistema */
/*
*:not(i){
    font-family: "WorkSans-Regular"!important;

  }
*/
/*
*:not(i){

    font-family: "Source Sans Pro", sans-serif !important;

  }

*/
  *:not(i){

    font-family: "Montserrat", sans-serif !important;
  }

html,
body {
  height: 100%;
  margin: 0;
}

body {
  /* font-family: "Open Sans", sans-serif; */
  /*font-family: "Source Sans Pro", sans-serif;*/
  font-family: "WorkSans-Regular";
  /* display: flex;
    flex-direction: column; */
}

@media screen and (max-width: 500px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }

  .header-right {
    float: none;
  }
}

.bienvenida {
  font-size: 22px;
  font-weight: 500;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 100px;
  justify-content: space-between;
}


.dropdown-menu {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background: #FFF;
  border: 1px solid #333;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
}

.dropdown-panel {
  display: none;
  position: absolute;
  right: 0;
  top: 35px;
  background: blue;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  z-index: 9999;
}

.dropdown-panel a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
}

.dropdown-panel a:hover {
  background: #f2f2f2;
}

.dropdown-panel hr {
  margin: 5px 0;
  border: none;
  border-top: 1px solid #ddd;
}

.dropdown-panel .logout {
  color: red;
  font-weight: bold;
}

.dropdown-menu:hover .dropdown-panel {
  display: block;
}

.header-search {
  display: flex;
  align-items: center;
  background: #e3e3e3;
  padding: 6px 10px;
  border-radius: 20px;
  gap: 6px;
  transition: all 0.2s ease;
  width: 384px;
  margin: -32px auto;
  height: 22px;
  margin-bottom: 45px;
  position: relative;
  z-index: 2;
}

/* Icono lupa */
.header-search i {
  /* color: #00933f; */
  color: #0087cd;
  font-size: 14px;
}

/* Input */
.header-search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  width: 100%;
  font-family: "Be Vietnam Pro", sans-serif;
}

/* Efecto al enfocar */
.header-search:focus-within {
  background: #ffffff;
  box-shadow: 0 0 0 2px #00933f33;
}

@keyframes fadeDropdown {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ESTILOS DASHBOARD */

/* Don't forget include bootstrap 5.3.0 */
.gradient-pp {
  /* background: linear-gradient(45deg, #00933f, #0087cd); */
  background: #0087cd;
}

.title-dashboard {
  color: #fff;
  font-size: 37px;
  /* font-family: "Source Sans Pro", sans-serif; */
  font-weight: lighter;
  margin-top: 42px;
  font-weight: 900;
}

.waves {
  position: relative;
  width: 100%;
  height: 16vh;
  margin-bottom: -30px;
  min-height: 100px;
  max-height: 150px
}

.waves.no-animation .moving-waves>use {
  animation: none
}

.wave-rotate {
  transform: rotate(180deg)
}

.moving-waves>use {
  animation: f 40s cubic-bezier(.55, .5, .45, .5) infinite
}

.moving-waves>use:first-child {
  animation-delay: -2s;
  animation-duration: 11s
}

.moving-waves>use:nth-child(2) {
  animation-delay: -4s;
  animation-duration: 13s
}

.moving-waves>use:nth-child(3) {
  animation-delay: -3s;
  animation-duration: 15s
}

.moving-waves>use:nth-child(4) {
  animation-delay: -4s;
  animation-duration: 20s
}

.moving-waves>use:nth-child(5) {
  animation-delay: -4s;
  animation-duration: 25s
}

.moving-waves>use:nth-child(6) {
  animation-delay: -3s;
  animation-duration: 30s
}

@keyframes f {
  0% {
    transform: translate3d(-90px, 0, 0)
  }

  to {
    transform: translate3d(85px, 0, 0)
  }
}

.header-dashboard {
  height: 228px;
  margin-top: -25px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.container-dashboard {
  margin-top: 51px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0052ad1f;
  padding: 17px 37px 29px;
}

.container-dashboard h2 {
  margin: 0 0 -15px 0;
  color: #19599f;
}

.container-dashboard hr {
  width: 197px;
  border: none;
  height: 1px;
  background-color: #00a650;
  margin-bottom: 20px;
}

/* Grid de apps */
/*
.section-dashboard {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 17px;
  width: 76%;
  justify-content: center;
}
*/

.section-dashboard {
  display: grid;
  grid-template-columns: repeat(7, auto);
  gap: 30px;
  width: 76%;
  justify-content: center;
}

.section-dashboard-1 {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 30px;
  width: 76%;
  justify-content: center;
}

.section-dashboard a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.section-dashboard-1 a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.app-1,
.app-2,
.app-3,
.app-4,
.app-5,
.app-6 {
  display: grid;
  grid-template-rows: 1fr 2fr 1fr;
  min-height: 136px;
  width: 132px;
  justify-items: center;
  align-content: center;
  /* gap: 8px; */
  text-align: center;
  background: #ffffff;
  color: #19599f;
  padding: 10px 13px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  transition: transform 0.25s ease, background 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1);
}

.app-1:hover,
.app-2:hover,
.app-3:hover,
.app-4:hover,
.app-5:hover,
.app-6:hover {
  /* background: #234fa3; */
  transform: scale(1.05);
  /* color: rgb(255, 255, 255); */
  border: solid 1px #ffffff;
}

.app-1 h3,
.app-2 h3,
.app-3 h3,
.app-4 h3,
.app-5 h3,
.app-6 h3 {
  margin-bottom: -11px;
  margin-top: 2px;
  font-size: 17px;
}

.app-1 img,
.app-2 img,
.app-3 img,
.app-4 img,
.app-5 img,
.app-6 img {
  width: 67px;
}

.title-section-2 {
  text-align: center;
  color: #19599f;
}

.section-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* grid-template-rows: repeat(2, auto); */
  gap: 20px;
  padding: 20px;
  width: 70%;
  margin: 0 auto;
}

.section-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 20px;
  /* width: 72%; */
  width: 65%;
  margin: 0 auto;
}

/*
.section-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 20px;
  width: 72%;
  width: 55%;
  margin: 0 auto;
}
*/
.section-2>div {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.section-3> :only-child {
  grid-column: 2 / 3;
}


.process-1,
.process-2,
.process-3,
.process-4,
.process-5,
.process-6,
.process-7 {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  justify-items: center;
  text-align: center;
  padding: 22px 17px;
  font-size: 12px;
  transition: transform 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 53px 10px 53px 10px;
  background: #05552b14;
  color: #00933f;
  height: 210px;
 
  /* 🔥 CLAVE PARA QUE NO SALTE */
  border: 2px solid transparent;
  box-sizing: border-box;
  /* border: solid 1px #0087cd; */
}

.process-7 {
  height: auto;
}


.process-1:hover,
.process-2:hover,
.process-3:hover,
.process-4:hover,
.process-5:hover,
.process-6:hover,
.process-7:hover {
  transform: scale(1.03);
  color: #006e30;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  background: white;
}

@media (min-width: 1200px) and (max-width: 1350px) {
 
  .app-1,
  .app-2,
  .app-3,
  .app-4,
  .app-5,
  .app-6 {
    grid-template-rows: 24px 2fr 11px;
    min-height: 111px;
  }
 
  .process-1 img,
  .process-3 img,
  .process-4 img,
  .process-5 img,
  .process-6 img {
    width: 82px;
    margin-bottom: -11px;
  }
 
  .process-1,
  .process-2,
  .process-3,
  .process-4,
  .process-5,
  .process-6,
  .process-7 {
    height: 170px;
  }
 
  .process-2 img {
    width: 92px;
    margin-bottom: -13px;
    margin-top: 6px;
  }
 
  .process-5 img {
    width: 75px;
    margin-bottom: 0px;
  }
 
  .process-6 img {
    width: 99px;
    margin-bottom: -12px;
    margin-top: -12px;
  }
 
  .section-2 {
    width: 65%;
  }
 
  .process-7 img {
    width: 132px;
  }
 
  h5 {
 
    font-size: 10px;
    margin-top: -6px;
  }
}

/* .process-1:hover {
  border-color: #0088cc;
}

.process-2:hover {
  border-color: rgb(242, 196, 10);
}

.process-3:hover {
  border-color: #28a35e;
}

.process-4:hover {
  border-color: rgb(242, 196, 10);
}

.process-5:hover {
  border-color: rgb(212, 171, 6);
}

.process-6:hover {
  border-color: #959706;
}

.process-7:hover {
  border-color: #058574;
} */

.process-1 img,
/*.process-2 img,*/
.process-3 img,
.process-4 img,
.process-5 img,
.process-6 img {
  width: 109px;
  margin-bottom: -11px;
}

.process-2 img {
  width: 92px;
  margin-bottom: -13px;
  margin-top: 6px;
}

.process-5 img {
  width: 109px;
  margin-bottom: 0px;
}

.process-6 img {
  width: 140px;
  margin-bottom: -12px;
  margin-top: -12px;
}


.process-7 img {
  width: 167px;
  margin-top: -14px;
  margin-bottom: -29px;
}

.link-process {
  text-decoration: none;
}

.hr-section-2 {
  width: 33em;
  border: none;
  height: 1px;
  background-color: #00a650;
  margin-bottom: 19px;
  margin-top: -19px;
}



/* estilos de la pagina principal*/

.section-carousel {
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 0px 100px;
  gap: 40px;
}

.sectionb {
  /*display: flex;*/
  width: 100%;
  margin: 25px auto;
  /* max-width: 1300px;  */
}

.sectionb a {
  text-decoration: none;
}

.banner {
  background: #0057b8;
  color: #fff;
  padding: 60px 40px;
  border-radius: 20px;
  position: relative;
  text-align: center;
  font-size: 28px;
}

.banner .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #003f8a;
  color: #fff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.title-number {
  background: #00c853;
  color: #fff;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 24px;
  margin-bottom: 10px;
}

.gestion {
  background: #4a80dd;
  color: #fff;
  padding: 10px;
  border-radius: 20px;
  text-align: center;
  font-size: 20px;
  border: none;
}

/* .gestionb {
    background: #4a80dd;
    color: #fff;
    padding: 10px; 
    border-radius: 20px;
    text-align: center;
    font-size: 20px;
    border: none;

  } */

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.button-wrapper-varient-one {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: start;
  min-width: 261px;
  height: 37px;
  padding: 0 60px 0 19px;
  border-radius: 100px;
  border: 1px solid #012131;
  background-color: #0087cd;
  cursor: pointer;
  overflow: hidden;
  margin-bottom: 15px;
}

.button-wrapper-varient-one:hover {

  border: 1px solid #00933f;

}

.button-wrapper-varient-one .button-text {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  z-index: 2;
  transition: color 1s ease-in-out;
}

.button-wrapper-varient-one .arrow-wrapper {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 50%;
  z-index: 12;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  transition: background-color 1s ease-in-out;
}

.button-wrapper-varient-one .arrow-wrapper svg path {
  transition: all 1s ease-in-out;
}

.button-wrapper-varient-one .expand-bg {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 48px;
  height: 48px;
  background-color: #fff;
  border-radius: 50%;
  z-index: 1;
  transition: transform 1s ease-in-out;
}

.button-wrapper-varient-one .inner-circle {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 30px;
  height: 30px;
  background-color: #00933f;
  border-radius: 50%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s linear 0.2s;
}

.button-wrapper-varient-one:hover .expand-bg {
  transform: translateY(-50%) scale(13);
}

.button-wrapper-varient-one:hover .inner-circle {
  transform: translateY(-50%) scale(1);
}

.button-wrapper-varient-one:hover .button-text {
  color: #00933f;
}

.button-wrapper-varient-one:hover .arrow-icon path {
  stroke: #fff;
}

.button-wrapper-varient-one:hover .arrow-wrapper {
  background-color: #00000000;
}


.gestion-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
  color: #000;
}

.gestion-content div {
  width: 80%;
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  font-size: 18px;
}

.info-img {
  text-align: center;
  font-size: 20px;
}

.info-img p {
  font-family: "Source Sans Pro", sans-serif;
  color: #003f8a;
  font-size: 30px;
}

.info-img hr {
  border: none;
  height: 1px;
  background-color: #00a650;
  width: 47%;
  margin-top: -27px;
}

.hr-app {
  border: none;
  height: 1px;
  background-color: #00a650;
  width: 41%;
  margin-top: -15px;
  margin-bottom: 27px;
}

.info-img-imgbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.info-img-imgbox img {
  width: 70%;
  max-width: 650px;
  border-radius: 20px;
}

.arrow {
  font-size: 55px;
  color: #00c853;
  cursor: pointer;
}

.apps {
  width: auto;
  /* background: #eafaf1; */
  /*border-left: 6px solid #00c853;*/
  padding: 0;
  border-radius: 20px;
  margin: 30px auto;
  text-align: center;
  /* width: 20%;
  max-width: 300px; */
}

.apps-title {
  color: #00a342;
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 22px;
  text-align: center;
}

/* .apps-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
} */

.apps a {
  display: flex;
  /* display: block; */
  /* background: #4aa7ff; */
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 0px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  justify-content: center;
}

h5 {
    margin-top: 0px;
    margin-bottom: 0px;
}

/* FOOTER */

footer {
  /* background: #00933f; */
  background: linear-gradient(121deg, #0087cd 10%, #046ca0 91%);
  color: white;
  position: relative;
  width: auto;
  height: auto;
  padding: 30px 100px 30px 100px;
  margin-top: 87px;
}

footer .col-3 {
  flex: 1;
  /* igual ancho base */
  padding-left: 35px;
  /* ya lo tienes */
}

/* Segunda columna: Nuestras sedes */
footer .col-3:nth-child(1) {
  flex: 3;
  /* el doble de ancho que las demás */
}

footer .col-3:nth-child(2) {
  flex: 2;
  /* text-align: center; */
  margin-left: 114px;
}

footer .col-3:nth-child(3) {
  flex: 2;
  /* text-align: center; */

}

footer .col-3:nth-child(4) {
  flex: 2;
  /* text-align: center; */

}

footer .col-3 ul {
  list-style: none;
  /* quita el punto */
  padding-left: 0;
  /* quita el espacio que deja el punto */
  margin: 0;
}

footer .col-3 ul li {
  margin-bottom: 6px;
}

footer img {
  width: 250px;
  margin-top: 43px;
  filter: brightness(0) invert(1);
}

footer span {
  margin-top: 25px;
}

footer h6 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: normal;
  line-height: normal;
  /* text-align: left; */
  margin-bottom: 15px;
  margin-top: 50px;
}

footer .col-3 {
  padding-left: 35px;
}

footer a {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
  color: white;
}

footer a:hover {
  color: #e3ff12;
  transform: scale(1.05);
}

.footer-list li a i {
  margin-right: 5px;
}

.footer-container {
  display: flex;
}

.social {
  display: flex;
  align-items: center;
  margin-top: 13px;
  padding-left: 5px;
}

.social i {
  color: #fff;
  font-size: 17px;
  margin-right: 15px;
}

.social i:hover {
  color: #eeff00;
}

@media only screen and (max-width: 600px) {
  footer .col-3 {
    padding-left: 0;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-container .col-3 {
    width: 100% !important;
  }

  .copyright {
    font-size: 11px;
  }
}


/* .footer {
  background: #0057b8;
  color: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  font-size: 20px;
  margin-top: 40px;
} */


.version {
  height: 22px;
  display: flex;
  justify-content: space-between;
  /* Mantiene los elementos en los extremos */
  align-items: center;
  width: 100%;
  background-color: #075f8d;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
  color: white;
  padding: 0 15px;
}

/* Contenedor para el texto de derechos de autor, centrado */
.version .copyright-container {
  flex-grow: 1;
  /* Permite que este contenedor ocupe el espacio disponible */
  display: flex;
  justify-content: center;
  /* Centra el contenido horizontalmente */
  align-items: center;
}

.version p {
  margin: 0;
  padding-right: 30px;
  font-size: 12px;
  color: white;
}


/* RESPONSIVE */
@media (min-width: 1600px) and (max-width: 1800px) {
  .section-dashboard {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 17px;
    width: 76%;
  }
}

@media (max-width: 1400px) {
  footer .col-3:nth-child(2) {
    flex: 2;
    /* text-align: center; */
    margin-left: 46px;
  }
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .gestion-content div {
    width: 100%;
  }

  .botones a {
    flex-basis: 100%;
  }

  .info-img-imgbox img {
    max-width: 100%;
  }
}

/* ESTILOS DE VISTA ESTANDAR HABILITACION SEDES */
.btn {
  padding: 10px 20px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.btn-inicio {
  background-color: #2684ff;
}

.btn-cerrar {
  background-color: #e53935;
}

.container {
  width: 24%;
  margin: 20px auto;
  text-align: center;
}

h2 {
  color: #000;
  margin-bottom: 25px;
  font-size: 32px;
}

.sedes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.sede-box {
  display: flex;
  flex-direction: column;
  /* CLAVE: imagen arriba */
  text-decoration: none;
  color: #fff;
  background-color: #4D8BFF;
  ;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sede-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}

.sede-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.sede-info {
  background-color: #4D8BFF;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  /*font-weight: bold;*/
  font-size: 20px;
}

.sede-info i {
  color: #fff;
}

.eslogan {
  display: grid;
  justify-items: center;
}

.parrafo-subtitulo {
  color: #003f8a;
  font-size: 28px;
  font-style: italic
}

.hr-parrafo-subtitulo {
  border: none;
  height: 1px;
  background-color: #00a650;
  width: 47%;
  margin-top: -15px;
}

@media (max-width: 480px) {
  .sede-img {
    height: 130px;
  }

  footer .col-3:nth-child(2) {
    flex: 2;
    /* text-align: center; */
    margin-left: 0px;
  }
}

/*ESTILOS DE ESTANDARES*/


.estandar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.estandar-box {
  background-color: #4D8BFF;
  color: white;
  padding: 18px;
  border-radius: 15px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
}

.estandar-box:hover {
  background-color: #2669ff;
  transform: translateY(-4px);
}

.icono {
  font-size: 22px;
}

/* ESTILOS DE LA DESCRIPCION DE LOS MACRO PROCESOS */

.titulo-principal {
  padding: 13px;
}

.titulo-principal h1 {
  text-align: center;
  font-family: "Source Sans Pro", sans-serif;
  color: #003f8a;
  font-size: 35px;
  font-weight: 400;
}

.titulo-principal hr {
  border: none;
  height: 1.2px;
  background-color: #00a650;
  width: 25%;
  margin-top: -17px;
}

.titulo-principal .icono {
  width: 50px;
  vertical-align: middle;
  margin-right: 10px;
}

.subtitulo {
  /* background: #003d87; */
  background: linear-gradient(336deg, #0087cd 67%, #164b85 96%);
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  font-family: "Source Sans Pro", sans-serif;
  width: 23%;
  margin: 0 auto;
  border-radius: 26px;
}

.subtitulo .ejemplo {
  color: #fcd303;
}

.subtitulo .macro {
  color: white;
}

.contenedor {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  gap: 15px;
  margin: 0 auto;
  width: 80%;
}

.caja {
  width: 33%;
  padding: 20px;
  border-radius: 14px;
  font-size: 15px;
  color: #414141;
  text-align: center;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.caja:hover {
  transform: scale(1.0) translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);/
}


.caja p {
  font-size: 17px;
}

.caja p strong {
  color: #077135;
}

.caja ul {
  margin-top: 8px;
}

.caja ul li {
  text-align: left;
  list-style: none;
}

.boton-caja {
  display: inline-block;
  color: #0087cd;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.boton-caja:hover {
  transform: scale(1.05);
}

.matriz {
  background: #0087cd;
  text-align: center;
  padding: 25px;
  font-size: 18px;
  font-weight: bold;
  margin: 20px 0;
  color: white;
}

@media (max-width: 900px) {
  .contenedor {
    flex-direction: column;
  }

  .caja {
    width: 100%;
  }

  .titulo-principal h1 {
    font-size: 20px;
  }
}

/* ESTILOS DE LA VISTA DEL MAPA DE PROCESOS*/

/* main {
  display: flex;
  width: 100%;
  min-height: calc(100vh - 80px);
  padding-top: 80px; 
background: #ffffff;
}*/

/* 
.info-box {
  width: 40%;
  padding: 40px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-content {
  max-width: 480px;
  font-size: 15px;
  line-height: 1.5;
}

.map-wrapper {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
}

.map-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  transform: scale(1.15);
  transform-origin: top center;
} */

/*botones de regreso de todas las paginas*/

main {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  /* derecha un poco más grande */
  gap: 40px;
  padding: 40px;
  background: #ffffff;
  /* gris corporativo suave */
  min-height: 100vh;
  box-sizing: border-box;
}

/* Caja izquierda */
.info-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 47%);
}

/* Contenedor del mapa */
.map-wrapper {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 47%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Imagen del mapa adaptable */
.map-image {
  max-width: 100%;
  height: auto;
}



.contenedor-botones {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 10px;
  margin-bottom: 10px;
  /* background: #0087cd; */
  background: linear-gradient(336deg, #0087cd 61%, #19599f 96%);
}

.botonr {
  color: #fff;
  text-decoration: none;
  margin-left: 20px;
  font-size: 16px;
  /* background-color: dodgerblue; */
  padding: 10px;
  border-radius: 10px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.botonr:hover {
  transform: scale(1.05);
  color: #d4ebf7;
}

/*Estilos del las tablas de listado general y listado maestro*/

.tabla-contenedor {
  width: 87%;
  max-width: 100%;
  overflow-x: auto;
  margin: 20px auto;
  background: #f5f5f5;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

.tabla-estilo {
  width: 100%;
  max-width: 100%;
  /*border-collapse: collapse;*/
  font-family: Arial, sans-serif;
  table-layout: auto;
}

.tabla-estilo thead {
  /* background: #4b6cfb; */
  background: linear-gradient(336deg, #0087cd 61%, #19599f 96%);
  color: white;
}

.tabla-estilo th {
  /*padding: 15px;*/
  height: 35px;
  max-height: 35px;
  text-align: center;
  font-size: 15px;
  padding: 4px;
}

.tabla-estilo td {
  height: 30px;
  max-height: 30px;
  padding: 8px;
  font-size: 13px;
  border-bottom: 1px solid #eee;
}

.tabla-estilo tbody tr:nth-child(odd) {
  background: #f9f9ff;
}

.tabla-estilo tbody tr:hover {
  background: #e8eaff;
  cursor: pointer;
}

/*ESTILOS DE LA PAGINACION DE LA TABLA*/

.top-bar {
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 5px;
  width: 84%;
  margin: 0 auto 10px auto;
  padding: 18px 15px;
  font-family: "Source Sans Pro", sans-serif;
}

.top-bar-gestion {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  width: 84%;
  margin: 0 auto 10px auto;
  padding: 18px 15px;
  font-family: "Source Sans Pro", sans-serif;
}

/* CONTENEDOR GENERAL */
.flujos-search {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #003f8a2b;
  border-radius: 10px;
  padding: 8px 12px;
  transition: all 0.2s ease;
}

/* EFECTO AL HACER FOCUS EN CUALQUIER INPUT */
.flujos-search:focus-within {
  background: #ffffff;
  box-shadow: 0 0 0 2px #00933f33;
}

/* ICONO LUPA */
.flujos-search i {
  color: #0087cd;
  font-size: 14px;
}

/* INPUT BUSCADOR */
.flujos-search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  flex: 1;
  /* ocupa el espacio disponible */
  min-width: 180px;
}

/* CONTENEDOR DEL SELECT */
.filtro-estado {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filtro-estado label {
  font-size: 13px;
  color: #555;
  white-space: nowrap;
}

/* SELECT ESTILO */
.filtro-estado select,
.filtro-gestion select {
  width: 100%;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgb(2 6 23 / 0%);
  padding: 0 8px;
  background: #003f8a2b;
}

.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 14px;
}

.bottom-bar select {
  padding: 5px;
  margin: 0 5px;
  border-radius: 10px;
  background: #003f8a2b;
  border: solid 1px transparent;
}

.pagination button {
  padding: 5px 10px;
  margin-left: 5px;
  border: none;
  background: #2c3e50;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.pagination button:disabled {
  background: #2a5e97;
  cursor: not-allowed;
  border-radius: 10px;
}



@media (max-width: 600px) {

  .tabla-estilo th,
  .tabla-estilo td {
    padding: 10px;
    font-size: 14px;
  }
}

/* ESTILOS DEL CAROUSEL */

.carousel {
  position: relative;
  width: 100%;
  max-width: 950px;
  height: 500px;
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  display: block;
}

.slide-mapa-procesos img {
  width: 58%;
  margin: 0 auto;
}

.slide a {
  display: block;
  pointer-events: auto;
}

.slide img {
  cursor: pointer;
}



/* Botones */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 30px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
}

.carousel-btn.prev {
  left: 15px;
}

.carousel-btn.next {
  right: 15px;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* ESTILOS DEL BOTON DE AGREGAR DOCUMENTO*/

.top-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 30px;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.btn-dropdown {
  background: #2a5e97;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.btn-dropdown i {
  margin-left: 6px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  overflow: hidden;
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: #1e293b;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background-color: #f1f5f9;
}

.dropdown.active .dropdown-menu {
  display: block;
}

/* ESTILOS DEL FORMULARIO DE CARGAR DOCUMENTO*/

/* CONTENEDOR GENERAL */
.form-container {
  max-width: 900px;
  margin: 40px auto;
  background: #ffffff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  font-family: "Segoe UI", sans-serif;
}

/* TÍTULO */
.form-container h2 {
  margin-bottom: 25px;
  font-size: 22px;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

/* GRID */
.form-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

/* CAMPOS */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ARCHIVO */
.form-group input[type="file"] {
  padding: 8px;
}

/* BOTÓN */
.form-actions {
  margin-top: 30px;
  text-align: right;
}

.btn-submit {
  background-color: #2563eb;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background-color: #1e4fd8;
}

/*LISTADO DEL CAMPO NOMBRE*/

.autocomplete {
  position: relative;
}

.autocomplete-list {
  position: relative;
  background: #EBEBEB;
  border: 1px solid #ddd;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.autocomplete-item {
  padding: 8px 10px;
  cursor: pointer;
  border-bottom: 1px solid #FFF;
  font-size: 12px;
  /*color: #666;*/
}

.autocomplete-item:hover {
  background-color: #f5f5f5;
}

.autocomplete-title {
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  background: #f4f6f9;
  border-bottom: 1px solid #ddd;
  /*text-transform: uppercase;*/
}

.autocomplete-item {
  padding: 8px 10px;
  cursor: pointer;
}

.autocomplete-item:hover {
  background: #e8f0fe;
}

/* RESPONSIVE */
@media (max-width: 1366px) {

  .process-1,
  .process-2,
  .process-3,
  .process-4,
  .process-5,
  .process-6,
  .process-7 {
    font-size: 10px;
  }
}

@media (min-width: 1000px) and (max-width: 1400px) {
  .section-dashboard {
    gap: 14px;
    grid-template-columns: repeat(6, auto);
  }

  .section-dashboard-1 {
    gap: 14px;
    grid-template-columns: repeat(2, auto);
  }
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    text-align: center;
  }
}

@media (min-width: 375px) and (max-width: 500px) {
  h5 {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 7px;
  }

  .title-dashboard {
    font-size: 22px;
  }

  .header-search {
    width: 226px;
    height: 14px;
  }

  .section-dashboard {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 7px;
  }

  /*
  .section-dashboard {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
*/
  .app-1,
  .app-2,
  .app-3,
  .app-4,
  .app-5,
  .app-6 {
    min-height: 94px;
    width: auto;
    gap: 1px;
  }

  .app-1 img,
  .app-2 img,
  .app-3 img,
  .app-4 img,
  .app-5 img,
  .app-6 img {
    width: 46px;
  }

  .app-1 h3,
  .app-2 h3,
  .app-3 h3,
  .app-4 h3,
  .app-5 h3,
  .app-6 h3 {
    font-size: 11px;
  }

  .section-2 {
    grid-template-columns: repeat(2, 1fr);
    width: 80%;
  }

  .hr-section-2 {
    width: 14em;
  }

  .process-1 img,
  .process-3 img,
  .process-4 img,
  .process-5 img,
  .process-6 img {
    width: 66px;
    margin-top: -14px;
    margin-bottom: 0px;
  }

  .process-2 img {
    width: 71px;
    margin-bottom: -8px;
    margin-top: -14px;
  }

  .process-1,
  .process-2,
  .process-3,
  .process-4,
  .process-5,
  .process-6,
  .process-7 {
    font-size: 7px;
  }

  .process-1,
  .process-2,
  .process-3,
  .process-4,
  .process-5,
  .process-6,
  .process-7 {
    height: 133px;
  }

  .section-3 {
    width: 55%;
    margin: -20px auto;
  }

  .process-7 img {
    width: 114px;
    margin-top: -26px;
    margin-bottom: -23px;
  }

  .parrafo-subtitulo {
    font-size: 23px;
    text-align: center;
    padding: 22px;
  }

  .hr-parrafo-subtitulo {
    margin-top: -38px;
  }

  footer {
    padding: 30px 38px 30px 43px;
    margin-top: 0px;
  }

  footer img {
    margin-top: 21px;
  }

  .social {
    justify-content: center;
  }

  footer .col-3:nth-child(2) {
    text-align: center;
  }

  footer .col-3:nth-child(3) {
    text-align: center;
  }

  footer .col-3:nth-child(4) {
    flex: 2;
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 900px) {

  .section-dashboard {
    grid-template-columns: repeat(3, 1fr);
  }

  .app-1 img,
  .app-2 img,
  .app-3 img,
  .app-4 img,
  .app-5 img,
  .app-6 img {
    width: 50px;
  }

  .app-1 h3,
  .app-2 h3,
  .app-3 h3,
  .app-4 h3,
  .app-5 h3,
  .app-6 h3 {
    font-size: 19px;
  }

  .app-1,
  .app-2,
  .app-3,
  .app-4,
  .app-5,
  .app-6 {
    min-height: 114px;
    width: 204px;
  }

  .section-2 {
    width: 90%;
  }

  .process-1,
  .process-2,
  .process-3,
  .process-4,
  .process-5,
  .process-6,
  .process-7 {
    font-size: 8px;
  }

  .parrafo-subtitulo {
    text-align: center;
    padding: 0 39px;
  }

  footer {
    padding: 0px 0px 43px 0px;
    /* margin-top: 87px; */
  }
}





/*****************************************************************************************/

/* NO BORRAR ESTILOS DE LAS VISTA DE FLUJOS DE APROBACIÓN */
.campo {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.campo label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.campo input {
  padding: 10px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  /*background-color: #f9f9f9;*/
  font-size: 12px;
  color: #333;
}

.campo input[readonly] {
  /*background-color: #f5f7fa;*/
  cursor: not-allowed;
}

.botonf {
  width: 210px;
  height: 40px;
  border-radius: 8px;
  font-size: 18px;
  border: 3px #fff;
  color: #fff;

}

.botonf :hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .tabla-contenedor {
    grid-template-columns: 1fr;
  }
}

.acciones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

.botonf {
  width: 100%;
  padding: 10px;
  border: none;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
}

.aprobado {
  background-color: green;
}

.devolver {
  background-color: gray;
}

.rechazado {
  background-color: red;
}

.wizard {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 30px auto;
}

.wizard-step {
  flex: 1;
  text-align: left;
  position: relative;
  padding-bottom: 12px;
}

.wizard-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.wizard-text strong {
  display: block;
  font-size: 14px;
  color: #212529;
}

.wizard-text small {
  font-size: 12px;
  color: #6c757d;
}

/* Barra inferior */
.wizard-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: #dee2e6;
}

/* COMPLETADO */
.wizard-step.completed .wizard-circle {
  background: #0d6efd;
  color: #fff;
}

.wizard-step.completed .wizard-text strong {
  color: #00A54F;
}

.wizard-step.completed .wizard-bar {
  background: #0d6efd;
}

/* ACTIVO */
.wizard-step.active .wizard-circle {
  background: #6ea8fe;
  color: #fff;
}

/* ERROR */
.wizard-step.error .wizard-circle {
  background: #dc3545;
  color: #fff;
}

.wizard-step.error .wizard-text strong {
  color: #dc3545;
}

.wizard-step.error .wizard-bar {
  background: #dc3545;
}

/* ESTILOS DEL FORMULARIO PARA DESBLOQUEAR EL FORMULARIO*/

.modo-lectura input,
.modo-lectura select,
.modo-lectura textarea {
  pointer-events: none;
  background-color: #f5f7fa;
  color: #666;
}

/* Checkboxes */
.modo-lectura input[type="checkbox"] {
  pointer-events: none;
  opacity: 0.6;
}

/* MODO EDICIÓN */
.modo-edicion input,
.modo-edicion select,
.modo-edicion textarea {
  pointer-events: auto;
  background-color: #fff;
  color: #000;
}

/* ESTILOS DEL MODAL CON EL HISTORICO */

.modal-historial {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  width: 70%;
  max-width: 900px;
  border-radius: 8px;
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  font-family: Arial, Helvetica, sans-serif;
  align-items: center;
  padding: 1px 16px;
  background: #f1f1f1;
  font-size: 14px;
}

.modal-body {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  padding: 14px;
  max-height: 400px;
  overflow-y: auto;
  font-size: 13px;
}

.modal-body table th {
  padding: 10px 12px;
}

.modal-body table td {
  padding: 8px 12px;
}

.close-modal,
.close-modalN {
  font-size: 26px;
  cursor: pointer;
}

/* ESTILOS DE LAS NOTAS */

/* Botón flotante */
#btnNotas {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #0d6efd;
  color: #fff;
  padding: 12px 14px;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  font-weight: bold;
  z-index: 9999;
  display: flex;
  gap: 6px;
  align-items: center;
}

/* Panel lateral */
#panelNotas {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100%;
  background: #ffffff;
  box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  z-index: 9998;
  display: flex;
  flex-direction: column;
}

/* Panel abierto */
#panelNotas.abierto {
  right: 0;
}

/* Header */
.panel-header {
  background: #f1f1f1;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

/* Textarea */
#panelNotas textarea {
  flex: 1;
  border: none;
  padding: 12px;
  resize: none;
  font-size: 14px;
  outline: none;
}

#overlayNotas {
  position: fixed;
  inset: 0;
  background: transparent;
  display: none;
  z-index: 9999;
}

/* ULTIMOS ESTILOS DE INFORMACION POR LAS PESTAÑAS */

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 0;
  /* clave para unión visual */
}

.tab {
  padding: 10px 18px;
  border: 1px solid transparent;
  border-bottom: none;
  background: #e9ecef;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s ease;
}

.tab:hover {
  background: #dee2e6;
}

.tab.active {
  background: #ffffff;
  color: #0d6efd;
  border: 1px solid #dee2e6;
  border-bottom: 1px solid #ffffff;
  position: relative;
  top: 1px;
}


.tab-content {
  display: none;
  background: #ffffff;
  padding: 32px 24px 24px 24px;
  border: 1px solid #dee2e6;
  border-top: none;
  border-radius: 0 8px 8px 8px;
}

.tab-content.active {
  display: block;
}

.tab-content .campo:first-child {
  margin-top: 0;
}

.tab-content.active {
  border-left: 4px solid #0d6efd;
  background: #fbfcfe;
  animation: fadeIn .15s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/********* ESTILOS DE LOS FILTROS NO BORRAR  ****************/

/* CONTENEDOR DE FILTROS */
.top-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 18px 20px;
  background: #f4f6f9;
  border-radius: 12px;
  margin-bottom: 10px;
  align-items: flex-end;
  border: 1px solid #e5e7eb;
}

/* LABELS */
.top-bar label {
  font-size: 12px;
  font-weight: 600;
  color: #000;
  margin-bottom: 6px;
  display: block;
}

/* INPUTS Y SELECTS */
.top-bar input,
.top-bar select {
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  min-width: 190px;
  font-size: 13px;
  background: #ffffff;
  transition: all 0.2s ease;
}

/* HOVER */
.top-bar input:hover,
.top-bar select:hover {
  border-color: #9ca3af;
}

/* FOCUS */
.top-bar input:focus,
.top-bar select:focus {
  outline: none;
  border-color: #1f2937;
  box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.08);
}

/* SELECT FLECHA MÁS LIMPIA */
.top-bar select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='%236b7280' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.25 7.5L10 12.25L14.75 7.5H5.25Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  padding-right: 30px;
}

/***************************** */

.view-switch {
  padding: 10px 20px;
}

.view-switch button {
  padding: 4px 7px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
  border-radius: 5px;
  margin-right: 5px;
}

.view-switch button.active {
  background: #2c3e50;
  color: white;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  padding: 20px;
}

/*
    .doc-card {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 15px;
        background: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        transition: 0.2s ease;
        cursor: pointer;
    }
*/
.doc-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  /* IMPORTANTE */
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: 0.2s ease;
  cursor: pointer;
  padding: 0;
  /* quitamos el padding porque ahora se divide */
}

.doc-card:hover {
  transform: translateY(-3px);
}

.doc-card h3 {
  margin: 10px 0 15px 10px;
  font-size: 15px;
}

.doc-card .tag {
  display: block;
  /* ANTES inline-block */
  padding: 6px 10px;
  font-size: 12px;
  background: #f0f0f0;
  border-radius: 8px;
  margin: 6px 10px;
  /* margen vertical */
  width: calc(93% - 20px);
}

/* Parte superior de la tarjeta */
.card-image {
  height: 110px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #0087cd;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.card-image i {
  font-size: 50px;
  color: #0087cd;

}


/* ETIQUETA SOBRE LAS TARJETAS DE LOS DOCUMENTOS */

.ribbon {
  position: absolute;
  top: 12px;
  right: -40px;
  width: 140px;
  padding: 6px 0;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  color: white;
  transform: rotate(45deg);
  z-index: 3;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Colores (solo diseño por ahora) */
.ribbon-publico {
  background: #28a745;
  /* verde */
}

.ribbon-borrador {
  background: #dc3545;
  /* rojo */
}

/****** ESTILOS DE LISTADO DEL BUSCADOR DE DOCUMENTO AHORA, HEADER Y DASHBOARD *******/

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-height: 250px;
  overflow-y: auto;
  display: none;
  z-index: 999;
  font-family: "Be Vietnam Pro", sans-serif !important;
}

.result-item {
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
}

.result-item:hover {
  background: #f5f5f5;
}

.navbar-search,
.header-search {
  position: relative;
}