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

:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --secondary: #0284c7;
  --accent: #f59e0b;
  --dark: #0f172a;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
}

/* Glassmorphism effects */
.glass-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Resin Code Badges */
.resin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.875rem;
}

.resin-pet { background-color: #dbeafe; color: #1d4ed8; border: 2px solid #3b82f6; }
.resin-pe { background-color: #dcfce7; color: #15803d; border: 2px solid #22c55e; }
.resin-hdpe { background-color: #dcfce7; color: #15803d; border: 2px solid #22c55e; }
.resin-pvc { background-color: #fee2e2; color: #b91c1c; border: 2px solid #ef4444; }
.resin-ldpe { background-color: #fef3c7; color: #b45309; border: 2px solid #f59e0b; }
.resin-pp { background-color: #f3e8ff; color: #7e22ce; border: 2px solid #a855f7; }
.resin-ps { background-color: #ffedd5; color: #c2410c; border: 2px solid #f97316; }
.resin-pc { background-color: #e0f2fe; color: #0369a1; border: 2px solid #0284c7; }
.resin-others { background-color: #f1f5f9; color: #475569; border: 2px solid #94a3b8; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Animations */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.95; transform: scale(1.02); }
}

.animate-pulse-subtle {
  animation: pulse-subtle 3s infinite ease-in-out;
}

/* Drag and Drop Zone */
.drop-zone--over {
  border-color: #10b981 !important;
  background-color: #ecfdf5 !important;
}

/* Chart Container Heights */
.chart-container {
  position: relative;
  width: 100%;
}
