/*Estilos del Login*/

body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  width: 100vw;
  overflow-x: hidden;
}

.login-container {
  max-width: 300px;
  margin: 150px auto;
  padding: 30px;
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.input-container {
  display: flex;
  margin-bottom: 10px;
  gap: 10px;

}

.input-container i {
  position: absolute;
  margin-bottom: 6px;
  margin-left: 250px;
  transform: translateY(-50%);
  color: #aaa;
  align-self: center;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1px;
  margin-top: 10px;
  color: #2875c9;
}

p {
  text-align: center;
  color: rgb(104, 104, 109);
  font-size: 10px;
  margin-bottom: 30px;
  margin-top: 1px;

}

input[type="text"],
input[type="password"],
.botonlogin {
  width: 100%;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #c5ccce;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 15px;
}

.usuario {
  height: 45px;
}

.contrasena {
  height: 45px;
}

.botonlogin {
  background-color: #2875c9;
  color: #fff;
  cursor: pointer;
}

.botonlogin:hover {
  background-color: #0056b3;
}

#message {
  text-align: center;
  color: rgb(34, 34, 34);
  margin-top: 10px;
}

input[type="text"]:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.6);
}

input[type="password"]:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.6);
}

.recuperar {
  display: block;
  text-align: center;
  margin-top: 15px;
  color: #2875c9;
  text-decoration: none;
  font-size: 12px;
}

.recuperar:hover {
  text-decoration: underline;
}

/* Agrega estos estilos a tu archivo estilos.css */

/* Hace que el contenedor de la contraseña sea relativo para que el ícono pueda ser absoluto */
.password-wrapper {
  position: relative;
  /* Si tu .input-container ya tiene position: relative, 
       puedes omitir esta línea, pero la añado por si acaso. */
}

/* Estilo para el ícono de mostrar/ocultar contraseña */
.toggle-password {
  position: absolute;
  /* Posiciona el ícono de forma absoluta dentro del contenedor */
  right: 15px;
  /* Ajusta la distancia desde la derecha */
  top: 35%;
  /* Centra verticalmente */
  transform: translateY(-50%);
  /* Ajuste fino para el centrado vertical */
  cursor: pointer;
  /* Cambia el cursor para indicar que es interactivo */
  font-size: 20px;
  /* Tamaño del ícono, ajústalo si es necesario */
  color: #4d7ee7;
  /* Color del ícono, ajústalo si es necesario */
  z-index: 10;
  /* Asegura que esté por encima del input */
}



/*Estilo Fondo */

.grid-wrapper {
  min-height: 100%;
  width: 100%;
  position: relative;
  background-color: #f8fafc;
}

.grid-background {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-image: linear-gradient(to right, #e2e8f0 1px, transparent 1px),
    linear-gradient(to bottom, #e2e8f0 1px, transparent 1px);
  background-size: 20px 30px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%,
      #000 60%,
      transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%,
      #000 60%,
      transparent 100%);
}

/*Estilos Generales*/

header {
  color: #0c0c0c;
  position: fixed;
  z-index: 1000;
}

main {
  padding: 0;
  margin: 0;
}

.contenedortodos {
  padding: 130px 5% 100px 5%;
}

/*Estilos Botones*/

.boton {
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  border-radius: 10px;
}

.btnformularios {
  border: none;
  padding: 12px 28px;
  cursor: pointer;
  border-radius: 50px;
  color: #ffffff;
}

.primario {
  background-color: #0D6EFD;
  color: #ffffff;
}

.primario:hover {
  background: #e9f1ff;
  color: #000000;
}

.limpiar {
  background-color: rgb(207, 207, 207);
  color: #030303;
}

.limpiar:hover {
  background: #555555;
  color: rgb(255, 255, 255);
}

.regresar {
  background-color: rgb(61, 58, 58);
  color: white;
  padding: 5px 20px;
  cursor: pointer;
  border: #ddd;
  border-radius: 20px;
  font-size: 20px;
}

.regresar:hover {
  background: #6f6f70;
}

.success {
  background-color: rgb(4, 163, 31);
  border: 2px solid #ffffff;
  width: 40%;
}

.success:hover {
  background-color: #c1e0c2;
  color: rgb(0, 0, 0);
}

.secondary {
  background-color: rgb(253, 225, 148);
  color: #000000;
}

.secondary:hover {
  background: #b49509;
  color: rgb(255, 255, 255);
}

.eliminar {
  background-color: rgb(255, 0, 0);
  color: #ffffff;
}

.historial {
  background-color: rgb(58, 4, 119);
  color: #ffffff;
}

.historial:hover {
  background: rgb(111, 16, 219);
  color: rgb(241, 241, 241);
}

/* Estilo encabezado - menu */

/* ====== NAVBAR BASE ====== */
.menu {
  background-color: #001037;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.inicio {
  background-color: #00000065;
}

.iniciosroleado {
  background-color: #001037;
}


/* Flex para organizar logo, enlaces y usuario */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
}

