/* ============================================================
   SOMA — auth.css
   Sistema de autenticação: Login, Cadastro, Recuperação
   Versão: 1.0 — 2026
   ============================================================ */

/* === OVERLAY === */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(5, 11, 23, 0.82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.auth-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* === MODAL CARD (mesma direção de arte do card de plataforma-login.html) === */
.auth-modal {
  background:
    radial-gradient(ellipse at top, rgba(2, 184, 191, 0.12) 0%, transparent 60%),
    linear-gradient(135deg, rgba(8, 17, 31, 0.98) 0%, rgba(5, 11, 23, 0.96) 100%);
  border: 1px solid rgba(127, 231, 235, 0.18);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(127, 231, 235, 0.10);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(127,231,235,0.2) transparent;
}
/* linha de acento no topo, igual ao card da página */
.auth-modal::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127, 231, 235, 0.35), transparent);
}
.auth-overlay.is-open .auth-modal {
  transform: translateY(0) scale(1);
}

/* === FECHAR === */
.auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(127, 231, 235, 0.08);
  border: 1px solid rgba(127, 231, 235, 0.14);
  color: rgba(245, 249, 252, 0.6);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  z-index: 1;
}
.auth-close:hover {
  background: rgba(127, 231, 235, 0.16);
  color: #F5F9FC;
}

/* === PAINÉIS DE ESTADO === */
.auth-panel {
  display: none;
  padding: 40px 36px 36px;
  animation: authFadeIn 0.22s ease forwards;
}
.auth-panel.is-active { display: block; }

@keyframes authFadeIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* === LOGO + HEADER === */
.auth-logo {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
}
.auth-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #02B8BF;
  margin-bottom: 10px;
  display: block;
}
.auth-title {
  font-size: 1.7rem;
  font-weight: 600;
  color: #F5F9FC;
  margin-bottom: 6px;
  line-height: 1.2;
}
.auth-sub {
  font-size: 14px;
  color: rgba(245, 249, 252, 0.6);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* === SOCIAL LOGINS === */
.auth-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
/* ============================================================
   BOTÕES SOCIAIS — VERSÃO REFINADA FINAL
   ============================================================ */

.auth-social-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  text-align: left;

  /* Tamanho refinado — não mais full width */
  width: 100%;
  max-width: 360px;
  margin: 0 auto 12px;

  padding: 14px 22px;
  min-height: 56px;

  border-radius: 14px;
  border: 1px solid rgba(127, 231, 235, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #F5F9FC;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  font-family: inherit;
  letter-spacing: 0.005em;
  position: relative;
}
.auth-social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(127, 231, 235, 0.32);
  transform: translateY(-1px);
}
.auth-social-btn:active {
  transform: translateY(0);
}

/* Ícone — maior e quadrado branco "app icon" */
.auth-social-icon {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  display: inline-block !important;
}

/* Texto do botão social — peso e alinhamento corretos */
.auth-social-btn span {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

/* === SEPARADOR === */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px auto 18px;
  max-width: 360px;
  color: rgba(245, 249, 252, 0.40);
  font-size: 11.5px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(127, 231, 235, 0.10);
}

/* === FORM === */
.auth-field {
  margin-bottom: 16px;
}
.auth-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #F5F9FC;
  margin-bottom: 7px;
}
.auth-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(5, 11, 23, 0.6);
  border: 1px solid rgba(127, 231, 235, 0.16);
  border-radius: 12px;
  color: #F5F9FC;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  -webkit-appearance: none;
}
.auth-input::placeholder { color: rgba(245,249,252,0.32); }
.auth-input:focus {
  border-color: rgba(2, 184, 191, 0.6);
  box-shadow: 0 0 0 3px rgba(2, 184, 191, 0.12);
}
.auth-input.is-error {
  border-color: rgba(255, 80, 80, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 80, 80, 0.10);
}
.auth-input-wrap {
  position: relative;
}
.auth-input-wrap .auth-input { padding-right: 44px; }
.auth-eye {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(245,249,252,0.38);
  font-size: 16px;
  padding: 4px;
  transition: color 0.2s;
}
.auth-eye:hover { color: rgba(245,249,252,0.72); }

