/* =========================================================
   OTP-Tgoo — Estilos
   Cores base do tema: accent #FF5A24 | primary #2E3135
   ========================================================= */

:root {
  --otp-accent: #FF5A24;
  --otp-accent-dk: #d94510;
  --otp-dark: #2E3135;
  --otp-text: #3C4449;
  --otp-border: #D8D5D2;
  --otp-bg: #ffffff;
  --otp-muted: #73878B;
  --otp-success: #1d7f42;
  --otp-error: #b22a2a;
  --otp-radius: 12px;
  --otp-transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Wrapper ─────────────────────────────────────────── */
.tgoo-otp-auth {
  width: min(100%, 480px);
  margin: 0 auto 24px;
}

.otp-tgoo-myaccount-entry {
  width: 100%;
  margin-bottom: 0;
}

/* ── Card ────────────────────────────────────────────── */
.tgoo-otp-auth__card {
  position: relative;
  background: var(--otp-bg);
  border-radius: var(--otp-radius);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  min-height: 160px;
}

/* ── Loader ──────────────────────────────────────────── */
.tgoo-otp-auth__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--otp-bg);
  border-radius: var(--otp-radius);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--otp-transition);
}

.tgoo-otp-auth__loader.is-visible {
  opacity: 1;
  pointer-events: all;
}

.tgoo-otp-auth__loader-dot {
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--otp-accent);
  animation: otpDotBounce 1.2s ease-in-out infinite;
  transform: translateY(0);
}

.tgoo-otp-auth__loader-dot:nth-child(1) {
  animation-delay: 0s;
}

.tgoo-otp-auth__loader-dot:nth-child(2) {
  animation-delay: 0.18s;
  background: color-mix(in srgb, var(--otp-accent) 65%, var(--otp-dark));
}

.tgoo-otp-auth__loader-dot:nth-child(3) {
  animation-delay: 0.36s;
  background: var(--otp-dark);
}

@keyframes otpDotBounce {

  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  40% {
    transform: translateY(-14px);
    opacity: 0.85;
  }
}

/* ── Body (conteúdo) ─────────────────────────────────── */
.tgoo-otp-auth__body {
  padding: 28px 28px 24px;
  transition: opacity var(--otp-transition), filter var(--otp-transition);
}

.tgoo-otp-auth.is-loading .tgoo-otp-auth__body {
  opacity: 0.3;
  filter: blur(1px);
  pointer-events: none;
  user-select: none;
}

/* ── Título e subtítulo ───────────────────────────────── */
.tgoo-otp-auth__title {
  margin: 0 0 6px;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--otp-dark);
}

.tgoo-otp-auth__subtitle {
  margin: 0 0 22px;
  color: var(--otp-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: opacity var(--otp-transition), transform var(--otp-transition);
}

/* ── Formulários ─────────────────────────────────────── */
.tgoo-otp-auth__form {
  display: grid;
  gap: 12px;
}

/* garante que [hidden] funciona mesmo com resets de tema */
.tgoo-otp-auth__form[hidden],
.tgoo-otp-auth__form--otp[hidden] {
  display: none !important;
  visibility: hidden !important;
}

/* entrada suave do form de código */
.tgoo-otp-auth__form--otp {
  animation: otpFormIn var(--otp-transition) both;
}

@keyframes otpFormIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Label ───────────────────────────────────────────── */
.tgoo-otp-auth__label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--otp-dark);
}

