/* ==============================================
   PEDIDOLINK - BASE / RESET
   ============================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-root);
  color: var(--text-1);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-sans);
  cursor: pointer;
}

input, select, textarea {
  font-family: var(--font-sans);
}

img {
  display: block;
}

/* Ícones SVG inline */
svg.icon,
.nav-item-icon svg,
.row-btn svg,
.search-icon svg,
.kanban-col-search-icon svg,
.metric-icon svg,
.metric-trend svg,
.toast-icon svg,
.topbar-new-caret svg,
.btn svg,
.empty-state-icon svg,
.ped-wpp svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ── Scrollbar ── */
::-webkit-scrollbar        { width: 5px; height: 5px; }
::-webkit-scrollbar-track  { background: transparent; }
::-webkit-scrollbar-thumb  { background: var(--bg-hover); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--bg-active); }

/* ── Selection ── */
::selection {
  background: var(--brand-glow);
  color: var(--brand-light);
}

/* ── Focus ring ── */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
