.modal-content::-webkit-scrollbar {
  width: 10px;              /* ancho del scroll */
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;      /* fondo del track */
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #052a51;      /* color del thumb */
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #041f3d;      
}

.modal-content {
  margin-top: 60px; /* 👈 espacio para el resumen */
}

.cuadro-filtro{
  max-width: 500px;
  height: 60vh;
}

.btn-filtro{
  color: #052a51;
  font-size: 25px;
  border: none;
  background-color: transparent;
}

.btn-filtro:hover{
  cursor: pointer;
}

.vacantes-resumen {
  max-width: 500px;
  width: 90%;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -10px);
  background: #ffffff;
  border-radius: 14px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
}

.hidden {
  display: none;
}

.estado-vacio {
  display: flex;
  justify-content: center;   /* horizontal */
  align-items: center;       /* vertical */
  text-align: center;

  min-height: 250px;         /* 🔥 altura para centrar bonito */
  width: 100%;

  color: #888;
  font-size: 16px;
  font-weight: 500;
}


.no-candidates {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  min-height: 200px; /* lo centra visualmente */
  font-size: 1rem;
  font-weight: 500;
  color: #888;
  margin-bottom: 30px; /* 👈 empuja el footer hacia abajo */
}

/* CONTENEDOR PRINCIPAL */
.candidates-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

/* TARJETA */
.candidate-card {
  width: 100%;
  max-width: 900px;
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  margin: auto;
  margin-top: 25px;
  margin-bottom: 50px;
}

.candidates-apply {
  text-align: center;
  margin: 20px 0;
  margin-bottom: 50px;
  font-weight: 600;
  font-size: 40px;
}

.close{
  font-size: 30px;
  color: #cc2c2c;
}


/* PLAN Y ESTADO */
.plan-corner {
  position: absolute;
  top: -12px;
  right: -12px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

/* icono */
.shield-icon {
  position: absolute;
  top: -12px;
  left: 150px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 12px;
  color: white;
  cursor: default;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);

}

/* TOOLTIP */
.shield-tooltip {
  position: absolute;
  bottom: 130%; /* 👈 arriba del icono */
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #1f2d3d;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 10;
}

/* flechita */
.shield-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #1f2d3d transparent transparent transparent;
}

/* mostrar en hover */
.shield-icon:hover .shield-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* gris */
.shield-pendiente {
  background: #bdc3c7;
}

/* verde */
.shield-verificado {
  background: #27ae60;
}

