/* ═══════════════════════════════════
   Mozlog — base.css
   Variáveis e estilos globais
═══════════════════════════════════ */

:root {
  --purple:   #7c3aed;
  --indigo:   #4f46e5;
  --green:    #10b981;
  --red:      #ef4444;
  --yellow:   #f59e0b;
  --bg:       #f5f6fa;
  --white:    #ffffff;
  --border:   #ebebf0;
  --text:     #1a1a2e;
  --muted:    #9ca3af;
  --font:     'Inter', sans-serif;
  --radius:   12px;
  --shadow:   0 2px 16px rgba(0,0,0,.07);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); font-size: 14px; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; }
input, select, textarea { font-family: var(--font); }

/* ── TOAST ── */
#toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #0f172a; color: #fff;
  padding: 11px 22px; border-radius: 50px;
  font-weight: 600; font-size: .82rem;
  z-index: 9999; opacity: 0;
  transition: all .3s; pointer-events: none; white-space: nowrap;
}
#toast.show {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

/* ── AUTH SCREEN LOADER ── */
#auth-screen {
  position: fixed; inset: 0; background: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; z-index: 9998;
}
#auth-screen .logo-row {
  display: flex; align-items: center; gap: 10px;
}
#auth-screen .logo-box {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--purple), var(--indigo));
  border-radius: 10px; display: flex;
  align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 1rem;
}
#auth-screen .logo-name {
  font-size: 1rem; font-weight: 700; color: var(--text);
}
#auth-screen .spinner {
  width: 28px; height: 28px;
  border: 3px solid #f0effe;
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
#auth-screen p { font-size: .78rem; color: var(--muted); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
