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

:root {
  --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  font-family: var(--font-primary);
  -webkit-tap-highlight-color: transparent;
}

/* Transições Suaves */
body {
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Custom Checkbox */
.checkbox-custom:checked + div {
  background-color: #10b981;
  border-color: #10b981;
}

.checkbox-custom:checked + div svg {
  display: block;
}

/* Modo Mercado: Checkbox Grande de Toque Fácil */
.market-checkbox + div {
  width: 1.75rem !important;
  height: 1.75rem !important;
}

.market-checkbox + div svg {
  width: 1.1rem !important;
  height: 1.1rem !important;
}

/* Linha cortada quando comprado */
.item-bought {
  text-decoration: line-through;
  opacity: 0.55;
  transition: all 0.2s ease;
}

/* Scrollbar Minimalista */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.35);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.6);
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Sticky Footer no Modo Mercado */
.market-sticky-footer {
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
}
