/* Login — formulário centralizado */

body.page-login {
  min-height: 100vh;
}

body.page-login .bg-field::before {
  opacity: 0.32;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
  align-content: center;
  margin: 0 auto;
  padding: 32px 24px;
  box-sizing: border-box;
}

.login-card {
  min-width: 0;
  max-width: none;
  align-self: stretch;
  display: flex;
  border-radius: 24px;
  background:
    linear-gradient(165deg, rgba(2, 241, 254, 0.1) 0%, transparent 36%),
    var(--bg-panel);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.login-card-inner {
  padding: 36px 42px 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-card-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.login-card-brand img {
  height: 44px;
  filter: drop-shadow(0 0 12px rgba(2, 241, 254, 0.45));
}

.login-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.login-card-brand h1 {
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.login-live-dot {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--vegas-bright);
}

.login-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vegas-bright);
  margin-bottom: 6px;
}

.login-card h2 {
  font-size: 28px;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}

.login-sub {
  font-size: 13.5px;
  margin: 0 0 22px;
  line-height: 1.55;
  max-width: 36em;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-login .login-form .field input {
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 14.5px;
}

.page-login .login-form .field input:focus {
  border-color: var(--vegas);
  background: rgba(2, 241, 254, 0.08);
  box-shadow: 0 0 0 4px rgba(2, 241, 254, 0.14);
}

.login-pass-wrap {
  position: relative;
}

.login-pass-wrap input {
  width: 100%;
  padding-right: 92px !important;
}

.login-pass-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.login-pass-toggle:hover {
  color: #fff;
  background: rgba(2, 241, 254, 0.22);
}

.login-submit {
  margin-top: 6px;
  min-height: 50px;
  border-radius: 14px;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.login-submit.is-busy,
.login-submit.is-busy:disabled {
  opacity: 1;
  background: #02F1FE;
  color: #000000;
  cursor: wait;
  font-size: 13.5px;
}

.login-status {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
  padding: 12px 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(2, 241, 254, 0.28);
  background: rgba(0, 10, 27, 0.55);
}

.login-status[hidden] {
  display: none;
}

.login-status-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
}

.login-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #02F1FE;
  box-shadow: 0 0 10px #02F1FE;
  animation: loginPulse 1.2s ease-in-out infinite;
}

.login-status-label {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.login-status-track {
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.login-status-fill {
  display: block;
  height: 100%;
  width: 8%;
  border-radius: inherit;
  background: #02F1FE;
  transition: width 0.6s ease;
}

.login-status-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-status-steps li {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  line-height: 1.35;
}

.login-status-steps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.login-status-steps li.is-done {
  color: rgba(255, 255, 255, 0.72);
}

.login-status-steps li.is-done::before {
  background: #02F1FE;
}

.login-status-steps li.is-current {
  color: #fff;
  font-weight: 600;
}

.login-status-steps li.is-current::before {
  background: #02F1FE;
  box-shadow: 0 0 8px #02F1FE;
}

.login-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.login-trust span {
  position: relative;
  padding-left: 14px;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.login-trust span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vegas);
  box-shadow: 0 0 8px var(--vegas);
}

.login-actions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.login-actions-hint {
  margin: 0 0 2px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.login-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.login-action-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.login-action-cadastro {
  border: 1px solid #02F1FE;
  background: #02F1FE;
  color: #000000;
}

.login-action-cadastro:hover {
  background: #02F1FE;
  border-color: #02F1FE;
  color: #000000;
  transform: translateY(-1px);
}

.login-action-assinatura {
  border: 1px solid #02F1FE;
  background: #02F1FE;
  color: #000000;
}

.login-action-assinatura:hover {
  background: #02F1FE;
  border-color: #02F1FE;
  box-shadow: 0 0 22px rgba(2, 241, 254, 0.28);
  color: #000000;
  transform: translateY(-1px);
}

.login-action-suporte {
  border: 1px solid rgba(37, 211, 102, 0.45);
  background: #25D366;
  color: #083318;
}

.login-action-suporte:hover {
  background: #2ee075;
  box-shadow: 0 0 22px rgba(37, 211, 102, 0.35);
  color: #04210f;
  transform: translateY(-1px);
}

.vegas-signup-cta {
  display: none;
}

@keyframes loginPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}

body.offer-locked {
  overflow: hidden;
}

.offer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 16px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(2, 241, 254, 0.22), transparent 62%),
    rgba(4, 2, 10, 0.78);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.offer-overlay.open {
  pointer-events: auto;
}

.offer-overlay.is-visible {
  opacity: 1;
}

.offer-overlay[hidden] {
  display: none !important;
}

.offer-modal {
  position: relative;
  width: min(440px, 100%);
  padding: 32px 28px 26px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(165deg, rgba(2, 241, 254, 0.16) 0%, transparent 42%),
    rgba(16, 10, 24, 0.96);
  border: 1px solid rgba(2, 241, 254, 0.38);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 50px rgba(2, 241, 254, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.offer-glow {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 241, 254, 0.35), transparent 68%);
  pointer-events: none;
}

.offer-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.offer-close:hover {
  background: rgba(2, 241, 254, 0.28);
  color: #fff;
}

.offer-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(2, 241, 254, 0.28);
  border: 1px solid rgba(2, 241, 254, 0.45);
}

.offer-title {
  margin: 0 0 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.offer-lead {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.offer-perks {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offer-perks li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
}

.offer-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vegas-bright);
  box-shadow: 0 0 10px var(--vegas-bright);
}

.offer-cta {
  min-height: 52px;
  font-size: 15.5px;
  text-decoration: none;
}

.offer-foot {
  margin: 14px 0 0;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 900px) {
  .login-shell {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 14px 28px;
  }

  .login-card {
    display: block;
  }

  .login-card-inner {
    padding: 24px 18px 22px;
  }

  .login-card h2 {
    font-size: 24px;
  }
}
