/* Request Index — centered, proportional typography */

html.sk-request-index,
html.sk-request-index body {
  height: 100%;
  min-height: 100%;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
}

html.sk-request-index .pg {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  height: auto;
  max-height: none;
  overflow: visible;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(14, 165, 160, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 100% 100%, rgba(14, 165, 160, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #f4f7f8 0%, #eef2f4 100%);
}

html.sk-request-index .hd-in {
  padding: 10px 14px;
}

html.sk-request-index .pill {
  font-size: 10px;
  padding: 3px 9px;
  gap: 5px;
}

html.sk-request-index .pildot {
  width: 5px;
  height: 5px;
}

html.sk-request-index .hdlink {
  font-size: 11px;
  padding: 4px 7px;
}

html.sk-request-index .mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 14px 20px;
  min-height: 0;
  overflow: visible;
}

.idx-shell {
  width: 100%;
  max-width: 420px;
  margin: auto;
}

.idx-card {
  background: linear-gradient(165deg, #ffffff 0%, #fafcfd 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 22px 16px 14px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.07),
    0 20px 48px rgba(14, 165, 160, 0.1);
}

.idx-head {
  text-align: center;
  margin-bottom: 14px;
}

.idx-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 12px;
  background: #eef2f4;
  border: 1px solid #e2e8f0;
}

.idx-tab {
  border: none;
  border-radius: 9px;
  background: transparent;
  color: #64748b;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 10px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.idx-tab:hover {
  color: #0f766e;
}

.idx-tab.is-active {
  background: #fff;
  color: #0f766e;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.idx-tab-panel {
  display: none;
}

.idx-tab-panel.is-active {
  display: block;
}

  .idx-tab {
    font-size: 13px;
    padding: 10px 12px;
  }

  .idx-tab-panel .idx-lead {
  margin-top: 0;
  margin-bottom: 14px;
}

.idx-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.idx-lead {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: #64748b;
  font-weight: 400;
  text-align: center;
}

.idx-benefits {
  list-style: none;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(14, 165, 160, 0.06);
  border: 1px solid rgba(14, 165, 160, 0.14);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.idx-benefits li {
  font-size: 10px;
  line-height: 1.45;
  color: #475569;
}

.idx-benefits strong {
  color: #0f766e;
  font-weight: 700;
}

.idx-steps {
  margin: 0 0 16px;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.idx-steps li {
  font-size: 10px;
  line-height: 1.45;
  color: #64748b;
}

.idx-faq {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f3f5;
}

.idx-faq-title {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  text-align: center;
}

.idx-faq-item {
  border: 1px solid #e8edf2;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 6px;
  overflow: hidden;
}

.idx-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #374151;
}

.idx-faq-item summary::-webkit-details-marker {
  display: none;
}

.idx-faq-item summary::after {
  content: '+';
  float: right;
  color: #94a3b8;
  font-weight: 400;
}

.idx-faq-item[open] summary::after {
  content: '−';
}

.idx-faq-item p {
  margin: 0;
  padding: 0 10px 8px;
  font-size: 10px;
  line-height: 1.5;
  color: #64748b;
}

.idx-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.idx-field label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.idx-hint {
  margin: 4px 0 0;
  font-size: 10px;
  line-height: 1.45;
  color: #94a3b8;
}

.idx-input-box {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 11px 0 9px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.idx-input-box:focus-within {
  border-color: #0ea5a0;
  box-shadow:
    0 0 0 3px rgba(14, 165, 160, 0.12),
    0 4px 12px rgba(14, 165, 160, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.idx-input-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(145deg, #ecfdf5 0%, #e0f5f4 100%);
  color: #0f766e;
  box-shadow: 0 1px 2px rgba(14, 165, 160, 0.12);
}

.idx-input-icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.idx-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #111827;
  padding: 9px 0;
  line-height: 1.35;
}

.idx-input::placeholder {
  font-size: 11px;
  font-weight: 400;
  color: #b8c0cc;
}

.idx-optional {
  font-weight: 400;
  color: #9ca3af;
  font-size: 10px;
}

.idx-input-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.idx-input-box-grow {
  flex: 1;
  min-width: 0;
}

.idx-otp-btn {
  flex-shrink: 0;
  border: none;
  border-radius: 11px;
  background: linear-gradient(180deg, #12b5af 0%, #0a8f8a 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 0 14px;
  min-height: 38px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow:
    0 4px 14px rgba(14, 165, 160, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.idx-otp-btn:hover:not(:disabled) {
  filter: brightness(1.05);
  box-shadow:
    0 6px 18px rgba(14, 165, 160, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.idx-otp-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.idx-otp-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  background: #94a3b8;
  box-shadow: none;
  filter: none;
}

.idx-otp-status {
  margin-top: 6px;
}

.idx-otp-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  color: #b45309;
  background: #fff7ed;
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 999px;
  padding: 3px 10px;
}

.idx-otp-status.is-verified .idx-otp-badge {
  color: #0f766e;
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.25);
}

.idx-otp-field[hidden] {
  display: none !important;
}

.idx-submit {
  margin-top: 4px;
  border: none;
  border-radius: 11px;
  background: linear-gradient(180deg, #12b5af 0%, #0a8f8a 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 16px;
  min-height: 38px;
  cursor: pointer;
  width: 100%;
  box-shadow:
    0 4px 14px rgba(14, 165, 160, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.idx-submit:hover:not(:disabled) {
  filter: brightness(1.05);
  box-shadow:
    0 6px 18px rgba(14, 165, 160, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.idx-submit:active:not(:disabled) {
  transform: scale(0.97);
}

.idx-submit:disabled,
.idx-submit.is-loading {
  cursor: wait;
  opacity: 0.75;
  filter: none;
  box-shadow: none;
  background: #94a3b8;
  font-size: 11px;
}

.idx-success-action {
  display: block;
  margin-top: 10px;
}

a.idx-submit.idx-submit-inline {
  display: inline-flex;
  width: auto;
  min-width: 0;
  padding: 8px 14px;
  font-size: 11px;
  margin-top: 0;
}

a.idx-submit.idx-submit-check {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
  text-align: center;
}

.idx-alert {
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 10px;
  line-height: 1.45;
  margin-bottom: 11px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.idx-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.idx-alert-success .idx-alert-note {
  display: block;
  margin-top: 6px;
  color: #047857;
}

.idx-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.idx-alert-rejected {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}

.idx-alert-rejected strong {
  color: #c2410c;
}

.idx-alert-quota {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.idx-alert-pending {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.idx-alert.hidden,
.idx-alert[hidden] {
  display: none;
}

.idx-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.idx-modal.hidden {
  display: none;
}

.idx-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.idx-modal-card {
  position: relative;
  width: min(100%, 360px);
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px 18px;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.18),
    0 4px 12px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.idx-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: #ecfdf5;
  color: #0f766e;
}

.idx-modal-title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  color: #111827;
}

.idx-modal-lead {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #4b5563;
}

.idx-modal-note {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  text-align: left;
}

.idx-modal-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #92400e;
}

.idx-modal-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #78350f;
}

.idx-modal-btn {
  width: 100%;
  margin-top: 0;
}

body.idx-modal-open {
  overflow: hidden;
}

.idx-footnote {
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px solid #f1f3f5;
  font-size: 10px;
  line-height: 1.4;
  color: #a1a9b6;
  text-align: center;
}

.idx-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-height: 620px) {
  html.sk-request-index .mid {
    justify-content: flex-start;
    padding-top: 10px;
    padding-bottom: 14px;
  }

  .idx-card {
    padding: 16px 14px 12px;
  }

  .idx-head {
    margin-bottom: 12px;
  }

  .idx-form {
    gap: 10px;
  }
}

@media (min-width: 481px) {
  .idx-shell {
    max-width: 400px;
  }

  .idx-card {
    padding: 22px 20px 16px;
  }

  .idx-title {
    font-size: 1.125rem;
  }

  .idx-tab {
    font-size: 13px;
    padding: 10px 12px;
  }

  .idx-lead {
    font-size: 12px;
    margin-top: 10px;
  }

  .idx-benefits li {
    font-size: 11px;
  }

  .idx-steps li {
    font-size: 11px;
  }

  .idx-faq-title {
    font-size: 11px;
  }

  .idx-faq-item summary {
    font-size: 12px;
  }

  .idx-faq-item p {
    font-size: 11px;
  }

  .idx-field label {
    font-size: 11px;
  }

  .idx-hint {
    font-size: 11px;
  }

  .idx-input {
    font-size: 14px;
  }

  .idx-input::placeholder {
    font-size: 12px;
  }

  .idx-submit {
    font-size: 13px;
    min-height: 40px;
  }

  .idx-alert {
    font-size: 11px;
  }
}
