/* Pré-registro 5173 — paridade com frontend/web-static (Tailwind CDN gera classes que o build home-5173 não inclui) */

/* Área principal: pt-44 pb-20 + padding horizontal como sm:px-6 */
.pre-registro-5173-root .pr-pre-main {
  padding: 11rem 1rem 5rem;
}

@media (min-width: 640px) {
  .pre-registro-5173-root .pr-pre-main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.pre-registro-5173-root .pr-pre-column {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* Orbes de fundo (equivalente às classes arbitrárias do 5173) */
.pre-registro-5173-root .pr-glow {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

.pre-registro-5173-root .pr-glow-1 {
  top: 25%;
  left: -5rem;
  width: 20rem;
  height: 20rem;
  background: rgba(212, 175, 55, 0.08);
  filter: blur(100px);
}

.pre-registro-5173-root .pr-glow-2 {
  bottom: 33.333333%;
  right: -5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(212, 175, 55, 0.05);
  filter: blur(120px);
}

.pre-registro-5173-root .pr-glow-3 {
  top: 66.666667%;
  left: 33.333333%;
  width: 16rem;
  height: 16rem;
  background: rgba(30, 58, 138, 0.2);
  filter: blur(80px);
}

/* Logo cabeçalho = 64px desktop (5173); mobile continua 42px no media query abaixo */
.pre-registro-5173-root .pr-header-logo {
  height: 64px;
  width: auto;
}

/* Stepper */
.pre-registro-5173-root .step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s;
  border: 2px solid rgba(212, 175, 55, 0.3);
  color: rgba(212, 175, 55, 0.5);
}

.pre-registro-5173-root .step-circle.active {
  background: linear-gradient(135deg, #d4af37 0%, #f7e1ad 50%, #aa8b2c 100%);
  color: #050c18;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.pre-registro-5173-root .step-circle.done {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.5);
  color: #d4af37;
}

.pre-registro-5173-root .step-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
}

.pre-registro-5173-root .step-label.active {
  color: #d4af37;
}

.pre-registro-5173-root .step-line {
  flex: 1;
  height: 1px;
  background: rgba(212, 175, 55, 0.15);
  margin: 0 12px;
  margin-top: -18px;
}

.pre-registro-5173-root .gold-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(5, 12, 24, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  transition: all 0.2s;
  outline: none;
}

.pre-registro-5173-root .gold-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.pre-registro-5173-root .gold-input:focus {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.pre-registro-5173-root .code-input {
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
  font-weight: 700;
}

.pre-registro-5173-root .success-check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 2px solid rgba(212, 175, 55, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  animation: pr-pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pr-pop-in {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Utilitários Tailwind ausentes no home-5173-tailwind-built.css */
.pre-registro-5173-root .max-w-lg {
  max-width: 32rem;
}

.pre-registro-5173-root .border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.pre-registro-5173-root .border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.pre-registro-5173-root .border-metallic-gold\/10 {
  border-color: rgba(212, 175, 55, 0.1);
}

.pre-registro-5173-root .border-metallic-gold\/15 {
  border-color: rgba(212, 175, 55, 0.15);
}

.pre-registro-5173-root .border-metallic-gold\/20 {
  border-color: rgba(212, 175, 55, 0.2);
}

.pre-registro-5173-root .border-metallic-gold\/25 {
  border-color: rgba(212, 175, 55, 0.25);
}

.pre-registro-5173-root .border-metallic-gold\/30 {
  border-color: rgba(212, 175, 55, 0.3);
}

.pre-registro-5173-root .bg-metallic-gold\/15 {
  background-color: rgba(212, 175, 55, 0.15);
}

.pre-registro-5173-root .text-white\/70 {
  color: rgba(255, 255, 255, 0.7);
}

.pre-registro-5173-root .items-start {
  align-items: flex-start;
}

.pre-registro-5173-root .mt-2 {
  margin-top: 0.5rem;
}

.pre-registro-5173-root .mt-6 {
  margin-top: 1.5rem;
}

.pre-registro-5173-root .mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.pre-registro-5173-root .mb-3 {
  margin-bottom: 0.75rem;
}

.pre-registro-5173-root .py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.pre-registro-5173-root .space-y-5 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1.25rem;
}

.pre-registro-5173-root .w-11 {
  width: 2.75rem;
}

.pre-registro-5173-root .h-11 {
  height: 2.75rem;
}

.pre-registro-5173-root .rounded-xl {
  border-radius: 0.75rem;
}

@media (min-width: 768px) {
  .pre-registro-5173-root .md\:p-10 {
    padding: 2.5rem;
  }
}

.pre-registro-5173-root .accent-yellow-400 {
  accent-color: #facc15;
}

.pre-registro-5173-root .pt-1 {
  padding-top: 0.25rem;
}

@media (min-width: 640px) {
  .pre-registro-5173-root .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Botões dourados: evitar estilos do Bootstrap (borda, fundo branco) */
.pre-registro-5173-root button.btn-gold,
.pre-registro-5173-root a.btn-gold {
  border: none;
  text-decoration: none;
  box-sizing: border-box;
}

.pre-registro-5173-root button.btn-gold:hover,
.pre-registro-5173-root a.btn-gold:hover {
  color: #050c18;
}

/* Checkbox: borda visível */
.pre-registro-5173-root #terms-check {
  border: 1px solid rgba(212, 175, 55, 0.35);
  background-color: #050c18;
}

/* Modal idiomas: botão fechar hover */
.pre-registro-5173-root .hover\:text-metallic-gold:hover {
  color: #d4af37;
}

@media (max-width: 900px) {
  .pre-registro-5173-root header > div {
    padding: 0.9rem 1rem !important;
  }

  .pre-registro-5173-root header img[data-i18n='logoAlt'],
  .pre-registro-5173-root header .pr-header-logo {
    height: 42px !important;
  }

  .pre-registro-5173-root header button[aria-label='Menu'] {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.18);
  }

  .pre-registro-5173-root header button[aria-label='Menu'] svg {
    width: 24px;
    height: 24px;
  }
}

/* Senha com botão olho */
.pre-registro-5173-root .pr-password-input-wrap {
  position: relative;
}

.pre-registro-5173-root .pr-password-input-wrap .gold-input {
  padding-right: 3rem;
}

.pre-registro-5173-root .pr-password-toggle {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 0.65rem;
  background: rgba(212, 175, 55, 0.12);
  color: rgba(245, 247, 251, 0.85);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.pre-registro-5173-root .pr-password-toggle:hover {
  background: rgba(212, 175, 55, 0.22);
  color: #f2d57a;
}

/* Modal diagnóstico API */
.pre-registro-5173-root .pr-api-debug-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.pre-registro-5173-root .pr-api-debug-modal.hidden {
  display: none;
}

.pre-registro-5173-root .pr-api-debug-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 24, 0.85);
  backdrop-filter: blur(6px);
}

.pre-registro-5173-root .pr-api-debug-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 42rem;
  max-height: 90vh;
  overflow: auto;
  background: linear-gradient(165deg, rgba(15, 28, 52, 0.98) 0%, rgba(5, 12, 24, 0.99) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem 1.5rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.pre-registro-5173-root .pr-api-debug-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pre-registro-5173-root .pr-api-debug-title {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f2d57a;
}

.pre-registro-5173-root .pr-api-debug-x {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}

.pre-registro-5173-root .pr-api-debug-x:hover {
  color: #d4af37;
}

.pre-registro-5173-root .pr-api-debug-summary {
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0 0 1rem;
  color: #e2e8f0;
}

.pre-registro-5173-root .pr-api-debug-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(212, 175, 55, 0.75);
  margin: 0.75rem 0 0.35rem;
}

.pre-registro-5173-root .pr-api-debug-pre {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 0.75rem;
  color: #cbd5e1;
  max-height: 12rem;
  overflow: auto;
}

.pre-registro-5173-root .pr-api-debug-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: flex-end;
}
