.vagent-terms {
  background: #fff;
  border: 1px solid #e7eef0;
  border-radius: 22px;
  padding: 22px 18px 18px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.vagent-terms__kicker {
  margin: 0 0 6px;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0f766e;
}

.vagent-terms h2,
.vagent-terms h3,
.vagent-terms p,
.vagent-terms__agree strong {
  font-family: Manjari, "Noto Sans Malayalam", sans-serif;
}

.vagent-terms h2 {
  margin: 0 0 12px;
  text-align: center;
  color: #134e4a;
  font-size: 1.7rem;
  line-height: 1.35;
}

.vagent-terms p {
  margin: 0 0 12px;
  color: #1e293b;
  font-size: 1.05rem;
  line-height: 1.75;
}

.vagent-terms h3 {
  margin: 18px 0 10px;
  color: #0f766e;
  font-size: 1.25rem;
}

.vagent-terms__table {
  overflow: auto;
  border: 1px solid #d7e5e2;
  border-radius: 16px;
}

.vagent-terms table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.vagent-terms th,
.vagent-terms td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e7eef0;
}

.vagent-terms thead th {
  background: #0f766e;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vagent-terms tbody th {
  width: 38%;
  color: #134e4a;
  font-weight: 800;
}

.vagent-terms tbody td {
  color: #334155;
  line-height: 1.45;
}

.vagent-terms tr:last-child th,
.vagent-terms tr:last-child td {
  border-bottom: 0;
}

.vagent-terms__agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0 14px;
  padding: 12px;
  border-radius: 14px;
  background: #f0fdfa;
  color: #134e4a;
}

.vagent-terms__agree input {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  flex: 0 0 auto;
}

.vagent-terms__agree span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vagent-terms__agree small {
  color: #64748b;
  font-family: inherit;
}

.vagent-terms .vsub-pay--ghost {
  margin-top: 10px;
}

@media (max-width: 640px) {
  .vagent-terms thead {
    display: none;
  }

  .vagent-terms table,
  .vagent-terms tbody,
  .vagent-terms tr,
  .vagent-terms th,
  .vagent-terms td {
    display: block;
    width: auto;
  }

  .vagent-terms tr {
    padding: 10px 12px 12px;
    border-bottom: 1px solid #e7eef0;
  }

  .vagent-terms tbody th,
  .vagent-terms tbody td {
    padding: 2px 0;
    border: 0;
  }

  .vagent-terms tbody th {
    color: #0f766e;
    font-size: 0.92rem;
  }
}

.vagent-photo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.vagent-photo__preview {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  background: #eef2f4;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 32px;
  overflow: hidden;
}

.vagent-photo__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vagent-photo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vagent-photo__btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  background: #0f766e;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.vagent-photo__btn--ghost {
  background: #e7f3f1;
  color: #0f766e;
}

.vagent-crop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.72);
}

.vagent-crop.hidden {
  display: none;
}

.vagent-crop__panel {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 16px;
}

.vagent-crop__stage {
  max-height: 60vh;
  overflow: hidden;
  background: #111;
}

.vagent-crop__stage img {
  display: block;
  max-width: 100%;
}

.vagent-crop__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