/* ── Input ───────────────────────────────────────────── */
.tgoo-otp-auth__input {
  width: 100%;
  border: 1.5px solid var(--otp-border);
  border-radius: 10px;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 1rem;
  background: var(--otp-bg);
  color: var(--otp-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.tgoo-otp-auth__input::placeholder {
  color: var(--otp-muted);
  opacity: 1;
}

.tgoo-otp-auth__input:focus {
  outline: none;
  border-color: var(--otp-accent);
  box-shadow: 0 0 0 3px rgba(255, 90, 36, 0.15);
}

/* ── Input OTP ───────────────────────────────────────── */
.tgoo-otp-auth__input--otp {
  letter-spacing: 0.55em;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  min-height: 62px;
  padding: 12px 16px;
  border-color: var(--otp-accent);
  border-width: 2px;
  background: rgba(255, 90, 36, 0.03);
  color: var(--otp-dark);
}

.tgoo-otp-auth__input--otp::placeholder {
  letter-spacing: 0.35em;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(115, 135, 139, 0.55);
}

.tgoo-otp-auth__input--otp:focus {
  box-shadow: 0 0 0 4px rgba(255, 90, 36, 0.18);
}

/* ── Barra de progresso sob o input OTP ──────────────── */
.tgoo-otp-auth__otp-progress {
  height: 3px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 99px;
  overflow: hidden;
  margin-top: -4px;
}

.tgoo-otp-auth__otp-progress-bar {
  height: 100%;
  background: var(--otp-accent);
  border-radius: 99px;
  width: 0%;
  transition: width 0.15s ease;
}

/* ── Botões (escondidos — AJAX automático) ────────────── */
.tgoo-otp-auth__form--email .tgoo-otp-auth__button,
.tgoo-otp-auth__form--otp .tgoo-otp-auth__button {
  display: none;
}

.tgoo-otp-auth__button {
  border: 0;
  border-radius: 10px;
  min-height: 48px;
  cursor: pointer;
  font-weight: 700;
  background: var(--otp-accent);
  color: #fff;
  transition: transform 0.15s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.tgoo-otp-auth__button:hover {
  transform: translateY(-1px);
  background: var(--otp-accent-dk);
}

.tgoo-otp-auth__button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

/* ── Helper ──────────────────────────────────────────── */
.tgoo-otp-auth__helper {
  margin: 0;
  font-size: 0.88rem;
  color: var(--otp-muted);
  line-height: 1.4;
}

/* ── Feedback ────────────────────────────────────────── */
.tgoo-otp-auth__feedback {
  min-height: 20px;
  margin: 12px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  transition: opacity 0.2s ease;
}

.tgoo-otp-auth__feedback.is-error {
  color: var(--otp-error);
}

.tgoo-otp-auth__feedback.is-success {
  color: var(--otp-success);
}

/* ── Mensagem de sucesso com ícone ────────────────────── */
.tgoo-otp-auth__feedback.is-success::before {
  content: "✓ ";
  font-size: 1em;
}

/* ── Botão "Trocar e-mail" ───────────────────────────── */
.tgoo-otp-auth__link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1.5px solid var(--otp-border);
  background: transparent;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  padding: 8px 14px;
  margin-top: 4px;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease, transform 0.15s ease;
}

.tgoo-otp-auth__link:hover {
  background: var(--otp-dark);
  border-color: var(--otp-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Wrapper das abas ────────────────────────────────── */
.otp-tgoo-myaccount-entry {
  width: min(100%, 480px);
  margin: 0 auto 24px;
}

/* ── Tabs (Cliente / Afiliado) ───────────────────────── */
.otp-tgoo-tabs {
  display: flex !important;
  border-bottom: 2px solid var(--otp-border);
  margin-bottom: 0;
  background: var(--otp-bg);
  border-radius: var(--otp-radius) var(--otp-radius) 0 0;
  overflow: visible;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.05);
}

/* Anular o ::before do tema (que cria fundo laranja via pseudo-elemento) */
.otp-tgoo-myaccount-entry .otp-tgoo-tabs .otp-tgoo-tabs__btn::before,
.otp-tgoo-myaccount-entry .otp-tgoo-tabs button.otp-tgoo-tabs__btn::before,
.otp-tgoo-myaccount-entry .otp-tgoo-tabs .otp-tgoo-tabs__btn::after,
.otp-tgoo-myaccount-entry .otp-tgoo-tabs button.otp-tgoo-tabs__btn::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
  background: transparent !important;
}

.otp-tgoo-myaccount-entry .otp-tgoo-tabs .otp-tgoo-tabs__btn,
.otp-tgoo-myaccount-entry .otp-tgoo-tabs button.otp-tgoo-tabs__btn {
  flex: 1 !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  padding: 16px 12px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--otp-muted) !important;
  cursor: pointer !important;
  margin: 0 !important;
  margin-bottom: -2px !important;
  min-height: unset !important;
  height: auto !important;
  width: auto !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  transition: color var(--otp-transition), border-color var(--otp-transition), background-color var(--otp-transition) !important;
}

.otp-tgoo-myaccount-entry .otp-tgoo-tabs .otp-tgoo-tabs__btn:hover,
.otp-tgoo-myaccount-entry .otp-tgoo-tabs button.otp-tgoo-tabs__btn:hover {
  color: var(--otp-accent) !important;
  background-color: rgba(255, 90, 36, 0.04) !important;
  transform: none !important;
}

.otp-tgoo-myaccount-entry .otp-tgoo-tabs .otp-tgoo-tabs__btn.is-active,
.otp-tgoo-myaccount-entry .otp-tgoo-tabs button.otp-tgoo-tabs__btn.is-active {
  color: var(--otp-accent) !important;
  border-bottom-color: var(--otp-accent) !important;
  background-color: rgba(255, 90, 36, 0.04) !important;
}

/* ── Painéis de conteúdo das abas ─────────────────────── */
.otp-tgoo-tab-panel {
  display: none !important;
  visibility: hidden !important;
}

.otp-tgoo-tab-panel.is-active {
  display: block !important;
  visibility: visible !important;
}

/* Ajuste do card OTP dentro da aba — remove bordas duplicadas */
.otp-tgoo-tab-panel .tgoo-otp-auth__card {
  border-radius: 0 0 var(--otp-radius) var(--otp-radius);
  border-top: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
}

.otp-tgoo-tab-panel .tgoo-otp-auth {
  width: 100%;
  margin: 0;
}

/* ── Registo de Afiliado (card abaixo do OTP) ────────── */
.otp-tgoo-affiliate-register {
  width: min(100%, 480px);
  margin: 16px auto 0;
}

.otp-tgoo-affiliate-register__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 0;
  padding: 20px 0 0;
}

