/* Formulir Evaluasi Tim — shell konsisten dengan survei/laporan TEP */

.ev-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: #0d1326;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(195, 154, 60, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(28, 60, 122, 0.16), transparent 50%),
    #f4f6fb;
}

.ev-shell {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.ev-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.ev-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.ev-brand img {
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(8, 21, 49, 0.12);
}
.ev-brand__kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.ev-brand__title {
  font-weight: 750;
  color: #0b1330;
  font-size: 15px;
}

.ev-nav {
  display: flex;
  gap: 14px;
  font-size: 13.5px;
  font-weight: 650;
}
.ev-nav a {
  color: #1c3c7a;
  text-decoration: none;
}
.ev-nav a:hover { text-decoration: underline; }

.ev-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c39a3c;
}
.ev-title {
  margin: 0 0 10px;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 650;
  color: #0b1330;
}
.ev-title em {
  font-style: italic;
  color: #1c3c7a;
}
.ev-lead {
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.55;
  font-size: 15px;
}

.ev-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 10px 30px rgba(8, 21, 49, 0.05);
}

.ev-prog {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.ev-prog__bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: #e8edf5;
  overflow: hidden;
}
.ev-prog__fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #1c3c7a, #c39a3c);
  border-radius: inherit;
  transition: width 0.25s ease;
}
.ev-prog__meta {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}
.ev-who {
  margin: -6px 0 16px;
  font-size: 13px;
  color: #64748b;
}

.ev-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin: 0 0 6px;
}
.ev-input,
.ev-textarea,
.ev-select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d0d7e5;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: #0d1326;
  background: #fff;
}
.ev-input:focus,
.ev-textarea:focus,
.ev-select:focus {
  outline: 2px solid rgba(28, 60, 122, 0.25);
  border-color: #1c3c7a;
}
.ev-textarea { min-height: 88px; resize: vertical; }
.ev-hint {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: #64748b;
}

.ev-suggest {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  max-height: 280px;
  overflow-y: auto;
}
.ev-suggest[hidden] { display: none; }
.ev-suggest__item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
  padding: 12px 14px;
  cursor: pointer;
  font: inherit;
}
.ev-suggest__item:last-child { border-bottom: 0; }
.ev-suggest__item:hover,
.ev-suggest__item:focus {
  background: #f8fafc;
  outline: none;
}
.ev-suggest__name { font-weight: 700; color: #0b1330; }
.ev-suggest__meta { font-size: 12.5px; color: #64748b; margin-top: 2px; }

.ev-confirm {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.ev-confirm dl {
  margin: 0;
  display: grid;
  gap: 8px;
}
.ev-confirm dt {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}
.ev-confirm dd {
  margin: 2px 0 0;
  font-weight: 650;
  color: #0b1330;
}

.ev-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.ev-btn {
  appearance: none;
  border: 0;
  border-radius: 11px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
}
.ev-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.ev-btn--primary {
  background: #0b1330;
  color: #fff;
}
.ev-btn--primary:hover:not(:disabled) { background: #1c3c7a; }
.ev-btn--ghost {
  background: #eef2f8;
  color: #0b1330;
}
.ev-btn--ghost:hover:not(:disabled) { background: #e2e8f0; }

.ev-err {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13.5px;
  font-weight: 600;
}
.ev-err[hidden] { display: none; }
.ev-ok {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #047857;
  font-size: 13.5px;
  font-weight: 600;
}

.ev-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.ev-tab {
  border: 1px solid #d0d7e5;
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 650;
  cursor: pointer;
  color: #334155;
}
.ev-tab.is-active {
  background: #0b1330;
  border-color: #0b1330;
  color: #fff;
}
.ev-tab.is-done:not(.is-active) {
  border-color: #86efac;
  background: #f0fdf4;
}

.ev-sec {
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: #1c3c7a;
}
.ev-q {
  margin: 0 0 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fcfdff;
}
.ev-q.is-miss {
  border-color: #fecaca;
  background: #fff7f7;
}
.ev-q__title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 14.5px;
  color: #0b1330;
}
.ev-q__help {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
}
.ev-scale {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
}
.ev-scale label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 8px;
  border: 1px solid #d0d7e5;
  background: #fff;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  color: #334155;
}
.ev-scale input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ev-scale label.is-on {
  background: #0b1330;
  border-color: #0b1330;
  color: #fff;
}
.ev-scale-ends {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11.5px;
  color: #94a3b8;
}
.ev-choice {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ev-choice label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #d0d7e5;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 650;
}
.ev-choice input { accent-color: #0b1330; }

.ev-review {
  display: grid;
  gap: 10px;
}
.ev-review__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.ev-review__name { font-weight: 700; }
.ev-review__meta { font-size: 12.5px; color: #64748b; }
.ev-review__score {
  font-weight: 800;
  color: #1c3c7a;
  white-space: nowrap;
}

.ev-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .ev-scale { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .ev-shell { padding: 18px 14px 48px; }
}


/* Identitas — pola sama dengan laporan logbook */
/* Autocomplete (nama anggota) */
.lb-ac { position: relative; min-width: 0; }
.lb-ac__list {
  position: absolute;
  z-index: 40;
  left: 0; right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  max-height: min(280px, 45vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid var(--ink-200, #e2e8f0);
  border-radius: 14px;
  box-shadow: 0 18px 40px -12px rgba(6, 13, 34, 0.35);
}
.lb-ac__list[hidden] { display: none !important; }
.lb-ac__item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 52px;
  cursor: pointer;
  font-family: inherit;
}
.lb-ac__item:hover,
.lb-ac__item.is-active { background: #f1f5f9; }
.lb-ac__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900, #0d1326);
  line-height: 1.3;
}
.lb-ac__meta {
  display: block;
  font-size: 12px;
  color: var(--ink-500, #6b7385);
  margin-top: 3px;
  line-height: 1.35;
}
.lb-nik {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--ink-200, #e2e8f0);
}
.lb-nik__row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-top: 6px;
}
.lb-nik__row .input { flex: 1; min-width: 0; }
.lb-nik__row .btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 560px) {
  .lb-nik__row { flex-direction: column; }
}

.lb-ac__empty {
  padding: 16px 12px;
  font-size: 13px;
  color: var(--ink-500, #6b7385);
  text-align: center;
}

.lb-chip-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(195, 154, 60, 0.12);
  border: 1px solid rgba(195, 154, 60, 0.35);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900, #0d1326);
  line-height: 1.35;
}
.lb-chip-id span { min-width: 0; word-break: break-word; }
.lb-chip-id button {
  appearance: none;
  border: none;
  background: var(--navy-900, #0b1330);
  color: var(--gold-400, #ead29c);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  padding: 8px 12px;
  border-radius: 8px;
  flex-shrink: 0;
  min-height: 36px;
}

/* Konfirmasi identitas sebelum isi form */
.lb-id-confirm {
  margin-top: 14px;
  padding: 16px 16px 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(18, 43, 92, 0.18);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.lb-id-confirm__title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-900, #0d1326);
  margin-bottom: 4px;
}
.lb-id-confirm__lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
}
.lb-id-confirm__grid {
  margin: 0 0 14px;
  display: grid;
  gap: 10px;
}
.lb-id-confirm__grid > div {
  display: grid;
  gap: 2px;
}
.lb-id-confirm__grid dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
.lb-id-confirm__grid dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #0d1326;
  line-height: 1.35;
  word-break: break-word;
}
.lb-id-confirm__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.lb-id-confirm__actions .btn {
  min-height: 42px;
}
