@import "tailwindcss";

@layer base {
  body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.055) 1px, transparent 1px),
        radial-gradient(rgba(15, 23, 42, 0.09) 1.5px, transparent 0),
        radial-gradient(rgba(15, 23, 42, 0.09) 1.5px, transparent 0);
    background-size: 64px 64px, 64px 64px, 32px 32px, 32px 32px;
    background-position: -1px -1px, -1px -1px, -1px -1px, 15px 15px;
    color: #0f172a;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Hide background blob circles completely so net-canvas grid is 100% crisp */
.glow-orb {
  display: none !important;
}

/* Custom Utilities for LEP Design System */
.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

/* Dark Sidebar Custom Styling */
.sidebar-dark {
  background-color: #0b132b !important;
  color: #ffffff !important;
}

aside.sidebar-dark {
  height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
}

/* Compact Process Stage Select */
.process-stage-select-sm {
  font-size: 10px !important;
  height: 24px !important;
  max-width: 90px !important;
  padding: 1px 4px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  overflow: hidden !important;
}

.kanban-board-grid {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-behavior: smooth;
}



.kanban-board-vertical {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


/* Opaque Kanban Column Containers for High Contrast */
.kanban-column-compact {
  min-width: 240px;
  max-width: 290px;
  flex: 1 1 0%;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(203, 213, 225, 0.9) !important;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05) !important;
}

/* Permanent Compact Drop Target Zone */
.kanban-drop-zone-compact {
  border: 2px dashed #cbd5e1;
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  background-color: rgba(248, 250, 252, 0.8);
  transition: all 0.2s ease;
  user-select: none;
}

.kanban-drop-zone-compact:hover,
.drag-over .kanban-drop-zone-compact {
  border-color: #00D2FF !important;
  color: #0284c7 !important;
  background-color: rgba(224, 242, 254, 0.6) !important;
}


/* --- DASHBOARD COMPACT VIEW (FIT 90% SCALING) --- */
@media (min-width: 1024px) {
    #app-shell main {
        zoom: 90%;
    }
}

.kanban-column-compact {
    flex: 1 1 0% !important;
    min-width: 200px !important;
    max-width: 285px !important;
}