.otp-tgoo-affiliate-register__divider::before,
.otp-tgoo-affiliate-register__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--otp-border);
}

.otp-tgoo-affiliate-register__divider span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--otp-muted);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Card do formulário de registo */
.otp-tgoo-affiliate-register .affwp-register,
.otp-tgoo-affiliate-register form.affwp-register-form {
  background: var(--otp-bg);
  border-radius: var(--otp-radius);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
  padding: 28px 28px 24px;
  margin-top: 16px;
}

.otp-tgoo-affiliate-register fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.otp-tgoo-affiliate-register legend {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--otp-dark);
  margin: 0 0 20px;
  padding: 0;
  float: none;
  width: auto;
}

.otp-tgoo-affiliate-register p {
  margin: 0 0 14px;
}

.otp-tgoo-affiliate-register label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--otp-dark);
  margin-bottom: 6px;
}

.otp-tgoo-affiliate-register input[type="text"],
.otp-tgoo-affiliate-register input[type="email"],
.otp-tgoo-affiliate-register input[type="password"],
.otp-tgoo-affiliate-register input[type="url"],
.otp-tgoo-affiliate-register textarea,
.otp-tgoo-affiliate-register select {
  width: 100%;
  border: 1.5px solid var(--otp-border) !important;
  border-radius: 10px !important;
  min-height: 48px;
  padding: 10px 16px !important;
  font-size: 1rem;
  background: var(--otp-bg) !important;
  color: var(--otp-text) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.otp-tgoo-affiliate-register input:focus,
.otp-tgoo-affiliate-register textarea:focus,
.otp-tgoo-affiliate-register select:focus {
  outline: none !important;
  border-color: var(--otp-accent) !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 36, 0.15) !important;
}

.otp-tgoo-affiliate-register textarea {
  min-height: 80px;
  resize: vertical;
}

.otp-tgoo-affiliate-register input[type="submit"],
.otp-tgoo-affiliate-register .affwp-submit {
  border: 0 !important;
  border-radius: 10px !important;
  min-height: 48px;
  padding: 12px 24px !important;
  cursor: pointer;
  font-weight: 700 !important;
  font-size: 1rem !important;
  background: var(--otp-accent) !important;
  color: #fff !important;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  display: block;
  box-shadow: none !important;
  transition: transform 0.15s ease, background-color 0.2s ease !important;
}

.otp-tgoo-affiliate-register input[type="submit"]:hover,
.otp-tgoo-affiliate-register .affwp-submit:hover {
  background: var(--otp-accent-dk) !important;
  transform: translateY(-1px);
  color: #fff !important;
}

/* Pseudo-elementos do tema nos botões de submit do registo */
.otp-tgoo-affiliate-register input[type="submit"]::before,
.otp-tgoo-affiliate-register input[type="submit"]::after,
.otp-tgoo-affiliate-register .affwp-submit::before,
.otp-tgoo-affiliate-register .affwp-submit::after {
  display: none !important;
  content: none !important;
}

.otp-tgoo-affiliate-register .affwp-fields-table {
  width: 100%;
  border-collapse: collapse;
}

.otp-tgoo-affiliate-register .affwp-fields-table td {
  padding: 0 0 14px;
  vertical-align: top;
}

/* ── Debug Badge (WP_DEBUG) ──────────────────────────── */
.tgoo-otp-debug-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a2e;
  border-top: 2px solid #f59e0b;
  padding: 10px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 20;
  animation: otpFormIn var(--otp-transition) both;
}

.tgoo-otp-debug-badge__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f59e0b;
}

