/* ============================================================
   main.css — Estilos globais do Assistente Virtual SINDSUPER/RN
   Variáveis, reset, layout base, animações e tipografia.
   ============================================================ */

:root {
  --wa-bg: #0b141a;
  --wa-panel: #111b21;
  --wa-header: #075e54;
  --wa-header2: #128c7e;
  --wa-light: #efeae2;
  --wa-bot: #ffffff;
  --wa-user: #dcf8c6;
  --wa-green: #25d366;
  --wa-green-dark: #128c7e;
  --wa-text: #111827;
  --muted: #667781;
  --yellow: #ffc83d;
  --danger: #e63946;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
}

/* Reset & Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(37,211,102,.11), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(18,140,126,.24), transparent 34%),
    linear-gradient(135deg, #071013 0%, #0b141a 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--wa-text);
}

/* Layout — página centralizada */
.page-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 10px 24px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animações */
@keyframes typing {
  0%, 80%, 100% { transform: translateY(0); opacity: .55; }
  40% { transform: translateY(-4px); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.4); }
  50%      { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Utilidade */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
