/* Panel del reclutador: entrevista por video (screening/video_interviews#show) */

/* Fix del footer encimado: el body es flex column con height:100% fijo,
   así .stephi-app (flex item) se comprime y el footer se encima sobre el
   contenido desbordado. Dejamos crecer el body (min-height) y evitamos
   que .stephi-app encoja. */
body.screening-scope {
  height: auto;
  min-height: 100%;
}

.stephi-app.screening-scope {
  flex: 1 0 auto;
  height: auto;
  min-height: 0;
}

.vi-page {
  padding: 84px 0 56px;
}

.vi-wrap {
  max-width: 880px;
}

.vi-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  margin-bottom: 14px;
}

.vi-back:hover {
  color: #0e1870;
}

.vi-header {
  background: #fff;
  border: 1px solid #e7e9f2;
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(16, 24, 112, 0.06);
  padding: 20px 22px;
  margin-bottom: 22px;
}

.vi-header__title {
  font-weight: 700;
  color: #101828;
  margin: 0;
}

.vi-header__title i {
  color: #0e1870;
}

.vi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef0fb;
  color: #0e1870;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex: 0 0 auto;
}

.vi-status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}

.vi-status--info {
  background: #e7f1ff;
  color: #0d6efd;
}

.vi-status--warn {
  background: #fff3cd;
  color: #997404;
}

.vi-status--ok {
  background: #d1f7e0;
  color: #0f5132;
}

.vi-card {
  border: 1px solid #e7e9f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(16, 24, 112, 0.05);
  overflow: hidden;
  margin-bottom: 16px;
}

.vi-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #eef0f6;
  text-align: left;
  cursor: pointer;
}

.vi-card__head:hover {
  background: #fafbff;
}

.vi-card__head[aria-expanded="false"] {
  border-bottom: 0;
}

.vi-qnum {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0e1870;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.vi-question {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #1d2939;
  margin: 0;
  line-height: 1.4;
}

.vi-chevron {
  flex: 0 0 auto;
  margin-left: 8px;
  color: #98a2b3;
  transition: transform 0.2s ease;
}

.vi-card__head[aria-expanded="true"] .vi-chevron {
  transform: rotate(180deg);
}

.vi-tag {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}

.vi-tag--muted {
  background: #f2f4f7;
  color: #667085;
}

.vi-card__body {
  padding: 20px;
}

.vi-video {
  width: 100%;
  max-height: 380px;
  border-radius: 12px;
  background: #000;
  display: block;
}

.vi-novideo {
  padding: 28px;
  text-align: center;
  color: #98a2b3;
  background: #f7f8fc;
  border-radius: 12px;
  font-size: 14px;
}

.vi-review {
  background: #f7f8fc;
  border: 1px solid #eef0f6;
  border-radius: 12px;
  padding: 16px;
}

.vi-review__label {
  font-size: 12px;
  font-weight: 600;
  color: #475467;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.vi-transcript {
  background: #f7f8fc;
  border: 1px solid #eef0f6;
  border-radius: 12px;
  padding: 14px 16px;
}

.vi-transcript__label {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #475467;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.vi-transcript__label i {
  color: #0e1870;
}

.vi-transcript__text {
  font-size: 14px;
  line-height: 1.55;
  color: #344054;
  margin: 0;
  max-height: 220px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.vi-empty {
  background: #fff;
  border: 1px solid #e7e9f2;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  color: #475467;
}

@media (max-width: 575.98px) {
  .vi-page {
    padding: 76px 0 40px;
  }

  .vi-card__body {
    padding: 16px;
  }
}