.tgoo-otp-debug-badge__code {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.tgoo-otp-debug-badge__hint {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Suprimir formulários padrão WooCommerce ─────────── */
.otp-tgoo-replace-myaccount .woocommerce-account .u-columns,
.otp-tgoo-replace-myaccount .woocommerce .u-columns,
.otp-tgoo-replace-myaccount .woocommerce form.woocommerce-form-login,
.otp-tgoo-replace-myaccount .woocommerce form.woocommerce-form-register,
.otp-tgoo-replace-myaccount .woocommerce-account form.woocommerce-form-login,
.otp-tgoo-replace-myaccount .woocommerce-account form.woocommerce-form-register,
.otp-tgoo-replace-myaccount .woocommerce-account .col-1,
.otp-tgoo-replace-myaccount .woocommerce-account .col-2 {
  display: none !important;
}

/* ── Botão Portal do Afiliado — My Account nav ───────── */
.woocommerce-MyAccount-navigation-link--otp-tgoo-affiliate-portal > a {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 700 !important;
  color: var(--otp-accent) !important;
  background: rgba(255, 90, 36, 0.06) !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  margin-bottom: 4px !important;
  transition: background var(--otp-transition), color var(--otp-transition) !important;
  text-decoration: none !important;
}

.woocommerce-MyAccount-navigation-link--otp-tgoo-affiliate-portal > a::before {
  content: "" !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  background-color: var(--otp-accent) !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E") !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  flex-shrink: 0 !important;
}

.woocommerce-MyAccount-navigation-link--otp-tgoo-affiliate-portal > a:hover {
  background: rgba(255, 90, 36, 0.14) !important;
  color: var(--otp-accent-dk) !important;
}

/* ── Botão "Tornar-se Afiliado" — My Account nav ─────── */
:root {
  --otp-green: #1a8a4a;
  --otp-green-lt: rgba(26, 138, 74, 0.08);
  --otp-green-hover: rgba(26, 138, 74, 0.16);
}

.woocommerce-MyAccount-navigation-link--affiliate-signup > a {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 700 !important;
  color: var(--otp-green) !important;
  background: var(--otp-green-lt) !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  margin-bottom: 4px !important;
  transition: background var(--otp-transition), color var(--otp-transition) !important;
  text-decoration: none !important;
}

.woocommerce-MyAccount-navigation-link--affiliate-signup > a::before {
  content: "" !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  background-color: var(--otp-green) !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cline x1='19' y1='8' x2='19' y2='14'/%3E%3Cline x1='22' y1='11' x2='16' y2='11'/%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cline x1='19' y1='8' x2='19' y2='14'/%3E%3Cline x1='22' y1='11' x2='16' y2='11'/%3E%3C/svg%3E") !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  flex-shrink: 0 !important;
}

.woocommerce-MyAccount-navigation-link--affiliate-signup > a:hover {
  background: var(--otp-green-hover) !important;
}

.woocommerce-MyAccount-navigation-link--affiliate-signup.is-active > a {
  background: var(--otp-green-hover) !important;
  color: var(--otp-green) !important;
}

/* ── Página "Tornar-se Afiliado" — conteúdo ──────────── */
.otp-tgoo-affiliate-signup {
  max-width: 680px;
}

.otp-tgoo-affiliate-signup__hero {
  text-align: center;
  padding: 32px 24px 24px;
  background: linear-gradient(135deg, rgba(26,138,74,0.06) 0%, rgba(26,138,74,0.02) 100%);
  border-radius: 12px;
  border: 1px solid rgba(26,138,74,0.15);
  margin-bottom: 28px;
}

.otp-tgoo-affiliate-signup__hero-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--otp-green), #27ae60);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.otp-tgoo-affiliate-signup__hero-icon svg {
  width: 32px;
  height: 32px;
  stroke: #fff;
}

.otp-tgoo-affiliate-signup__hero-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--otp-dark);
  margin: 0 0 10px;
  line-height: 1.25;
}

.otp-tgoo-affiliate-signup__hero-desc {
  color: var(--otp-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
  margin-inline: auto;
}

.otp-tgoo-affiliate-signup__benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}

.otp-tgoo-affiliate-signup__benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--otp-border);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.otp-tgoo-affiliate-signup__benefit:hover {
  border-color: rgba(26,138,74,0.35);
  box-shadow: 0 2px 10px rgba(26,138,74,0.08);
}

.otp-tgoo-affiliate-signup__benefit-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.otp-tgoo-affiliate-signup__benefit-body strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--otp-dark);
  margin-bottom: 4px;
}

.otp-tgoo-affiliate-signup__benefit-body p {
  font-size: 0.85rem;
  color: var(--otp-muted);
  margin: 0;
  line-height: 1.5;
}

.otp-tgoo-affiliate-signup__form-wrap {
  background: #fff;
  border: 1px solid var(--otp-border);
  border-radius: 12px;
  padding: 28px 28px 24px;
}

.otp-tgoo-affiliate-signup__form-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--otp-dark);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--otp-border);
}

/* ── Responsivo ──────────────────────────────────────── */
@media (max-width: 575px) {
  .tgoo-otp-auth__card {
    border-radius: 10px;
  }

  .tgoo-otp-auth__body {
    padding: 20px 18px 18px;
  }

  .tgoo-otp-auth__title {
    font-size: 1.25rem;
  }

  .tgoo-otp-auth__input--otp {
    font-size: 1.3rem;
    letter-spacing: 0.45em;
    min-height: 56px;
  }
}