/* Força de senha */
.auth-pw-strength {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}
.auth-pw-bar {
  flex: 1;
  height: 3px;
  border-radius: 4px;
  background: rgba(127,231,235,0.10);
  transition: background 0.3s;
}
.auth-pw-bar.s1 { background: #ff5050; }
.auth-pw-bar.s2 { background: #ffaa00; }
.auth-pw-bar.s3 { background: #7FE7EB; }
.auth-pw-label {
  font-size: 11px;
  color: rgba(245,249,252,0.45);
  margin-top: 5px;
  display: block;
}

/* Select */
.auth-select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(5,11,23,0.6);
  border: 1px solid rgba(127,231,235,0.16);
  border-radius: 12px;
  color: #F5F9FC;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237FE7EB' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  transition: border-color 0.2s;
}
.auth-select:focus { border-color: rgba(2,184,191,0.6); }
.auth-select option { background: #0D1B2E; color: #F5F9FC; }

/* Erro inline */
.auth-error-msg {
  font-size: 12px;
  color: #ff8080;
  margin-top: 5px;
  display: none;
}
.auth-error-msg.is-show { display: block; }

/* Esqueci senha link */
.auth-forgot-link {
  font-size: 13px;
  color: #7FE7EB;
  text-decoration: none;
  cursor: pointer;
  display: block;
  text-align: right;
  margin-top: -8px;
  margin-bottom: 20px;
  transition: color 0.2s;
}
.auth-forgot-link:hover { color: #02B8BF; text-decoration: underline; }

/* Checkbox termos */
.auth-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.auth-check-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: #02B8BF;
  cursor: pointer;
}
.auth-check-row label {
  font-size: 13px;
  color: rgba(245,249,252,0.60);
  line-height: 1.5;
  cursor: pointer;
}
.auth-check-row label a {
  color: #7FE7EB;
  text-decoration: none;
}
.auth-check-row label a:hover { text-decoration: underline; }

/* === BOTÃO PRINCIPAL === */
.auth-btn-primary {
  width: 100%;
  max-width: 360px;
  margin: 0 auto 20px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #02D4DC 0%, #02888F 100%);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 28px rgba(2, 184, 191, 0.38);
  font-family: inherit;
  letter-spacing: 0.01em;
}

/* Texto do botão — garante que ícone + texto fiquem juntos e centralizados */
.auth-btn-primary .btn-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

/* Ícone SOMA dentro do botão — tamanho consistente */
.auth-btn-primary .btn-text img {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.18);
  padding: 2px;
}
.auth-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(2, 184, 191, 0.52);
}
.auth-btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
.auth-btn-primary .spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.auth-btn-primary.is-loading .spinner { display: block; }
.auth-btn-primary.is-loading .btn-text { display: none; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === FOOTER DO MODAL === */
.auth-footer {
  text-align: center;
  padding-top: 8px;
  font-size: 13.5px;
  color: rgba(245,249,252,0.50);
  border-top: 1px solid rgba(127,231,235,0.08);
  margin-top: 8px;
  padding-top: 20px;
}
.auth-footer a, .auth-footer [data-auth-goto] {
  color: #7FE7EB;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  transition: color 0.2s;
}
.auth-footer a:hover, .auth-footer [data-auth-goto]:hover {
  color: #02B8BF;
  text-decoration: underline;
}

/* === ESTADO DE SUCESSO === */
.auth-success {
  text-align: center;
  padding: 20px 0;
}
.auth-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(2, 184, 191, 0.12);
  border: 2px solid rgba(2, 184, 191, 0.30);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.auth-success h3 {
  font-size: 1.3rem;
  color: #F5F9FC;
  margin-bottom: 10px;
}
.auth-success p {
  font-size: 14px;
  color: rgba(245,249,252,0.62);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* === ALERTA GLOBAL DO MODAL === */
.auth-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  /* margem lateral de 8px para alinhar com os botões sociais/e-mail abaixo */
  margin: 0 8px 16px;
  display: none;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}
.auth-alert.is-show { display: flex; }
.auth-alert.error {
  background: rgba(255, 80, 80, 0.10);
  border: 1px solid rgba(255, 80, 80, 0.22);
  color: #ff9090;
}
.auth-alert.success {
  background: rgba(2, 184, 191, 0.10);
  border: 1px solid rgba(2, 184, 191, 0.22);
  color: #7FE7EB;
}

/* === AVATAR SESSÃO (header) === */
.auth-avatar-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 100px;
  background: rgba(2, 184, 191, 0.10);
  border: 1px solid rgba(127, 231, 235, 0.20);
  cursor: pointer;
  color: #F5F9FC;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
  position: relative;
}
.auth-avatar-btn:hover { background: rgba(2, 184, 191, 0.18); }
.auth-avatar-btn.is-visible { display: flex; }
.auth-avatar-initials {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #02D4DC, #02888F);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* Dropdown de sessão */
.auth-session-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #0D1B2E;
  border: 1px solid rgba(127,231,235,0.14);
  border-radius: 16px;
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  z-index: 9001;
  display: none;
}
.auth-session-menu.is-open { display: block; }
.auth-session-name {
  padding: 10px 12px 6px;
  font-size: 13px;
  font-weight: 600;
  color: #F5F9FC;
}
.auth-session-email {
  padding: 0 12px 10px;
  font-size: 11.5px;
  color: rgba(245,249,252,0.45);
  border-bottom: 1px solid rgba(127,231,235,0.08);
  margin-bottom: 6px;
}
.auth-session-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: rgba(245,249,252,0.72);
  cursor: pointer;
  transition: background 0.18s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
}
.auth-session-item:hover { background: rgba(127,231,235,0.07); color: #F5F9FC; }
.auth-session-item.danger { color: #ff8080; }
.auth-session-item.danger:hover { background: rgba(255,80,80,0.08); }

/* Header actions responsivo */
.header-actions { position: relative; }

/* === CHECKOUT AUTH GATE === */
.checkout-auth-gate {
  background: rgba(5,11,23,0.6);
  border: 1px solid rgba(127,231,235,0.12);
  border-radius: 20px;
  padding: 36px 32px;
  margin: 0 auto 32px;
  max-width: 460px;
  width: 100%;
  text-align: center;
}
.checkout-auth-gate h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F5F9FC;
  margin-bottom: 8px;
}
.checkout-auth-gate p {
  font-size: 13.5px;
  color: rgba(245,249,252,0.60);
  margin: 0 auto 24px;
  line-height: 1.5;
  max-width: 380px;
}

/* Inputs e form do gate ficam centralizados com largura controlada */
.checkout-auth-gate .auth-field,
.checkout-auth-gate .auth-alert,
.checkout-auth-gate form {
  text-align: left;
}
.checkout-auth-gate .auth-input,
.checkout-auth-gate .auth-input-wrap {
  width: 100%;
}
.checkout-auth-gate .auth-divider,
.checkout-auth-gate .checkout-auth-tabs,
.checkout-auth-gate form,
.checkout-auth-gate > div[style*="display:flex"] {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.checkout-auth-tabs {
  display: flex;
  gap: 4px;
  background: rgba(5,11,23,0.6);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 28px;
}
.checkout-auth-tab {
  flex: 1;
  padding: 10px;
  border-radius: 9px;
  border: none;
  background: none;
  color: rgba(245,249,252,0.50);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.checkout-auth-tab.is-active {
  background: rgba(2,184,191,0.14);
  color: #7FE7EB;
  border: 1px solid rgba(2,184,191,0.20);
}
.checkout-auth-panel { display: none; }
.checkout-auth-panel.is-active { display: block; }

/* Indicador de progresso checkout */
.auth-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  max-width: 480px;
}
.auth-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.auth-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(127,231,235,0.20);
  color: rgba(245,249,252,0.45);
  font-size: 13px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.auth-step.is-active .auth-step-num {
  border-color: #02B8BF;
  background: rgba(2,184,191,0.14);
  color: #7FE7EB;
}
.auth-step.is-done .auth-step-num {
  border-color: #02B8BF;
  background: #02B8BF;
  color: #fff;
}
.auth-step-label {
  font-size: 13px;
  color: rgba(245,249,252,0.40);
}
.auth-step.is-active .auth-step-label { color: #F5F9FC; font-weight: 500; }
.auth-step.is-done .auth-step-label { color: rgba(245,249,252,0.60); }
.auth-step-line {
  flex: 1;
  height: 1px;
  background: rgba(127,231,235,0.12);
  margin: 0 10px;
}
.auth-step-line.is-done { background: rgba(2,184,191,0.40); }

/* Seção de checkout bloqueada */
.checkout-locked {
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
  filter: blur(2px);
  transition: all 0.4s;
}
.checkout-locked.is-unlocked {
  opacity: 1;
  pointer-events: all;
  filter: none;
}

/* === MOBILE === */
@media (max-width: 500px) {
  .auth-panel { padding: 32px 22px 28px; }
  .auth-title { font-size: 1.4rem; }
  .checkout-auth-gate { padding: 28px 20px; }
  .auth-steps { display: none; }
}

/* ============================================================
   LINK LEGAL — usados no checkbox de termos
   ============================================================ */
.auth-legal-link {
  color: var(--c-teal-2);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  cursor: pointer;
}
.auth-legal-link:hover {
  color: var(--c-teal);
  text-decoration: underline;
}

/* ============================================================
   MODAL LEGAL — TERMOS E PRIVACIDADE
   ============================================================ */

.legal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000; /* ACIMA do modal de auth */
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.legal-modal-overlay.is-open {
  display: flex;
  opacity: 1;
}

.legal-modal {
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  background: linear-gradient(180deg, #08111F 0%, #050B17 100%);
  border: 1px solid rgba(127, 231, 235, 0.18);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.6), 0 0 64px rgba(2, 184, 191, 0.08);
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.legal-modal-overlay.is-open .legal-modal {
  transform: scale(1);
}

.legal-modal-header {
  padding: 28px 32px 22px;
  border-bottom: 1px solid rgba(127, 231, 235, 0.10);
  position: relative;
  background: rgba(2, 184, 191, 0.03);
}

.legal-modal-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--c-teal-2);
  text-transform: uppercase;
  margin: 0 0 8px;
}

.legal-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--d-ink);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.legal-modal-meta {
  font-size: 12px;
  color: rgba(245, 249, 252, 0.45);
  margin: 8px 0 0;
}

.legal-modal-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(127, 231, 235, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--d-ink);
  font-size: 18px;
  font-weight: 300;
  transition: background 0.2s, transform 0.2s;
  line-height: 1;
}
.legal-modal-close:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: rotate(90deg);
}