/* Logo */
.logo a {
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  padding: 20px 0;
}

/* Links */
#nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
}

#nav-links li a {
  color: white;
  text-decoration: none;
  padding: 25px 10px;
  position: relative;
  display: inline-block;
}

/* Hover con barra */
#nav-links li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 0%;
  height: 1.5px;
  background-color: #ffffff;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

#nav-links li a:hover::after {
  width: 60%;
}

/* Usuario con nombre */
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  /* separa avatar y nombre */
  cursor: pointer;
  color: white;
  font-size: 15px;
  font-weight: 500;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid white;
  flex-shrink: 0;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.user-name {
  color: white;
}

/* Dropdown */
.user-menu .dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background-color: #001037;
  min-width: 160px;
  border-radius: 0 0 5px 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.usinicio .dropdown {
  background-color: #00000049;
}

.user-menu .dropdown a {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}

.user-menu .dropdown a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.user-menu:hover .dropdown {
  display: block;
}


/* Botón hamburguesa */
.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  padding: 20px;
}

/* ====== RESPONSIVE ====== */
@media screen and (max-width: 768px) {

  /* Escondemos enlaces */
  #nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  #nav-links.show {
    display: flex;
  }

  /* Hamburguesa visible */
  .hamburger {
    display: block;
  }
}


/*Estilo de la pagina carpetas*/

.contenedorcarpetas {
  justify-items: center;
  display: flex;
  gap: 60px;
  justify-self: center;

}

