/* ===== AREA DE ACESSO DOS LOJISTAS (entrar.html) ===== */
.auth {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center;
  padding: 32px 16px 40px; gap: 20px;
}
.auth-brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  color: var(--text); font-family: var(--ff-display); font-size: 22px; letter-spacing: 0.3px;
}
.auth-mark {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--text); color: var(--bg); font-size: 22px;
}
.auth-card {
  width: 100%; max-width: 440px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 18px; padding: 8px 24px 26px;
  box-shadow: 0 16px 40px var(--shadow);
}
#vSession { padding-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--surface2); border-radius: 12px; padding: 4px; margin: 16px 0 22px;
}
.auth-tabs button {
  min-height: 42px; border: none; border-radius: 9px; background: transparent;
  color: var(--text2); font-size: 15px; font-weight: 700; cursor: pointer;
}
.auth-tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.auth-form, .auth-step { display: flex; flex-direction: column; gap: 16px; }
.auth-form[hidden], .auth-step[hidden] { display: none; }
.auth-title {
  font-family: var(--ff-display); font-weight: 400; font-size: 30px; line-height: 1.05;
  color: var(--text); text-wrap: balance;
}
.auth-lead { font-size: 15px; line-height: 1.5; color: var(--text2); margin-top: -8px; }
.auth .field-label { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--text); }
.auth .field-input { font-size: 16px; min-height: 48px; }
.auth .field-hint { font-size: 13px; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pass-wrap { position: relative; }
.pass-wrap .field-input { padding-right: 84px; }
.pass-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  min-height: 36px; padding: 0 10px; border: none; border-radius: 8px;
  background: transparent; color: var(--text2); font-size: 13px; font-weight: 700; cursor: pointer;
}
.pass-toggle:hover { background: var(--surface3); color: var(--text); }
.slug-field { display: flex; align-items: stretch; }
.slug-prefix {
  display: flex; align-items: center; padding: 0 10px; border: 1.5px solid var(--border); border-right: none;
  border-radius: 8px 0 0 8px; background: var(--surface3); color: var(--text2); font-size: 14px; white-space: nowrap;
}
.slug-field .field-input { border-radius: 0 8px 8px 0; }
.field-hint.ok { color: var(--green); font-weight: 600; }
.field-hint.bad { color: #FF6B6B; font-weight: 600; }
:root[data-theme="light"] .field-hint.bad { color: #B3261E; }
.auth-submit { width: 100%; justify-content: center; min-height: 50px; font-size: 16px; text-decoration: none; }
.auth-row { display: flex; gap: 10px; }
.auth-row .btn-secondary { min-height: 50px; padding: 0 18px; }
.auth-row .auth-submit { flex: 1; width: auto; }
.auth-error { color: #FF6B6B; font-size: 14px; font-weight: 600; min-height: 0; }
.auth-error:empty { display: none; }
:root[data-theme="light"] .auth-error { color: #B3261E; }
.auth-ok { background: var(--green2); color: var(--green); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; }
.auth-link {
  align-self: center; background: none; border: none; color: var(--text); cursor: pointer;
  font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 40px;
}
.auth-link.small { font-size: 13px; min-height: 0; align-self: auto; color: var(--text2); }
.auth-steps { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--muted); }
.steps-bar { flex: 1; height: 4px; border-radius: 2px; background: var(--surface3); overflow: hidden; }
.steps-bar i { display: block; height: 100%; width: 50%; background: var(--text); transition: width 0.25s; }
.auth-foot { font-size: 14px; color: var(--text2); text-align: center; }
.auth-foot a { color: var(--text); font-weight: 700; }
.auth-mode { font-size: 13px; color: var(--muted); text-align: center; max-width: 440px; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
@media (max-width: 480px) {
  .auth { padding-top: 20px; }
  .auth-card { padding: 6px 18px 22px; border-radius: 16px; }
}

/* ===== MARCA: nome + assinatura pequena embaixo ===== */
.brand-lock { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.brand-lock small { font-family: var(--ff-body); font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; text-transform: none; }