/* Reset e base */
* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { font-family: 'Sora', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

/* Override do .hidden quando combinado com .flex */
.hidden { display: none !important; }
.hidden.flex { display: none !important; }

/* Highlight: brilho pulsante suave (substitui o animate-pulse cru do Tailwind) */
.highlight-glow {
  position: relative;
  animation: pulse-glow 2.4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 202, 74, 0.55),
                0 4px 16px rgba(0, 202, 74, 0.25);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(0, 202, 74, 0),
                0 6px 22px rgba(0, 202, 74, 0.45);
  }
}

/* Modal: entrada com fade + scale */
.modal-enter {
  animation: modal-in 0.22s ease-out;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Garante que select tenha aparência consistente em iOS */
select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

/* Avatar com leve halo */
#profile img {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04), 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Scrollbar discreta */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(148, 163, 184, 0.25); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(148, 163, 184, 0.4); }