.container {
  --transition: 350ms;
  --folder-W: 120px;
  --folder-H: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 10px;
  background: linear-gradient(135deg, #6dd5ed, #2193b0);
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  height: calc(var(--folder-H) * 1.7);
  position: relative;
  width: 300px;
  margin-top: 70px;
}

.folder {
  position: absolute;
  top: -20px;
  left: calc(50% - 60px);
  animation: float 2.5s infinite ease-in-out;
  transition: transform var(--transition) ease;
}

.folder:hover {
  transform: scale(1.05);
}

.folder .front-side,
.folder .back-side {
  position: absolute;
  transition: transform var(--transition);
  transform-origin: bottom center;
}

.folder .back-side::before,
.folder .back-side::after {
  content: "";
  display: block;
  background-color: white;
  opacity: 0.5;
  z-index: 0;
  width: var(--folder-W);
  height: var(--folder-H);
  position: absolute;
  transform-origin: bottom center;
  border-radius: 15px;
  transition: transform 350ms;
  z-index: 0;
}

.container:hover .back-side::before {
  transform: rotateX(-5deg) skewX(5deg);
}

.container:hover .back-side::after {
  transform: rotateX(-15deg) skewX(12deg);
}

.folder .front-side {
  z-index: 1;
}

.container:hover .front-side {
  transform: rotateX(-40deg) skewX(15deg);
}

.folder .tip {
  background: linear-gradient(135deg, #ff9a56, #ff6f56);
  width: 80px;
  height: 20px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: -10px;
  z-index: 2;
}

.folder .cover {
  background: linear-gradient(135deg, #ffe563, #ffc663);
  width: var(--folder-W);
  height: var(--folder-H);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.custom-file-upload {
  color: #ffffff;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background var(--transition) ease;
  display: inline-block;
  width: 100%;
  padding: 10px 2px;
  position: relative;
}

.custom-file-upload:hover {
  background: rgba(255, 255, 255, 0.4);
}

.custom-file-upload input[type="file"] {
  display: none;
}

.carpeta-azul {
  background: linear-gradient(135deg, #6dd5ed, #2193b0);
  /* azul original */
}

.carpeta-azulfuerte {
  background: linear-gradient(135deg, #3283ec, #1166ac);
  /* azul fuerte */
}

.carpeta-verde {
  background: linear-gradient(135deg, #a8e063, #56ab2f);
  /* verde */
}

.carpeta-roja {
  background: linear-gradient(135deg, #ff6a6a, #c0392b);
  /* rojo */
}

.carpeta-morada {
  background: linear-gradient(135deg, #e9c655, #e0bf39);
  /* morado */
}

.carpeta-naranja {
  background: linear-gradient(135deg, #f1a571, #ff6500);
  /* morado */
}

/* From Uiverse.io by zanina-yassine */
/* Remove this container when use*/
.component-title {
  width: 100%;
  position: absolute;
  z-index: 999;
  top: 30px;
  left: 0;
  padding: 20px 20px 0 20px;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #888;
  text-align: center;
}

.tab-container {
  position: relative;

  display: flex;
  flex-direction: row;
  align-items: flex-start;

  padding: 2px;

  background-color: #dadadb;
  border-radius: 9px;
}

.indicator {
  content: "";
  width: 200px;
  height: 28px;
  background: #ffffff;
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: 9;
  border: 0.5px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.12), 0px 3px 1px rgba(0, 0, 0, 0.04);
  border-radius: 7px;
  transition: all 0.2s ease-out;
}

.tab {
  width: 130px;
  height: 28px;
  position: absolute;
  z-index: 99;
  outline: none;
  opacity: 0;
}

.tab_label {
  width: 200px;
  height: 28px;

  position: relative;
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;

  font-size: 0.80rem;
  opacity: 0.6;

  cursor: pointer;
}

.tab--1:checked~.indicator {
  left: 2px;
}

.tab--2:checked~.indicator {
  left: calc(200px + 2px);
}

.tab--3:checked~.indicator {
  left: calc(200px * 2 + 2px);
}


/*Diseño Responsivo de pagina Carpetas*/

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/*Estilos de pagina Carpetas */


.contenedordatospensionado {
  justify-self: center;
  align-items: center;
  border-radius: 10px;
  gap: 10px;
  width: 75%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  padding-top: 20px;
}

.contenedorinformacion {
  align-items: center;
  border-radius: 10px;
  gap: 10px;
  width: 75%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  padding-top: 20px;
}

h3 {
  text-align: center;
}

.h7 {
  text-align: center;
  font-size: small;
}

h5 {
  text-align: center;
  padding-bottom: 20px;
}

.segundoa {
  width: 75%;
  display: block;
  padding-top: 30px;
  box-shadow: none;
}

.bpension {
  width: 190px;
  height: 50px;
}

/*Estilos de pagina expedientes*/

/* Estilo contenedor principal para Expedientes */

.tarjetas {
  display: flex;
  width: 100%;
  gap: 40px;
  margin-top: 50px;
  justify-items: center;
  justify-content: center;
}

/* Estilo cards de expedientes */

.card {
  width: 200px;
  background: rgb(255, 255, 255);
  border-radius: 10px;
  padding: 50px 20px;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px #4445;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

.icon,
.heading,
.content {
  position: relative;
  z-index: 5;
  transition: all 0.5s;
}

.icon {
  width: 40px;
  fill: #55658C;
  margin-bottom: 20px;
}

.heading {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

.number {
  position: absolute;
  top: -90px;
  right: -85px;
  padding: 80px 100px 30px 30px;
  background: #55658C;
  border-radius: 100%;
  z-index: 5;
}

.number .text {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}


.number::after {
  content: "";
  width: 50px;
  height: 50px;
  background: #001953;
  position: absolute;
  border-radius: 100%;
  top: 50%;
  right: 50%;
  transition: all 0.5s;
  transform: translateX(50%) translateY(-50%);
  z-index: -1;
}

.externo {
  background: #08a11d;
}

.externo::after {
  background: #018512;
}

.descuentos {
  background: #94048d;
}

.descuentos::after {
  background: #3f023a;
}

.text {
  margin-top: 20px;
}

.card:hover {
  scale: 1.02;
  box-shadow: 0 5px 20px #444e;
}

.card:hover .number::after {
  width: 900px;
  height: 900px;
}

.card:hover .icon,
.card:hover .heading,
.card:hover .content {
  color: #f5f5f5;
  fill: #f5f5f5;
}

.content {
  font-size: 12px;
}



@media (max-width: 1200px) {
  .tarjetas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .contenedorcarpetas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

}

/*Estilos para registro de expedientes*/

.contenedorexpedientes {
  display: flex;
  gap: 10px;
  justify-content: center;
  justify-items: center;
  flex-wrap: wrap;
  padding-bottom: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

h4 {
  text-align: center;
  padding-bottom: 32px;
}

.spinner {
  border: 8px solid #f3f3f3;
  /* gris claro */
  border-top: 8px solid #3498db;
  /* azul */
  border-radius: 50%;
  width: 40px;
  /* tamaño un poco más pequeño */
  height: 40px;
  animation: spin 1s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* Estilo del buscador  */

.search-box {
  width: 30%;
  padding: 15px 50px 15px 15px;
  font-size: 15px;
  border: 1px solid #ddd;
  border-radius: 30px;
  outline: none;
  box-shadow: 0 2px 5px rgba(3, 141, 253, 0.1);
  transition: all 0.3s ease-in-out;

}

.search-box:focus {
  box-shadow: 0 4px 10px rgba(11, 125, 233, 0.2);
}

hr {
  color: #0f69ca;
}

/* Estilos generales para el contenedor de la tabla */

.contenedortablas {
  width: 100%;
  overflow-x: auto;
  /* Permite desplazamiento horizontal en pantallas pequeñas */
  box-shadow: 0 4px 8px rgba(17, 30, 49, 0.1);
  /* Sombra sutil para un efecto flotante */
  border-radius: 8px;
  /* Bordes redondeados */
  padding: 25px;
  /* Espaciado interno */
}

/* Estilos para la tabla */
.tablas {
  width: 100%;
  border-collapse: collapse;
  /* Elimina el espacio entre las celdas */
  color: #000000;
  /* Color de texto principal */
  font-family: "Montserrat", sans-serif;
  font-size: small;
  font-weight: 300;
}

/* Encabezados de la tabla */
.tablas thead th {
  background-color: #424344;
  /* Color de fondo azul vibrante */
  color: #ffffff;
  /* Texto blanco */
  padding: 12px 15px;
  /* Espaciado interno */
  text-align: left;
  /* Alineación del texto a la izquierda */
  border-bottom: 2px solid #001953;
  /* Borde inferior más oscuro */
  font-weight: 600;
  /* Texto semi-negrita */
  letter-spacing: 0.5px;
  /* Espaciado entre letras */
}

/* Filas del cuerpo de la tabla */
.tablas tbody tr {
  border-bottom: 1px solid #ddd;
  /* Separador de fila */
  transition: background-color 0.3s ease;
}


/* Última fila del cuerpo de la tabla (sin borde inferior) */
.tablas tbody tr:last-child {
  border-bottom: none;
}

/* Celdas de la tabla */
.tablas tbody td {
  padding: 12px 15px;
  /* Espaciado interno */
  vertical-align: middle;
  /* Alineación vertical */
}

/* Estilos para las celdas de la primera columna (opcional, para resaltar) */
.tablas tbody td:first-child {
  font-weight: 300;
}

/* Filas impares (para un efecto de cebra) */
.tablas tbody tr:nth-child(odd) {
  background-color: #ebf3fc;
  /* Color de fondo más claro para filas impares */
}

.fila-anulada {
  background-color: #f8d7da !important;
  /* Rojo claro tipo alerta */
  color: #721c24 !important;
  /* Texto rojo oscuro */
}

/* Efecto hover en las filas */
.tablas tbody tr:hover {
  background-color: #007bffb6;
  /* Color de fondo al pasar el ratón */
  cursor: pointer;
}




/* Estilo del contenedor general de formularios */


.contenedorgeneral {
  width: 100%;
}


.contenedorencabezadoformulario {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 4%;
  padding-left: 5%;
  padding-right: 5%;
  gap: 50px;
  flex-wrap: wrap;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}


.contenedorformularios {
  width: 60%;
  justify-self: center;
}

.contenedorbotones {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.tituloformulario {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.contenedorinputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  padding-bottom: 40px;
  width: 100%;
  box-sizing: border-box;
}

.textocuadros {
  display: block;
  margin-bottom: .3rem;
  font-size: .9rem;
  color: #00000099;
  transition: color .3s cubic-bezier(.25, .01, .25, 1) 0s;
  padding-bottom: 10px;
}

.cuadros {
  font-family: "Montserrat";
  width: 100%;
  border: 2px solid transparent;
  height: 2.5em;
  padding-left: 0.9em;
  outline: none;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 5px;
  transition: all 0.5s;
  border: 1px solid #d5d6d6;
  box-sizing: border-box;
  font-weight: 300;
}

.cuadros:not(:placeholder-shown) {
  border: 1px solid rgb(120, 196, 120);
}

.cuadros:invalid {
  border: 1px solid rgba(240, 45, 45, 0.774);
}



.cuadros:hover,
.cuadros:focus {
  border: 2px solid #4A9DEC;
  box-shadow: 0px 0px 0px 7px rgb(74, 157, 236, 20%);
  background-color: white;
}

.cuadros:focus::placeholder {
  color: transparent;
}

.cuadros:disabled {
  background-color: #dfdcdc;
  /* Un gris más oscuro */
  color: #000000;
  /* Un color de texto claro para contraste */
}

.remitente {
  width: 25%;
  margin: 12px;
}

textarea {
  min-height: 40px;
  resize: vertical;
  padding-top: 15px;
  field-sizing: content;
}


/* 🔹 Sugerencias del autocomplete */
.ui-autocomplete {
  font-family: "Montserrat";
  /* misma fuente */
  font-size: 0.95em;
  /* tamaño parecido al input */
  background: #fff;
  /* fondo blanco */
  border: 1px solid #d5d6d6;
  /* borde igual que el input */
  border-radius: 5px;
  /* esquinas redondeadas */
  max-height: 200px;
  /* límite de alto */
  overflow-y: auto;
  /* scroll si hay muchos */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  /* que no se esconda detrás */
  padding: 2px 0;
}

/* 🔹 Cada opción de la lista */
.ui-menu-item-wrapper {
  padding: 0.5em 0.9em;
  /* mismo padding que el input */
  cursor: pointer;
  transition: background 0.3s;
}

/* 🔹 Hover o selección */
.ui-menu-item-wrapper.ui-state-active {
  background: #f0f0f0;
  /* color al pasar el mouse */
  border: none;
}

/* Cambiar color de fondo del modal */
#successModal .modal-content {
  background-color: #ffffff;
  /* Verde muy claro */
  color: #032404;
  /* Texto verde oscuro */
}

/* Cambiar color del botón */
#successModal .btn-secondary {
  background-color: #0D6EFD;
  /* Azul */
  border-color: #04012b;
  color: white;
}

#successModal .btn-secondary:hover {
  background-color: #65a3f3;
  color: #000;
  border-color: #1a0cb9;
}

/* Responsive: Ajustes para pantallas más pequeñas */

@media screen and (max-width: 768px) {
  .tablas thead {
    display: none;
    /* Oculta los encabezados en pantallas pequeñas */
  }

  .tablas,
  .tablas tbody,
  .tablas tr,
  .tablas td {
    display: block;
    /* Hace que los elementos de la tabla se comporten como bloques */
    width: 100%;
  }

  .tablas tr {
    margin-bottom: 15px;
    /* Espacio entre filas apiladas */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .tablas td {
    text-align: left;
    padding-left: 50%;
    /* Espacio para el pseudo-elemento */
    position: relative;
  }

  .tablas td::before {
    content: attr(data-label);
    /* Usa el atributo data-label para mostrar el encabezado */
    position: absolute;
    left: 10px;
    width: calc(50% - 20px);
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: 600;
    color: #007bff;
  }

}

@media (max-width: 1200px) {
  .search-box {
    width: 100%;
  }

  .contenedorgeneral {
    padding-left: 10%;
    padding-right: 10%;
    display: flex;
    flex-direction: column;
    /* Cambia a columna para apilar los elementos */
    max-width: 1000px;
    min-width: 200px;
    gap: 50px;
  }

  .contenedorformularios {
    width: 100%;
    /* Cambia el ancho al 100% para ocupar todo el espacio disponible */
  }

  /* Puedes ajustar este valor (768px) según tus necesidades */
  .contenedorinputs {
    grid-template-columns: 1fr;
  }


  /* Opcional: Ajustar el espacio entre los elementos apilados si lo deseas */
  .contenedorinputs>input,
  .contenedorinputs>textarea,
  .contenedorinputs>select {
    /* Aplica esto a tus inputs si son directos hijos */
    margin-bottom: 15px;
    /* Añade un margen entre ellos */
  }

  .regresar {
    justify-self: center;
    margin-bottom: 40px;
    font-size: 1rem;
  }

  .contenedorbotones {
    display: flex;
    flex-direction: row;
  }


}

/*Estilos Inicio*/

.pasivas-container {
  position: relative;
  width: 100vw;
  height: 70vh;
  overflow: hidden;
  padding: 0;
  margin: 0;
  z-index: -1;
}

.pasivas {
  display: block;
  width: 100vw;
  height: 70vh;
  object-fit: cover;
  margin: 0;
  padding: 0;
}

.banner {
  position: absolute;
  display: block;
  width: 100vw;
  margin: 0;
  padding: 0;
  margin-top: -3.6%;
  object-fit: cover;
  z-index: 1;
}

.pasivas-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Degradado de negro (opaco) a transparente de izquierda a derecha */
  background: linear-gradient(to right, rgba(0, 17, 112, 0.527), rgba(3, 10, 109, 0.13));
}

.pasivas-container::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 35%;
  /* Ajusta el porcentaje según el efecto deseado */
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent);
}

.texto-encima {
  font-family: "Bungee", sans-serif;
  position: absolute;
  top: 60%;
  /* Centra verticalmente */
  left: 50%;
  /* Centra horizontalmente */
  transform: translate(-50%, -50%);
  color: #fff;
  /* Color del texto */
  font-size: 4rem;
  /* Tamaño del texto */
  font-weight: bold;
  /* Negrita */
  text-shadow: 2px 2px 8px #000;
  /* Sombra para mejor visibilidad */
  z-index: 2;
  /* Encima del degradado */
  text-align: center;
  width: 80%;
  pointer-events: none;
  /* El texto no bloquea clics */
}

.subtitulo {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 300;
}

.list-group-item {
  cursor: pointer;
  text-align: center;
}

.list-group-item:hover {
  background-color: #679cff;
}


/*Estilos para el contenedor de recursos */

.credentialing {
  --bg-color: #B8F9D3;
  --bg-color-light: #e2fced;
  --text-color-hover: #4C5656;
  --box-shadow-color: rgba(184, 249, 211, 0.48);
}

.carta {
  width: 220px;
  height: 321px;
  background: #fff;
  border-top-right-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease-out;
  text-decoration: none;
}


.carta:hover {
  transform: translateY(-5px) scale(1.005) translateZ(0);
  box-shadow: 0 24px 36px rgba(0, 0, 0, 0.11),
    0 24px 46px var(--box-shadow-color);
}

.carta:hover .overlay {
  transform: scale(4) translateZ(0);
}

.carta:hover .circle {
  border-color: var(--bg-color-light);
  background: var(--bg-color);
}

.carta:hover .circle:after {
  background: var(--bg-color-light);
}

.carta:hover p {
  color: var(--text-color-hover);
}

.carta:active {
  transform: scale(1) translateZ(0);
  box-shadow: 0 15px 24px rgba(0, 0, 0, 0.11),
    0 15px 24px var(--box-shadow-color);
}

.carta p {
  font-size: 17px;
  color: #4C5656;
  margin-top: 30px;
  z-index: 1000;
  transition: color 0.3s ease-out;
}

.circle {
  width: 131px;
  height: 131px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease-out;
}


.circle:after {
  content: "";
  width: 118px;
  height: 118px;
  display: block;
  position: absolute;
  background: var(--bg-color);
  border-radius: 50%;
  transition: opacity 0.3s ease-out;
}

.circle svg {
  z-index: 10000;
  transform: translateZ(0);
}

.overlay {
  width: 118px;
  position: absolute;
  height: 118px;
  border-radius: 50%;
  background: var(--bg-color);
  top: 70px;
  left: 50px;
  z-index: 0;
  transition: transform 0.3s ease-out;
}

.amarillo {
  background: #fff4b6;
  border: #fffd87;

}

.amarillo:after {
  background: #fffeb6;
  border: #fffd87;
}

.carta:hover .amarillo {
  border-color: #ffffff;
  background: #ffe88b;
}

.carta:hover .amarillo:after {
  background: #fff7c9;
  border: #ffffff;
}


.azul {
  background: #99d0f5;
  border: #b8f1ff;

}

.azul:after {
  background: #b0e7fd;
}

.carta:hover .azul {
  background: #b6e2ff;
}

.carta:hover .azul:after {
  background: #ffffffb4;
  border: #ffffff;
}

.titulosdeinicio {
  margin-top: 90px;
  margin-bottom: 40px;
}

/*Estilos del Perfil*/

.perfilcard {
  width: 190px;
  height: 254px;
  background: #AECEFE;
  border-radius: 15px;
  box-shadow: 1px 5px 60px 0px #1b5cff4a;
  justify-self: center;
  padding: 10px;
  margin: 30px;
}

.perfilcard .bordeperfil {
  width: 60%;
  height: 3%;
  background: #0068D7;
  margin: auto;
  border-radius: 0px 0px 15px 15px;
}

.perfilcard span {
  font-weight: 600;
  color: rgb(14, 14, 14);
  text-align: center;
  display: block;
  padding-top: 10px;
  font-size: 16px;
}

.perfilcard .job {
  font-weight: 400;
  color: rgb(7, 7, 7);
  display: block;
  text-align: center;
  padding-top: 3px;
  font-size: 12px;
}

.perfilcard .img {
  width: 70px;
  height: 80px;
  background: #0068D7;
  border-radius: 15px;
  margin: auto;
  margin-top: 25px;
}

.botones-rapidos {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 20px;
}

.contenedorperfil {
  width: 90%;
  justify-self: center;
  margin: 0 auto;
}

/* From uiverse.io by @Ali-Tahmazi99 */
.binicio {
  font-family: "Montserrat", sans-serif;
  display: inline-block;
  width: 170px;
  height: 70px;
  border-radius: 10px;
  border: 2px solid #03045e;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease-in;
  z-index: 1;
  cursor: pointer;
  background: #ffffff;
  box-shadow: 0 4px 15px rgb(3, 10, 109, 0.2);
  margin-top: 20px;
}

.binicio::before,
.binicio::after {
  content: '';
  position: absolute;
  top: 0;
  width: 0;
  height: 100%;
  transform: skew(15deg);
  transition: all 0.5s;
  overflow: hidden;
  z-index: -1;
}

.binicio::before {
  left: -10px;
  background: #001037;
}

.binicio::after {
  right: -10px;
  background: #0D6EFD;
}

.binicio:hover::before,
.binicio:hover::after {
  width: 58%;
}

.binicio:hover span {
  color: #ffffff;
  transition: 0.3s;
}

.binicio span {
  color: #03045e;
  font-size: 1rem;
  transition: all 0.3s ease-in;
}

.evento {
  justify-self: center;
  margin-bottom: 50px;
  scrollbar-width: auto;
  width: 80%;
  height: 100%;
}

.panel {
  background: #ffffff;
}


.ui-state-active {
  background-color: #0c77b1 !important;
  /* verde cuando pasas el mouse */
  color: white !important;
}