.vendex-otp-auth-tabs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vendex-otp-tab-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 4px;
  border: 1px solid #d9e4ef;
  border-radius: 8px;
  background: #f4f8fb;
}

.vendex-otp-tab {
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #627386;
  font-weight: 700;
}

.vendex-otp-tab.is-active {
  background: #fff;
  color: #258d78;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .08);
}

.vendex-otp-tab-panel {
  display: none;
}

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

.vendex-otp-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: #64748b;
}

.vendex-otp-auth-row a,
.vendex-otp-auth-footer a,
.vendex-otp-resend-form a,
.vendex-otp-resend-form button {
  color: #258d78;
  font-weight: 700;
}

.vendex-otp-auth-footer {
  padding-top: 2px;
  text-align: center;
}

.vendex-otp-phone-field .iti {
  display: block;
}

.vendex-otp-verify-card {
  text-align: center;
}

.vendex-otp-verify-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #e8f7f3;
  color: #258d78;
  font-size: 32px;
}

.vendex-otp-verify-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  color: #1f2937;
}

.vendex-otp-verify-card p {
  margin: 0 0 20px;
  color: #64748b;
}

.vendex-otp-code-input {
  text-align: center;
  letter-spacing: 4px;
  font-weight: 800;
}

.vendex-otp-resend-form {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.vendex-otp-settings-page .vendex-settings-callout a {
  color: #258d78;
  font-weight: 700;
}

.vendex-otp-gateway-card,
.vendex-otp-template-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vendex-otp-gateway-fields[hidden] {
  display: none;
}

.vendex-otp-template-row {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(280px, 1.4fr) minmax(180px, .7fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid #dbe6ef;
  border-radius: 8px;
  background: #fbfdff;
}

@media (max-width: 900px) {
  .vendex-otp-template-row {
    grid-template-columns: 1fr;
  }
}
