/* Tela de entrar / criar conta do Photoboo Web (só no modo produto). */
body.auth-locked { overflow: hidden; }

.auth-gate {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 1fr);
  background: #000; overflow-y: auto; user-select: text;
}
.auth-side { align-self: center; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 22px; margin: 32px 24px; width: min(420px, calc(100% - 32px)); }
.auth-logo { display: flex; align-items: center; gap: 14px; }
.auth-logo img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 8px 28px rgba(232,194,106,.18); }
.auth-logo strong { display: block; font-family: "Instrument Serif", serif; font-weight: 400; font-size: 46px; line-height: .95; letter-spacing: -.02em; color: #fff; }
.auth-logo span { display: block; margin-top: 4px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .22em; }

/* Lado dos vídeos de exemplo (antes → depois) */
.auth-show { position: relative; min-height: 100vh; overflow: hidden; background: #000; }
.auth-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; } /* preso no topo: se cortar, corta os pés, nunca a cabeça */
.auth-show::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 70%),
              linear-gradient(to right, rgba(0,0,0,0) 70%, #000 100%);
}
.auth-tag { position: absolute; top: 20px; right: 20px; z-index: 2; padding: 7px 13px; border-radius: 999px; background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(6px); }
.auth-tag.after { background: rgba(232,194,106,.92); color: var(--accent-ink); border-color: transparent; }
.auth-show-copy { position: absolute; left: clamp(24px, 5vw, 64px); right: 24px; bottom: clamp(28px, 6vh, 64px); z-index: 1; }
.auth-kicker { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .2em; margin-bottom: 12px; }
.auth-show-copy h2 { font-family: "Instrument Serif", serif; font-weight: 400; font-size: clamp(38px, 4.4vw, 64px); line-height: 1; letter-spacing: -.02em; color: #fff; }
.auth-show-copy h2 em { color: var(--accent); }
.auth-show-copy ul { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.auth-show-copy li b { color: #fff; font-weight: 700; }
.auth-show-copy li { color: #d9d3c6; font-size: 15px; padding-left: 18px; position: relative; }
.auth-show-copy li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

@media (max-width: 860px) {
  .auth-gate { grid-template-columns: 1fr; }
  .auth-show { min-height: 0; height: 46vh; }
  .auth-show::after { background: linear-gradient(to top, #000 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,0) 75%); }
  .auth-show-copy h2 { font-size: 38px; }
  .auth-show-copy ul { display: none; }
  .auth-side { margin: -8px auto 32px; }
  .auth-logo strong { font-size: 38px; }
}
.auth-card {
  width: 100%;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px 24px; box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.auth-card h1 { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 34px; line-height: 1.05; letter-spacing: -.015em; }
.auth-sub { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 8px 0 20px; }

#auth-form { display: flex; flex-direction: column; gap: 14px; }
#auth-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
#auth-form input {
  background: #0f0f12; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 16px; color: var(--ink); outline: none;
}
#auth-form input:focus { border-color: var(--accent); }
#auth-form input[name=code] { letter-spacing: .4em; font-size: 22px; text-align: center; }
.auth-captcha { min-height: 65px; }
.auth-error { color: #ff9b8a; font-size: 14px; line-height: 1.4; }
.auth-submit { width: 100%; margin-top: 4px; }
.auth-submit:disabled { opacity: .6; cursor: wait; }

.auth-links { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.auth-links a { color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-links a:hover { text-decoration: underline; }

.account-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px;
  border-radius: 999px; background: #fff; border: 1px solid #ded5c5; color: #40372a; font-size: 13px; white-space: nowrap;
}
.account-email { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.account-out { padding: 6px 12px; border-radius: 999px; background: #f1ead9; color: #5b4a26; font-weight: 700; font-size: 12px; }

@media (max-width: 700px) {
  .account-email { display: none; }
}
