/* assets/css/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #0f172a;
  /* Slate 900 */
  --bg-card: #1e293b;
  /* Slate 800 */
  --primary: #3b82f6;
  /* Blue 500 */
  --primary-hover: #2563eb;
  /* Blue 600 */
  --text-main: #f8fafc;
  /* Slate 50 */
  --text-muted: #94a3b8;
  /* Slate 400 */
  --accent: #8b5cf6;
  /* Violet 500 */
  --success: #10b981;
  /* Emerald 500 */
  --danger: #ef4444;
  /* Red 500 */
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  /* Mobile First Focus */
  overflow-x: hidden;
  max-width: 100vw;
  height: 100%;
}

/* Scrollbar invisível mas funcional para mobile experience */
::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

/* Utilitário para ocultar telas completas (Telas estilo SPA) */
.hidden-screen {
  display: none !important;
}

/* Animação Fade-In Padrão Otimizada */
.fade-in {
  animation: fadeIn 0.2s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Estilização específica do App */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  margin: 0 auto;
  max-width: 600px;
  position: relative;
  background-color: var(--bg-dark);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  background-color: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-around;
  padding: 1rem 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.nav-item {
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  gap: 0.25rem;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-item.active {
  color: var(--primary);
}

.glass-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom Checkbox CSS */
.check-item-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.status-pendente {
  border-left: 4px solid var(--primary);
}

.status-peguei {
  border-left: 4px solid var(--success);
  opacity: 0.6;
  text-decoration: line-through;
}

.status-falta {
  border-left: 4px solid var(--danger);
  opacity: 0.8;
}

/* Loader Spinner */
.loader {
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top: 3px solid var(--primary);
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Premium Gradient Text */
.text-premium {
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}