.terms-wrap {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: calc(100dvh - 154px);
}

.terms-main {
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.terms-progress {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.terms-progress.hidden {
  display: none;
}

.terms-progress-bar {
  background: #f6f6f6;
  height: 2px;
  position: relative;
  width: 100%;
}

.terms-progress-indicator {
  background: #222;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.terms-progress-text {
  font-size: 20px;
  font-weight: 600;
}

.terms-list {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  gap: 8px;
}

.term-item {
  display: flex;
  align-items: center;
  height: 54px;
}

.terms-all-agree {
  border-bottom: 1px solid #ededed;
}

.term-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex: 1;
}

.term-checkbox {
  display: none;
}

.checkmark {
  width: 16px;
  height: 16px;
  border: 1px solid #ededed;
  background: white;
  position: relative;
  flex-shrink: 0;
}

.term-checkbox:checked + .checkmark {
  background: #222;
  border-color: #222;
}

.check-svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  fill: transparent;
  pointer-events: none;
}

.term-checkbox:checked + .checkmark .check-svg {
  fill: white;
}

.term-text {
  font-size: 16px;
  color: #222;
  font-weight: 600;
}

.individual-terms .term-text {
  font-size: 16px;
  font-weight: 400;
  color: #555;
}

.term-chevron {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}

.individual-terms {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terms-detail-main {
  display: none;
  flex-direction: column;
  flex: 1;
}

.terms-detail-main.active {
  display: flex;
}

.terms-list-area {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: auto;
}

.terms-list-area.hidden {
  display: none;
}

.terms-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.4;
}

.terms-section {
  flex: 1;
  overflow-y: auto;
}

.section-text {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  white-space: pre-line;
}
