/* Custom Base & Cyber Aesthetic Styles */
@layer base {
  * {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }
  input, textarea, select {
    user-select: text;
  }
}

body {
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  background-color: #0B0D17;
  color: #E2E8F0;
}

/* Glassmorphic Cyber Panels */
.cyber-glass {
  background: rgba(16, 20, 36, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Tab & Chip styling */
.tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.2), rgba(138, 43, 226, 0.25));
  color: #00F5D4;
  border: 1px solid rgba(0, 245, 212, 0.35);
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.15);
}

.filter-chip.active {
  background: rgba(0, 245, 212, 0.18);
  color: #00F5D4;
  border-color: rgba(0, 245, 212, 0.4);
}

/* Task Checkbox Animation */
.cyber-checkbox {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cyber-checkbox:checked {
  background: linear-gradient(135deg, #00F5D4, #8A2BE2);
  border-color: #00F5D4;
  box-shadow: 0 0 10px rgba(0, 245, 212, 0.5);
}

.cyber-checkbox:checked::before {
  content: "✓";
  font-size: 13px;
  font-weight: 900;
  color: #000;
}

/* Animations */
@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  60% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-scale-up {
  animation: scaleUp 0.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-bounce-in {
  animation: bounceIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Custom Scrollbar for list panels */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 245, 212, 0.4);
}