.estado-top {
  position: absolute;
  top: -12px;
  left: 40px;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: bold;
  color: white;
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.estado-top-aplicando {
    display: inline-block;
  margin-bottom: 8px;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: bold;
  color: white;
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}



.estado-actions {
  position: absolute;
  top: 35px; /* 👈 ajusta según qué tan abajo lo quieras */
  left: 50%;
  transform: translateX(-50%); /* 🔥 CLAVE para centrar perfectamente */
  
  display: flex;
  gap: 6px;
}

.estado-actions button {
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: 0.2s;
}

.estado-actions button:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* ESTADOS */
.estado-activo { background: #27ae60; }
.estado-desactivado { background: #7f8c8d; }
.estado-contratado { background: #0a3d62; }

/* ESTADOS  */
.estado-revision { background: #c7ae2f; }
.estado-aceptado { background: #27ae60; }
.estado-rechazado { background: #cc2c2c; }

.btn-revision {
  background: #c7ae2f;
  color: white;
}

.btn-aceptado {
  background: #27ae60;
  color: white;
}

.btn-rechazado {
  background: #cc2c2c;
  color: white;
}

/* REVISION (amarillo suave) */
/* REVISION */
.candidate-card.shadow-estado-revision {
  box-shadow: 0 0 20px 2px #c7ae2f;
}

/* ACEPTADO */
.candidate-card.shadow-estado-aceptado {
  box-shadow: 0 0 20px 2px #27ae60;
}

/* RECHAZADO */
.candidate-card.shadow-estado-rechazado {
  box-shadow: 0 0 20px 2px #cc2c2c;
}

.plan-premium { background: linear-gradient(45deg,#caa300,#ffd700); }
.plan-basico { background: #7f8c8d; }

/* BOTONES */
.card-buttons {
  position: absolute;
  top: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-buttons button {
  width: 100px;
  height: 28px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: none;
  color: white;
  cursor: pointer;
}

.contact-btn{ background:#07406b;}
.contact-btn:hover{ background:#063151;}

.cv-btn { background:#27ae60;}
.cv-btn:hover { background:#1e874b;}

/* CONTENEDOR INTERNO */
.card-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* DESKTOP */
@media(min-width: 768px){

  .card-main{
    flex-direction: row;
    justify-content: space-between;
  }

  .card-left,
  .card-right{
    width:48%;
  }

  .card-main .card-right{
    padding-top:75px;
  }

}

/* CAMPOS */
.candidate-card p,
.skills-container strong{
  color:rgb(34,34,34);
}

.card-left p,
.card-right p{
  margin:6px 0;
}

/* NOMBRE */
.candidate-name{
  font-size:28px;
  font-weight:700;
  color:#242424;
  margin-bottom:10px;
}

.areas-interes{
  color:#457efc;
  font-weight:600;
  font-size:18px;
  margin-bottom:20px;
  margin-left:5px;
}

.candidate-card .experiencia{
  margin-top:10px;
  color:rgb(153,51,51);
}

/* HABILIDADES */
.skills-container{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}

.skill-badge{
  background:#0a3d62;
  color:white;
  padding:4px 12px;
  border-radius:50px;
  font-size:12px;
}

/* CONTACTO */
.contact-info{
  max-height:0;
  opacity:0;
  overflow:hidden;
  padding:0 12px;
  margin-top:0;
  border-top:1px solid #eee;
  border-radius:0 0 8px 8px;
  transition: max-height .35s ease, opacity .35s ease, padding .35s ease, margin-top .35s ease;
}

.contact-info.active{
  max-height:200px;
  opacity:1;
  padding:12px;
  margin-top:10px;
}

/* ICONOS */
.titulos i,
.skills-container i{
  color:#07406b;
  font-size:17px;
  margin-right:5px;
}

/* ================= */
/* TABLET Y CELULAR  */
/* ================= */

@media(max-width:768px){

  .candidate-card{
    padding:20px;
  }

  .candidate-name{
    font-size:22px;
  }

  .areas-interes{
    font-size:16px;
  }

  .card-main{
    flex-direction:column;
  }

  .card-right{
    padding-top:0;
    margin-top: -25px;
  }

  /* BOTONES ABAJO */
  .card-buttons{
    position:static;
    flex-direction:row;
    justify-content:center;
    margin-top:10px;
  }

  .card-buttons button{
    width:120px;
    height:36px;
    font-size:15px;
  }

}

/* CELULARES PEQUEÑOS */

@media(max-width:480px){

  .candidate-card{
    padding:16px;
  }

  .candidate-name{
    font-size:20px;
  }

  .areas-interes{
    font-size:15px;
  }

  .skill-badge{
    font-size:11px;
  }

}




.multi-select {
  position: relative;
  width: 100%;
}

.multi-select-header {
  border: 1px solid #ccc;
  padding: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}

.multi-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  background: #fff;
  z-index: 1000;
}

.checkbox-item {
  display: block;
  padding: 6px 10px;
  cursor: pointer;
}

.checkbox-item:hover {
  background: #f5f5f5;
}

.hidden {
  display: none;
}


/* PLACEHOLDER (no afecta checkbox, pero lo dejamos limpio) */
input:not([type="checkbox"]):not(#filtersModal input)::placeholder,
textarea:not(#filtersModal textarea)::placeholder {
  color: var(--text-muted);
}

/* FOCUS */
input:not([type="checkbox"]):not(#filtersModal input):focus,
select:not(#filtersModal select):focus,
textarea:not(#filtersModal textarea):focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(5,42,81,0.15);
}

/* HOVER */
input:not([type="checkbox"]):not(#filtersModal input):hover,
select:not(#filtersModal select):hover,
textarea:not(#filtersModal textarea):hover {
  border-color: var(--primary);
}

.label-espacio-abajo{
  margin-bottom: 25px;
  margin-top: 25px;
  font-weight: 400;
  color: #052a51;
}

/* HEADER FILTROS */
.filters-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
}

/* TITULO */
.filters-title {
  font-size: 24px;
  font-weight: 700;
  color: #052a51;
  text-align: center;
  position: relative;
}

/* LINEA DECORATIVA */
.filters-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #052a51, #0a3d62);
  display: block;
  margin: 8px auto 0;
  border-radius: 10px;
}

/* BOTON LIMPIAR */
.btn-clear-filters {
  background: linear-gradient(135deg, #cc2c2c, #ff4d4d);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;

  box-shadow: 0 5px 15px rgba(204,44,44,0.3);
  transition: all 0.25s ease;
}

/* HOVER */
.btn-clear-filters:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 20px rgba(204,44,44,0.45);
}

/* CLICK */
.btn-clear-filters:active {
  transform: scale(0.95);
}

/* ANIMACION ENTRADA */
.filters-top {
  animation: fadeSlideDown 0.4s ease;
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.multi-select-header{
    width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-input);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all 0.25s ease;
}


.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}