/* Linear / Raycast Obsidian Theme Styling */

/* Base Styles */
html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: #060709;
  color: #e2e8f0;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Linear / Obsidian Micro-Grid Background */
.obsidian-grid {
  background-size: 24px 24px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Custom Dev Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #060709;
}

::-webkit-scrollbar-thumb {
  background: #171b23;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #222834;
}

/* Obsidian Card & Tag Styles */
.linear-card {
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.linear-card:hover {
  border-color: #2f384a;
  background-color: #0f1218;
  transform: translateY(-1px);
}

.obsidian-tag {
  display: inline-flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.375rem;
  background-color: #11141a;
  border: 1px solid #1e2430;
  color: #cbd5e1;
  transition: all 0.15s ease;
}

.obsidian-tag:hover {
  border-color: #2f384a;
  color: #ffffff;
}

/* Filter Tabs */
.filter-tab {
  transition: all 0.15s ease;
}

.filter-tab.active {
  background-color: #171b23;
  color: #ffffff;
  border-color: #2f384a;
}

/* Raycast / Linear Command Palette Animation */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-scale-in {
  animation: scaleIn 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
