.text-red {
  color: #e14b4b;
}

.text-gray {
  color: #6d6d6d;
}

.text-sm {
  font-size: 14px;
}

.form {
  width: 100%;
}

.id-card {
  margin: 10px auto;
}
.choice-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.choice {
  position: relative;
}
.choice input {
  display: none;
}
.choice span {
  display: block;
  width: 100%;
  padding: 12px 10px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fafafa;
  text-align: center;
  transition: all 0.2s ease;
  color: #888;
}
.choice input:checked + span {
  background: #f0faff;
  border-color: #00a9ff;
  color: #333;
}

.unit {
  padding: 12px 10px;
  background: #e0e0e0;
  border-radius: 6px;
  color: #555;
  font-weight: 700;
  min-width: 50px;
  text-align: center;
}

.upload {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.file-label {
  font-size: 14px;
  font-weight: 700;
  color: #666;
}

.file-input {
  padding: 10px 10px;
  background: #fafafa;
  border-radius: 10px;

  input {
    width: 100%;
  }
}

.checklist {
  margin-top: 6px;
  font-size: 12px;
}
.id-label {
  text-align: center;
  margin: 6px 0 0;
}
.id-figure {
  display: block;
  margin: 0 auto;
  max-width: 260px;
  width: 100%;
}
.id-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

#form-loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  display: none;
  gap: 2rem;
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
}

.cv-spinner {
  width: 8rem;
  height: 8rem;
  display: block;
}

.spinner {
  display: block;
  width: 8rem;
  height: 8rem;
  border: 0.4rem #ddd solid;
  border-top: 0.4rem #999 solid;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}
#form-loading.active {
  display: flex;
}
