@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap");

:root {
  font-family: "DM Sans", sans-serif;
  color: #fff;
  background: #050b1c;
}
body {
  min-width: 320px;
  margin: 0;
  background: radial-gradient(circle at 50% 0, #0d1d45, #050b1c 70%);
  font-family: "DM Sans", sans-serif;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #5aa2ff;
  outline-offset: 2px;
}
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  scrollbar-width: none;
}

@keyframes alertflash {
  0%,
  100% {
    background: transparent;
  }
  25%,
  75% {
    background: rgba(255, 255, 255, 0.85);
  }
  50% {
    background: rgba(255, 60, 60, 0.55);
  }
}
.alert-flash {
  animation: alertflash 0.7s ease-in-out 4;
}

/* Alto contraste */
.hc {
  background: #000 !important;
  color: #fff;
}
.hc .card-surface {
  background: #000 !important;
  border: 2px solid #fff !important;
  box-shadow: none !important;
}
.hc [class*="text-white/"] {
  color: #fff !important;
}
.hc [class*="border-white/"] {
  border-color: rgba(255, 255, 255, 0.75) !important;
}
.hc [class*="bg-gradient"] {
  background: #000 !important;
}
.hc [class*="bg-white/5"],
.hc [class*="bg-black/"] {
  background: #000 !important;
  outline: 1px solid #fff;
}
.hc button:focus-visible,
.hc a:focus-visible,
.hc input:focus-visible,
.hc textarea:focus-visible {
  outline: 4px solid #ffeb3b !important;
}

/* Texto em negrito */
.bold-text * {
  font-weight: 700 !important;
}

/* ---------- Responsivo ---------- */
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
#app {
  overflow-x: hidden;
}
#app svg {
  flex-shrink: 0;
}
/* Ícones que acompanham a largura da tela */
.wx-fluid {
  display: inline-block;
  line-height: 0;
}
.wx-fluid > svg {
  width: 100%;
  height: auto;
}
.ic-fluid {
  width: clamp(24px, 7.5vw, 30px);
  height: auto;
}
.nav-item svg {
  width: clamp(26px, 8.4vw, 36px);
  height: auto;
}
.nav-item {
  letter-spacing: -0.01em;
  white-space: nowrap;
}
/* Evita zoom automático do iOS ao focar campos */
input,
textarea {
  font-size: max(16px, 1em);
}
