.th-vpi-index-wrap,
.th-vpi-form-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 24px auto;
  box-sizing: border-box;
}

.th-vpi-index-hero,
.th-vpi-form-head {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
  border: 1px solid #e3eaf5;
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 0%, rgba(11, 94, 215, .14), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 14px 35px rgba(15, 23, 42, .07);
}

.th-vpi-index-hero span,
.th-vpi-form-head span {
  display: inline-flex;
  margin: 0 0 11px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #0b5ed7;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.th-vpi-index-hero h2,
.th-vpi-form-head h2 {
  margin: 0 0 10px;
  color: #061b46;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -.04em;
}

.th-vpi-index-hero p,
.th-vpi-form-head p {
  max-width: 860px;
  margin: 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
}

.th-vpi-section-title {
  margin: 26px 0 12px;
}

.th-vpi-section-title h3 {
  margin: 0 0 5px;
  color: #061b46;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -.02em;
}

.th-vpi-section-title p {
  margin: 0;
  color: #475569;
  font-size: 15.5px;
  line-height: 1.62;
}

.th-vpi-section-title-ongoing h3 {
  color: #854d0e;
}

.th-vpi-section-title-withdrawn h3 {
  color: #7c2d12;
}

.th-vpi-note,
.th-vpi-empty,
.th-vpi-cta,
.th-vpi-alert {
  margin: 18px 0;
  padding: 18px 20px;
  border: 1px solid #dbe7f6;
  border-radius: 18px;
  background: #f8fbff;
}

.th-vpi-note strong,
.th-vpi-empty strong,
.th-vpi-cta strong {
  display: block;
  margin: 0 0 6px;
  color: #061b46;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
}

.th-vpi-note p,
.th-vpi-empty p,
.th-vpi-cta p {
  margin: 0;
  color: #475569;
  font-size: 15.5px;
  line-height: 1.65;
}

.th-vpi-alert-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
  font-weight: 800;
}

.th-vpi-alert-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
  font-weight: 800;
}

.th-vpi-privacy-note {
  margin: 18px 0;
  padding: 18px 20px;
  border: 1px solid #dbe7f6;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.th-vpi-privacy-note strong {
  display: block;
  margin: 0 0 7px;
  color: #061b46;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 950;
}

.th-vpi-privacy-note p {
  margin: 0 0 9px;
  color: #475569;
  font-size: 14.8px;
  line-height: 1.65;
  font-weight: 600;
}

.th-vpi-privacy-note p:last-child {
  margin-bottom: 0;
}

.th-vpi-privacy-note a {
  color: #0b5ed7;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}


.th-vpi-table-scroll {
  overflow-x: auto;
  margin: 12px 0 18px;
  border: 1px solid #e3eaf5;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.th-vpi-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  margin: 0;
}

.th-vpi-table-ongoing,
.th-vpi-table-withdrawn {
  min-width: 780px;
}

.th-vpi-table th,
.th-vpi-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #eef2f7;
  color: #1f2937;
  font-size: 14.5px;
  line-height: 1.35;
  text-align: left;
  vertical-align: middle;
}

.th-vpi-table th {
  background: #f6f9ff;
  color: #061b46;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.th-vpi-table-ongoing th {
  background: #fffbeb;
}

.th-vpi-table tr:last-child td {
  border-bottom: 0;
}

.th-vpi-confidence {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.th-vpi-confidence-high {
  background: #dcfce7;
  color: #166534;
}

.th-vpi-confidence-medium {
  background: #fef9c3;
  color: #854d0e;
}

.th-vpi-confidence-low {
  background: #fee2e2;
  color: #991b1b;
}

.th-vpi-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.th-vpi-cta a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 13px;
  background: #061b46;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none !important;
}

.th-vpi-form {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid #e3eaf5;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, .06);
}

.th-vpi-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.th-vpi-form label {
  display: grid;
  gap: 7px;
  color: #061b46;
  font-size: 14px;
  font-weight: 900;
}

.th-vpi-form label span {
  line-height: 1.25;
}

.th-vpi-form small {
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 700;
}

.th-vpi-form input[type="text"],
.th-vpi-form input[type="date"],
.th-vpi-form select,
.th-vpi-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #dbe7f6;
  border-radius: 13px;
  background: #f8fbff;
  color: #111827;
  font-size: 15px;
  line-height: 1.35;
  box-sizing: border-box;
}

.th-vpi-form textarea {
  min-height: 110px;
  resize: vertical;
}

.th-vpi-full {
  margin-top: 15px;
}

.th-vpi-consent-group {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.th-vpi-consent {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 10px !important;
  align-items: flex-start;
  margin: 16px 0;
  color: #334155 !important;
  font-size: 14.5px !important;
  line-height: 1.55;
  font-weight: 700 !important;
}

.th-vpi-consent input {
  margin-top: 4px;
}

.th-vpi-consent a {
  color: #0b5ed7;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.th-vpi-submit {
  display: inline-flex;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 14px;
  background: #0b5ed7;
  color: #ffffff;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

.th-vpi-submit:hover {
  background: #061b46;
}

.th-vpi-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

@media (max-width: 760px) {
  .th-vpi-index-wrap,
  .th-vpi-form-wrap {
    margin: 18px auto;
  }

  .th-vpi-index-hero,
  .th-vpi-form-head,
  .th-vpi-form {
    padding: 20px 15px;
    border-radius: 20px;
  }

  .th-vpi-index-hero p,
  .th-vpi-form-head p {
    font-size: 15.8px;
    line-height: 1.62;
  }

  .th-vpi-table {
    min-width: 0;
  }

  .th-vpi-table thead {
    display: none;
  }

  .th-vpi-table,
  .th-vpi-table tbody,
  .th-vpi-table tr,
  .th-vpi-table td {
    display: block;
    width: 100%;
  }

  .th-vpi-table tr {
    padding: 12px 0;
    border-bottom: 1px solid #eef2f7;
  }

  .th-vpi-table tr:last-child {
    border-bottom: 0;
  }

  .th-vpi-table td {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 14px;
    border-bottom: 0;
    text-align: right;
  }

  .th-vpi-table td::before {
    content: attr(data-label);
    color: #64748b;
    font-weight: 900;
    text-align: left;
  }

  .th-vpi-cta {
    display: block;
  }

  .th-vpi-cta a {
    width: 100%;
    margin-top: 14px;
  }

  .th-vpi-form-grid {
    grid-template-columns: 1fr;
  }
}
