/* OPEN Atende — tema OPEN (paleta do novosite) sobre o Chatwoot v4 */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root, .dark {
  --slate-1: 23 31 42;  --slate-2: 27 37 50;  --slate-3: 34 46 61;  --slate-4: 40 53 70;
  --slate-5: 49 64 79;  --slate-6: 58 75 92;  --slate-7: 72 91 110; --slate-8: 96 116 136;
  --slate-9: 129 148 166; --slate-10: 150 167 184; --slate-11: 173 188 204; --slate-12: 240 245 250;
  --blue-1: 19 30 44;  --blue-2: 21 36 54;  --blue-3: 18 50 82;   --blue-4: 16 62 104;
  --blue-5: 16 75 125; --blue-6: 17 92 150; --blue-7: 16 108 176; --blue-8: 14 125 204;
  --blue-9: 13 143 230; --blue-10: 34 158 240; --blue-11: 63 177 255; --blue-12: 205 232 255;
  --background-color: 27 37 50;
  --solid-1: 31 42 56; --solid-2: 40 53 70; --solid-3: 49 64 79;
  --border-weak: 44 58 75; --border-strong: 58 75 92;
  --label-background: 40 53 70;
  --text-blue: 205 232 255;
}
html, body, #app { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
h1, h2, h3 { font-family: 'Space Grotesk', 'Inter', sans-serif; letter-spacing: -.02em; }
::selection { background: rgba(13,143,230,.35); }

/* ---------- Telas de entrada (login, recuperar senha) ---------- */
main.min-h-screen.py-20 {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 32px 16px !important; overflow: hidden;
  background:
    radial-gradient(520px 520px at 82% 12%, rgba(13,143,230,.22), transparent 70%),
    radial-gradient(420px 420px at 10% 92%, rgba(32,182,209,.10), transparent 70%),
    linear-gradient(rgba(150,180,210,.06) 1px, transparent 1px) 0 0 / 52px 52px,
    linear-gradient(90deg, rgba(150,180,210,.06) 1px, transparent 1px) 0 0 / 52px 52px,
    #1b2532 !important;
}
main.min-h-screen.py-20 > section {
  width: 100%; max-width: 440px !important; margin-left: auto !important; margin-right: auto !important;
  background: #283546 !important; border: 1px solid rgba(150,180,210,.16); box-shadow: none !important;
}
main.min-h-screen.py-20 > section:first-of-type {
  margin-top: 0 !important; margin-bottom: 0 !important; padding: 40px 40px 0;
  border-bottom: 0; border-radius: 16px 16px 0 0;
}
main.min-h-screen.py-20 > section:first-of-type + section {
  margin-top: 0 !important; margin-bottom: 0 !important; padding: 28px 40px 36px !important;
  border-top: 0; border-radius: 0 0 16px 16px !important;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55) !important;
}
main.min-h-screen.py-20 > section:first-of-type img {
  height: 46px !important; filter: brightness(0) invert(1);
}
main.min-h-screen.py-20 > section:first-of-type h2 {
  margin-top: 26px !important; font-size: 26px !important; line-height: 1.15 !important;
  font-weight: 700 !important; color: #f0f5fa !important;
}
main.min-h-screen.py-20 > section:first-of-type h2::after {
  content: 'Entre com sua conta para atender clientes e acompanhar as conversas.';
  display: block; margin-top: 10px; font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.5;
  font-weight: 400; letter-spacing: 0; color: #adbccc;
}
main.min-h-screen.py-20 label { color: #f0f5fa !important; font-weight: 600 !important; font-size: 13px !important; }
main.min-h-screen.py-20 input {
  background: #1f2a38 !important; border-radius: 11px !important; color: #f0f5fa !important;
  outline-color: rgba(150,180,210,.22) !important;
}
main.min-h-screen.py-20 input:focus { outline-color: #3fb1ff !important; }
main.min-h-screen.py-20 input::placeholder { color: #8194a6 !important; }
main.min-h-screen.py-20 form button[type="submit"] {
  background: linear-gradient(100deg, #0d8fe6, #20b6d1) !important; color: #fff !important;
  border-radius: 11px !important; font-weight: 600 !important; height: 46px !important; outline: 0 !important;
  box-shadow: 0 10px 24px -10px rgba(13,143,230,.7);
}
main.min-h-screen.py-20 form button[type="submit"]:hover { filter: brightness(1.08); }
main.min-h-screen.py-20 a.text-link, main.min-h-screen.py-20 a { color: #3fb1ff !important; }
main.min-h-screen.py-20::after {
  content: 'OPEN DATACENTER · CENTRAL DE ATENDIMENTO'; margin-top: 22px;
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .2em; color: #8194a6;
}
