/* [СВО] 2026-07-24 — выбор способа подписи анкеты бойца */
.sign-pick {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.sign-pick__card {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(26, 43, 74, 0.14);
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.sign-pick__card:hover {
  border-color: rgba(201, 168, 76, 0.55);
}
.sign-pick__card.is-on {
  border-color: #c9a84c;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.25);
}
.sign-pick__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #1a2b4a;
}
.sign-pick__icon--sms { background: linear-gradient(145deg, #eef6ff, #dbeafe); }
.sign-pick__icon--manual { background: linear-gradient(145deg, #fffdf8, #f4ecd8); }
.sign-pick__icon--gos { background: linear-gradient(145deg, #eefcf4, #d1fae5); }
.sign-pick__icon--auto { background: linear-gradient(145deg, #f5f0ff, #e9d5ff); color: #5b21b6; }
.sign-pick__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1a2b4a;
  line-height: 1.25;
}
.sign-pick__hint {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.35;
  color: #64748b;
  font-weight: 500;
}
.sign-pick__hint-line { display: block; }
.sign-pick__chev { color: #94a3b8; font-size: 16px; font-weight: 700; }

.sign-branch { display: none; margin-top: 8px; }
.sign-branch.is-on { display: block; }

.sign-branch__lead {
  font-size: 13px;
  line-height: 1.45;
  color: #475569;
  margin-bottom: 12px;
}

.sign-drop {
  border: 1.5px dashed rgba(26, 43, 74, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 10px;
}
.sign-drop__title { font-size: 13px; font-weight: 700; color: #1a2b4a; }
.sign-drop__hint { margin-top: 4px; font-size: 12px; color: #64748b; }
.sign-drop input { display: none; }
.sign-files { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.sign-file {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(26, 43, 74, 0.12);
  font-size: 12px;
  font-weight: 600;
  color: #1a2b4a;
}
.sign-file__rm {
  appearance: none;
  border: 0;
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.sign-phrase {
  padding: 12px;
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.14);
  border: 1px solid rgba(201, 168, 76, 0.35);
  font-size: 13px;
  line-height: 1.45;
  color: #1a2b4a;
  font-weight: 600;
  margin-bottom: 12px;
}
.sign-phrase__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 6px;
}

.sign-selfie {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0f1a2e;
  aspect-ratio: 3 / 4;
  max-height: 260px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.sign-selfie__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.sign-selfie.has-photo .sign-selfie__img { display: block; }
.sign-selfie.has-photo .sign-selfie__empty { display: none; }
.sign-selfie__empty {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
  z-index: 1;
}
.sign-selfie__guide {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.sign-selfie__face {
  position: absolute;
  left: 50%;
  top: 16%;
  width: 42%;
  aspect-ratio: 3 / 4;
  transform: translateX(-50%);
  border: 2px dashed rgba(232, 213, 160, 0.85);
  border-radius: 50% / 42%;
}
.sign-selfie__passport {
  position: absolute;
  left: 12%;
  bottom: 12%;
  width: 36%;
  aspect-ratio: 3 / 4;
  border: 2px dashed rgba(125, 211, 252, 0.9);
  border-radius: 8px;
}
.sign-selfie.has-photo .sign-selfie__guide { opacity: 0.3; }

.sign-circle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.sign-circle {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #2a4068, #0f1a2e);
  border: 3px solid rgba(201, 168, 76, 0.45);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.sign-circle.is-recording { border-color: #ef4444; }
.sign-circle.has-clip { border-color: #c9a84c; }
.sign-circle video,
.sign-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.sign-circle.has-clip video,
.sign-circle.has-clip img { display: block; }
.sign-circle.has-clip .sign-circle__idle { display: none; }
.sign-circle__meta {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  text-align: center;
}

.sign-steps-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(26, 43, 74, 0.04);
  margin-bottom: 12px;
  list-style: none;
}
.sign-steps-mini li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.4;
  color: #334155;
  font-weight: 600;
}
.sign-steps-mini li::before {
  content: attr(data-n);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #c9a84c;
  color: #1a2b4a;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
