.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;
}

.candidate-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* 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;
}

/* 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);
}

.estado-top {
  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);
}

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

.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;
  }

}