/*
 * Base: azzeramento degli stili del browser, elementi HTML e animazioni condivise.
 */

/* ── Reset ed elementi ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; }
body {
  height: 100%;
  font-family: "Manrope", sans-serif;
  overflow: hidden;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  background: #eef1f6;
  color: var(--slate-100);
}
button { font-family: inherit; cursor: pointer; border: none; }
button:disabled { cursor: not-allowed; opacity: 0.4; }
input, select, textarea { font-family: inherit; }
a { text-decoration: none; color: var(--primary); }

/* ── Animazioni ── */
@keyframes mini-spin { to { transform: rotate(360deg); } }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseIcon {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 50px rgba(56,189,248,0.5); }
  50% { transform: scale(1.04); box-shadow: 0 18px 60px rgba(56,189,248,0.7); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes structIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes glow {
  from { box-shadow: 0 0 12px rgba(56,189,248,0.0); }
  to { box-shadow: 0 0 28px rgba(56,189,248,0.25); }
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
@keyframes toastIn {
  from { opacity:0; transform: translateX(20px) translateY(-8px) scale(0.96); }
  to { opacity:1; transform: translateX(0) translateY(0) scale(1); }
}
@keyframes toastOut {
  to { opacity:0; transform: translateX(40px); }
}
@keyframes emptyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes modalBgIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
