/* Typography and section spacing follow the Token page. */
html, body {
  background-color: #000000;
}
.kyc-page {
  box-sizing: border-box;
  width: 100%;
  background: #000000;
  color: #eeeeee;
  font-family: var(--font-primary, "Pretendard XIIID", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", "Malgun Gothic", sans-serif);
  font-size: 16px;
  line-height: 1.4;
}
.kyc-page-content {
  padding-bottom: 100px;
}
.kyc-page-title {
  color: #eeeeee;
  text-align: left;
}
.kyc-intro h2 {
  margin: 0 0 26px;
  color: #eeeeee;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.4;
}
.kyc-intro p {
  margin: 0;
}
.kyc-step + .kyc-step,
.kyc-intro .kyc-identity-note {
  margin-top: 20px;
}
.kyc-requirements {
  margin-top: 80px;
}
.kyc-requirements-list {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.6;
  font-weight: 600;
}
.kyc-highlight {
  color: #29ccff;
  font-weight: 600;
}
.kyc-update-notice {
  margin-top: 80px;
  font-size: 20px;
  line-height: 1.5;
  text-align: left;
}
.kyc-update-notice p {
  margin: 0;
}
.kyc-intro-divider {
  margin: 80px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

/* Layout */
.custom-form-container {
  font-family: inherit;
  max-width: 100%;
  margin: 30px auto;
  padding: 0;
  background: transparent;
  color: #ffffff;
}
.form-field-group {
  margin-bottom: 36px;
}
.form-field-group label.field-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.4;
}
.form-field-group label.field-label span.sub-desc {
  display: block;
  font-size: 13px;
  color: #a0aec0;
  font-weight: normal;
  margin-top: 4px;
}

/* Inputs and labels */
.form-field-group input[type="text"],
.form-field-group input[type="email"],
.form-field-group input[type="tel"],
.form-field-group select {
  width: 100%;
  font-family: inherit;
  padding: 12px;
  border: 1px solid #4a5568;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  background-color: #1a202c;
  color: #ffffff;
}
.form-field-group input::placeholder {
  color: #718096;
}

/* Eligibility radio buttons */
.radio-group {
  margin-top: 10px;
}
.radio-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 10px;
  cursor: pointer;
}
.radio-label input {
  margin-right: 10px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Required consent sections */
.terms-wrapper {
  margin-bottom: 36px;
  border-top: 1px solid #2d3748;
  padding-top: 20px;
}
.terms-title {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}
.terms-scroll-box {
  height: 120px;
  overflow-y: auto;
  border: 1px solid #4a5568;
  background: #1a202c;
  padding: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: #cbd5e0;
  border-radius: 6px;
  margin-bottom: 10px;
}
.terms-checkbox-label {
  display: flex;
  align-items: flex-start;
  font-size: 13px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 500;
  line-height: 1.4;
}
.terms-checkbox-label input {
  margin-right: 10px;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Submit button */
.submit-btn-wrapper {
  margin-top: 40px;
  width: 100%;
  display: flex;
  justify-content: center;
}
/* Uses the Download button's brand gradient and pill shape. */
.next-step-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: var(--brand-gradient, linear-gradient(115deg, #d46fff 0%, #6d4fff 42%, #29ccff 100%));
  color: #05030f;
  border: 0;
  padding: .85em 1.9em;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  cursor: pointer;
  transition: filter .25s ease, transform .25s ease;
}
.next-step-btn:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.next-step-btn:focus-visible {
  outline: 2px solid #29ccff;
  outline-offset: 4px;
}
.next-step-btn:active {
  transform: translateY(0);
}
.next-step-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}
/* Split country/phone input and submission status */
.sms-input-row {
  display: flex;
  gap: 10px;
}
.sms-input-row select {
  flex: 0 1 45%;
  min-width: 0;
}
.sms-input-row input {
  flex: 1;
  min-width: 0;
}
.sms-note {
  display: block;
  color: #a0aec0;
  font-size: 12px;
  margin-top: 8px;
}
.sms-other-code {
  margin-bottom: 10px;
}
#kycStatus {
  text-align: center;
  color: #cbd5e0;
  font-size: 13px;
}
@media (max-width: 480px) {
  .sms-input-row {
    flex-direction: column;
  }
  .sms-input-row select {
    flex-basis: auto;
  }
}