.legal-modal-content {
  padding: 28px 32px;
  overflow-y: auto;
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--d-ink-2);
  scroll-behavior: smooth;
}

.legal-modal-content::-webkit-scrollbar {
  width: 6px;
}
.legal-modal-content::-webkit-scrollbar-track {
  background: rgba(127, 231, 235, 0.04);
}
.legal-modal-content::-webkit-scrollbar-thumb {
  background: rgba(127, 231, 235, 0.25);
  border-radius: 100px;
}
.legal-modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(127, 231, 235, 0.40);
}

.legal-modal-content h3 {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--c-teal-2);
  margin: 28px 0 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.legal-modal-content h3:first-child { margin-top: 0; }

.legal-modal-content p {
  margin: 0 0 12px;
}

.legal-modal-content strong {
  color: var(--d-ink);
  font-weight: 600;
}

.legal-modal-content ul {
  margin: 0 0 12px;
  padding-left: 22px;
}
.legal-modal-content li {
  margin: 0 0 6px;
}

.legal-modal-content em {
  color: rgba(245, 249, 252, 0.6);
  font-style: normal;
  font-size: 13px;
}

.legal-modal-footer {
  padding: 20px 32px;
  border-top: 1px solid rgba(127, 231, 235, 0.10);
  background: rgba(5, 11, 23, 0.6);
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.legal-modal-hint {
  font-size: 12px;
  color: rgba(245, 249, 252, 0.50);
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}

.legal-modal-accept {
  padding: 13px 28px;
  background: linear-gradient(135deg, #02D4DC 0%, #02888F 100%);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 24px rgba(2, 184, 191, 0.35);
  font-family: inherit;
  letter-spacing: 0.01em;
}
.legal-modal-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(2, 184, 191, 0.50);
}

/* Lock body scroll quando modal aberta */
body.legal-modal-open {
  overflow: hidden;
}

/* Responsivo */
@media (max-width: 560px) {
  .legal-modal-overlay { padding: 12px; }
  .legal-modal { max-height: 92vh; border-radius: 18px; }
  .legal-modal-header { padding: 22px 22px 18px; }
  .legal-modal-content { padding: 22px; font-size: 13.5px; }
  .legal-modal-footer { padding: 16px 22px; }
  .legal-modal-title { font-size: 20px; }
  .legal-modal-close { top: 16px; right: 18px; }
}
