/* Import existing custom styles first */
h1 { font-family: Arial, Helvetica, sans-serif; }
/* Recurrence Badge */
.recurrence-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  font-size: 0.65rem;
  font-weight: 500;
  border-radius: 9999px;
  background-color: rgba(var(--color-accent-rgb, 16, 185, 129), 0.1);
  color: var(--color-accent, #10B981);
  cursor: help;
}
.recurrence-badge i {
  font-size: 0.6rem;
}
/* Recurring task card subtle indicator */
.task-recurring {
  position: relative;
}
.task-recurring::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent, #10B981), transparent);
  border-radius: 8px 8px 0 0;
  opacity: 0.6;
}
/* Recurrence section in modal */
.recurrence-section {
  margin-top: 1rem;
}
/* Weekday toggle buttons */
.weekday-toggle {
  display: inline-block;
}
.weekday-toggle .weekday-checkbox:checked + span {
  background-color: var(--color-accent, #10B981);
  color: white;
  border-color: var(--color-accent, #10B981);
}
.weekday-toggle span:hover {
  background-color: rgba(var(--color-accent-rgb, 16, 185, 129), 0.1);
}
.weekday-toggle .weekday-checkbox:checked + span:hover {
  background-color: var(--color-accent-hover, #059669);
}
/* Recurrence preview */
#recurrence-preview {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
/* Dark mode adjustments for recurrence */
.dark .recurrence-badge {
  background-color: rgba(var(--color-accent-rgb, 16, 185, 129), 0.2);
}
.dark .task-recurring::before {
  opacity: 0.4;
}
/* Animation for recurring icon */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.recurrence-badge i {
  animation: pulse-subtle 3s ease-in-out infinite;
}
/* Undo/Redo Toast Button */
.toast-undo-btn {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.toast-undo-btn:hover {
  text-decoration: none;
}
/* Undo/Redo Header Buttons */
#undo-btn,
#redo-btn {
  transition: all 0.15s ease;
}
#undo-btn:not(:disabled):hover,
#redo-btn:not(:disabled):hover {
  color: var(--color-accent, #10B981);
}
#undo-btn:not(:disabled):active,
#redo-btn:not(:disabled):active {
  transform: scale(0.95);
}
/* ===================================
   Performance Optimization Styles
   =================================== */
/* Virtual Scroll Spacer - invisible padding elements */
.virtual-scroll-spacer {
  pointer-events: none;
  visibility: hidden;
}
/* Virtual scroll container styles */
[data-virtual-scroll="true"] .column-content {
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}
/* Optimistic task indicator - subtle pulse while syncing */
.task-card[data-task-id^="temp_"] {
  opacity: 0.85;
  animation: optimisticPulse 1.5s ease-in-out infinite;
}
@keyframes optimisticPulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.95; }
}
/* Performance indicator in column header (bolt icon) */
.fa-bolt {
  animation: boltFlash 2s ease-in-out infinite;
}
@keyframes boltFlash {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
/* Loading skeleton for lazy loaded content */
.skeleton-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: 4px;
}
.dark .skeleton-loading {
  background: linear-gradient(90deg, #374151 25%, #4b5563 50%, #374151 75%);
  background-size: 200% 100%;
}
@keyframes skeletonShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
/* Lazy loading placeholder for task details */
.lazy-load-placeholder {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}
/* Sync indicator for offline mode */
.sync-pending-indicator {
  position: relative;
}
.sync-pending-indicator::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: #F59E0B;
  border-radius: 50%;
  animation: syncPending 1s ease-in-out infinite;
}
@keyframes syncPending {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
/* Performance monitor overlay (dev mode) */
.perf-monitor {
  position: fixed;
  bottom: 60px;
  right: 16px;
  background: rgba(0, 0, 0, 0.8);
  color: #10B981;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: monospace;
  font-size: 11px;
  z-index: 9999;
  display: none;
}
.perf-monitor.visible {
  display: block;
}
.perf-monitor-value {
  font-weight: bold;
  margin-left: 4px;
}
/* Batch request indicator */
.request-batch-indicator {
  position: fixed;
  bottom: 16px;
  left: 16px;
  background: rgba(59, 130, 246, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.request-batch-indicator.active {
  opacity: 1;
}
/* Smooth scroll behavior for virtual scrolling */
.column-content-wrapper {
  scroll-behavior: smooth;
}
/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .task-card[data-task-id^="temp_"],
  .fa-bolt,
  .skeleton-loading,
  .sync-pending-indicator::after {
    animation: none;
  }
  
  .column-content-wrapper {
    scroll-behavior: auto;
  }
}
/* ===================================
   Error Handling & Recovery Styles
   =================================== */
/* Error Boundary Overlay */
#error-boundary {
  display: none;
}
.error-boundary-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: errorBoundaryFadeIn 0.3s ease;
  padding: 16px;
}
@keyframes errorBoundaryFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.error-boundary-content {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  animation: errorBoundarySlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dark .error-boundary-content {
  background: #1f2937;
}
@keyframes errorBoundarySlideIn {
  from { 
    opacity: 0; 
    transform: scale(0.9) translateY(-20px);
  }
  to { 
    opacity: 1; 
    transform: scale(1) translateY(0);
  }
}
.error-boundary-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.error-boundary-icon i {
  font-size: 36px;
  color: #DC2626;
}
.dark .error-boundary-icon {
  background: linear-gradient(135deg, #7F1D1D 0%, #991B1B 100%);
}
.dark .error-boundary-icon i {
  color: #FCA5A5;
}
.error-boundary-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}
.dark .error-boundary-title {
  color: #F9FAFB;
}
.error-boundary-message {
  font-size: 15px;
  color: #4B5563;
  margin-bottom: 8px;
  line-height: 1.5;
}
.dark .error-boundary-message {
  color: #9CA3AF;
}
.error-boundary-suggestion {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 28px;
}
.dark .error-boundary-suggestion {
  color: #9CA3AF;
}
.error-boundary-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.error-boundary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  min-width: 140px;
}
.error-boundary-btn.primary {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.error-boundary-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}
.error-boundary-btn.secondary {
  background: #F3F4F6;
  color: #374151;
}
.dark .error-boundary-btn.secondary {
  background: #374151;
  color: #E5E7EB;
}
.error-boundary-btn.secondary:hover {
  background: #E5E7EB;
}
.dark .error-boundary-btn.secondary:hover {
  background: #4B5563;
}
.error-boundary-details {
  text-align: left;
  border-top: 1px solid #E5E7EB;
  padding-top: 16px;
  margin-top: 8px;
}
.dark .error-boundary-details {
  border-top-color: #374151;
}
.error-boundary-details summary {
  font-size: 13px;
  color: #6B7280;
  cursor: pointer;
  padding: 8px 0;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.error-boundary-details summary:hover {
  color: #374151;
}
.dark .error-boundary-details summary:hover {
  color: #D1D5DB;
}
.error-boundary-tech {
  margin-top: 12px;
  padding: 12px;
  background: #F9FAFB;
  border-radius: 8px;
  font-family: monospace;
  font-size: 12px;
  color: #6B7280;
  line-height: 1.6;
}
.dark .error-boundary-tech {
  background: #111827;
  color: #9CA3AF;
}
.error-boundary-tech p {
  margin: 4px 0;
  word-break: break-all;
}
.error-boundary-tech strong {
  color: #374151;
}
.dark .error-boundary-tech strong {
  color: #E5E7EB;
}
/* Toast action buttons */
.toast-action-btn {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}
.toast-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}
.toast-action-btn:active {
  transform: scale(0.98);
}
/* Conflict Resolution Modal */
.conflict-resolution-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
}
.conflict-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.2s ease;
}
.conflict-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 16px;
  padding: 28px;
  max-width: 600px;
  width: calc(100% - 32px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  animation: dialogIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dark .conflict-modal-content {
  background: #1f2937;
}
.conflict-modal-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.dark .conflict-modal-title {
  color: #F9FAFB;
}
.conflict-modal-desc {
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 24px;
  line-height: 1.5;
}
.dark .conflict-modal-desc {
  color: #9CA3AF;
}
.conflict-versions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 540px) {
  .conflict-versions {
    flex-direction: column;
  }
  
  .conflict-version-divider {
    display: none;
  }
}
.conflict-version {
  flex: 1;
  padding: 16px;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.dark .conflict-version {
  border-color: #374151;
}
.conflict-version:hover {
  border-color: #10B981;
  background: rgba(16, 185, 129, 0.05);
}
.conflict-version-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 8px;
}
.conflict-version-header i {
  color: #6B7280;
}
.conflict-version.local .conflict-version-header i {
  color: #3B82F6;
}
.conflict-version.server .conflict-version-header i {
  color: #10B981;
}
.conflict-version-time {
  font-size: 12px;
  color: #9CA3AF;
  margin-bottom: 12px;
}
.conflict-version-preview {
  font-size: 13px;
  color: #4B5563;
  padding: 12px;
  background: #F9FAFB;
  border-radius: 8px;
  margin-bottom: 16px;
}
.dark .conflict-version-preview {
  background: #111827;
  color: #D1D5DB;
}
.preview-field {
  margin-bottom: 4px;
}
.preview-field:last-child {
  margin-bottom: 0;
}
.conflict-version-btn {
  width: 100%;
  padding: 10px 16px;
  background: #F3F4F6;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
}
.dark .conflict-version-btn {
  background: #374151;
  color: #E5E7EB;
}
.conflict-version:hover .conflict-version-btn {
  background: #10B981;
  color: white;
}
.conflict-version-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}
.conflict-version-divider span {
  color: #9CA3AF;
  font-size: 12px;
  font-weight: 600;
}
.conflict-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #E5E7EB;
}
.dark .conflict-modal-actions {
  border-top-color: #374151;
}
.conflict-merge-btn {
  padding: 10px 20px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1D4ED8;
  cursor: pointer;
  transition: all 0.15s ease;
}
.conflict-merge-btn:hover {
  background: #DBEAFE;
}
.dark .conflict-merge-btn {
  background: #1E3A8A;
  border-color: #1E40AF;
  color: #93C5FD;
}
.dark .conflict-merge-btn:hover {
  background: #1E40AF;
}
.conflict-cancel-btn {
  padding: 10px 20px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.15s ease;
}
.conflict-cancel-btn:hover {
  background: #F3F4F6;
  color: #374151;
}
.dark .conflict-cancel-btn:hover {
  background: #374151;
  color: #E5E7EB;
}
/* Retry indicator animation */
@keyframes retryPulse {
  0%, 100% { 
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
  }
  50% { 
    box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
  }
}
.retrying {
  animation: retryPulse 1.5s ease-in-out infinite;
}
/* Network status indicator */
.network-status-indicator {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.network-status-indicator.visible {
  opacity: 1;
  pointer-events: auto;
}
.network-status-indicator.online {
  background: rgba(16, 185, 129, 0.9);
}
.network-status-indicator.offline {
  background: rgba(239, 68, 68, 0.9);
}
.network-status-indicator i {
  font-size: 14px;
}
/* Sync status badge */
.sync-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
}
.sync-status-badge.syncing {
  background: rgba(59, 130, 246, 0.1);
  color: #2563EB;
}
.sync-status-badge.syncing i {
  animation: spin 1s linear infinite;
}
.sync-status-badge.synced {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}
.sync-status-badge.error {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
}
.sync-status-badge.pending {
  background: rgba(245, 158, 11, 0.1);
  color: #D97706;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* Offline mode styling adjustments */
body.offline-mode .task-card {
  border-style: dashed;
}
body.offline-mode .task-card::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background: #F59E0B;
  border-radius: 50%;
}
/* Error toast with recovery */
.toast.recoverable {
  padding-bottom: 8px;
}
.toast-recovery-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
/* Custom scrollbar - vertical only for columns */
.column-content-wrapper::-webkit-scrollbar {
  width: 6px;
}
.column-content-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.column-content-wrapper::-webkit-scrollbar-thumb {
  background: #9CA3AF;
  border-radius: 3px;
}
.dark .column-content-wrapper::-webkit-scrollbar-thumb {
  background: #4B5563;
}
/* Global scrollbar styling */
:root {
  --scrollbar-track: #E5E7EB;
  --scrollbar-thumb: #9CA3AF;
  --scrollbar-thumb-hover: #6B7280;
}
.dark {
  --scrollbar-track: #111827;
  --scrollbar-thumb: #4B5563;
  --scrollbar-thumb-hover: #9CA3AF;
}
* {
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}
*::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
  border-radius: 9999px;
  border: 2px solid var(--scrollbar-track);
}
*::-webkit-scrollbar-thumb:hover {
  background-color: var(--scrollbar-thumb-hover);
}
/* Hide native horizontal scrollbar on board view */
#board-view {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
#board-view::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
/* Custom bottom scrollbar */
.board-scrollbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
  z-index: 30;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.board-scrollbar.visible {
  opacity: 1;
  pointer-events: auto;
}
.board-scrollbar-track {
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 8px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}
.dark .board-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}
.board-scrollbar-thumb {
  position: absolute;
  height: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  cursor: grab;
  transition: background 0.15s ease;
  min-width: 40px;
}
.board-scrollbar-thumb:hover,
.board-scrollbar-thumb.dragging {
  background: rgba(0, 0, 0, 0.5);
}
.dark .board-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
}
.dark .board-scrollbar-thumb:hover,
.dark .board-scrollbar-thumb.dragging {
  background: rgba(255, 255, 255, 0.5);
}
.board-scrollbar-thumb.dragging {
  cursor: grabbing;
}
/* Task Drag styles */
.dragging {
  opacity: 0.4 !important;
  transform: rotate(3deg) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  z-index: 1000;
}
.drag-over {
  background-color: rgba(16, 185, 129, 0.15);
  border-radius: 8px;
}
.drop-placeholder {
  background-color: rgba(16, 185, 129, 0.3);
  border: 2px dashed #10B981;
  border-radius: 8px;
  height: 60px;
  margin: 4px 0;
  transition: all 0.2s ease;
}
/* Column Drag styles */
.dragging-column {
  opacity: 0.4 !important;
  transform: rotate(2deg) scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  z-index: 1000;
}
/* Column drop indicators */
[data-column-id] {
  position: relative;
  transition: transform 0.15s ease;
}
.column-drag-left {
  transform: translateX(6px);
}
.column-drag-left::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #10B981;
  border-radius: 2px;
  z-index: 10;
}
.column-drag-right {
  transform: translateX(-6px);
}
.column-drag-right::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #10B981;
  border-radius: 2px;
  z-index: 10;
}
/* Drop zone at end of columns */
.column-drop-end {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10B981 !important;
}
.column-drop-end button {
  border-color: #10B981 !important;
  color: #10B981 !important;
}
/* Drag handles - hidden by default, shown on hover */
.drag-handle {
  opacity: 0;
  transition: opacity 0.15s ease;
  cursor: grab;
}
.drag-handle:active {
  cursor: grabbing;
}
/* Show drag handle on card/column hover */
.task-card:hover .drag-handle,
.column-header:hover .drag-handle {
  opacity: 1;
}
/* Task card cursor */
.task-card {
  cursor: pointer;
}
.task-card:hover {
  cursor: grab;
}
.task-card.dragging {
  cursor: grabbing;
}
/* Column header cursor */
.column-header {
  cursor: grab;
}
.column-header:active {
  cursor: grabbing;
}
/* Transitions */
.task-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease, z-index 0s;
  position: relative;
  z-index: 1;
}
.task-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  z-index: 10;
}
.task-card:hover .archive-btn {
  opacity: 0.5;
}
.task-card:hover .archive-btn:hover {
  opacity: 1;
}
.dark .task-card:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}
/* Due Date Indicators */
.task-card.task-overdue {
  border-left: 3px solid #EF4444;
}
.task-card.task-due-today {
  border-left: 3px solid #F59E0B;
}
.task-card.task-due-tomorrow {
  border-left: 3px solid #EAB308;
}
.task-card.task-due-soon {
  border-left: 3px solid #3B82F6;
}
.due-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}
.due-date-badge.overdue {
  background: #FEE2E2;
  color: #DC2626;
}
.dark .due-date-badge.overdue {
  background: rgba(239, 68, 68, 0.2);
  color: #FCA5A5;
}
.due-date-badge.due-today {
  background: #FEF3C7;
  color: #D97706;
}
.dark .due-date-badge.due-today {
  background: rgba(245, 158, 11, 0.2);
  color: #FCD34D;
}
.due-date-badge.due-tomorrow {
  background: #FEF9C3;
  color: #CA8A04;
}
.dark .due-date-badge.due-tomorrow {
  background: rgba(234, 179, 8, 0.2);
  color: #FDE047;
}
.due-date-badge.due-soon {
  background: #DBEAFE;
  color: #2563EB;
}
.dark .due-date-badge.due-soon {
  background: rgba(59, 130, 246, 0.2);
  color: #93C5FD;
}
.due-date-badge.no-urgency {
  background: #F3F4F6;
  color: #6B7280;
}
.dark .due-date-badge.no-urgency {
  background: rgba(107, 114, 128, 0.2);
  color: #9CA3AF;
}
/* Overdue count badge in header */
.overdue-badge {
  background: #EF4444;
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  animation: pulse-subtle 2s infinite;
}
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
/* Column content - allow cards to overflow on hover */
.column-content {
  overflow: visible !important;
  padding-top: 8px;
}
/* Column wrapper needs overflow visible too */
.column {
  overflow: visible;
}
/* Column header needs higher z-index to stay above non-hovered cards but below hovered ones */
.column-header {
  position: relative;
  z-index: 5;
  background: inherit;
}
/* Modal animation - smooth scale + fade */
.modal-backdrop {
  animation: modalBackdropIn 0.2s ease-out;
}
.modal-backdrop.closing {
  animation: modalBackdropOut 0.15s ease-in forwards;
}
.modal-content {
  animation: modalContentIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-content.closing {
  animation: modalContentOut 0.15s ease-in forwards;
}
@keyframes modalBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalBackdropOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
/* Dialog animations for flex-centered modals (no translate positioning) */
@keyframes dialogIn {
  from { 
    opacity: 0; 
    transform: scale(0.95) translateY(-10px);
  }
  to { 
    opacity: 1; 
    transform: scale(1) translateY(0);
  }
}
@keyframes dialogOut {
  from { 
    opacity: 1; 
    transform: scale(1) translateY(0);
  }
  to { 
    opacity: 0; 
    transform: scale(0.95) translateY(-10px);
  }
}
@keyframes modalContentIn {
  from { 
    opacity: 0; 
    transform: translate(-50%, -50%) scale(0.9);
  }
  to { 
    opacity: 1; 
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes modalContentOut {
  from { 
    opacity: 1; 
    transform: translate(-50%, -50%) scale(1);
  }
  to { 
    opacity: 0; 
    transform: translate(-50%, -50%) scale(0.9);
  }
}
/* Mobile modal animation (no translate centering) */
@media (max-width: 639px) {
  .modal-content {
    animation: modalContentInMobile 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .modal-content.closing {
    animation: modalContentOutMobile 0.15s ease-in forwards;
  }
  @keyframes modalContentInMobile {
    from { 
      opacity: 0; 
      transform: scale(0.95) translateY(10px);
    }
    to { 
      opacity: 1; 
      transform: scale(1) translateY(0);
    }
  }
  @keyframes modalContentOutMobile {
    from { 
      opacity: 1; 
      transform: scale(1) translateY(0);
    }
    to { 
      opacity: 0; 
      transform: scale(0.95) translateY(10px);
    }
  }
}
/* Column scroll container */
.column {
  max-height: calc(100vh - 160px);
}
.column-content-wrapper {
  max-height: calc(100vh - 220px);
  overflow-y: auto;
  overflow-x: visible;
  padding: 8px 0;
}
/* Priority badges */
.priority-high { background-color: #FEE2E2; color: #991B1B; }
.priority-medium { background-color: #FEF3C7; color: #92400E; }
.priority-low { background-color: #DBEAFE; color: #1E40AF; }
.dark .priority-high { background-color: #7F1D1D; color: #FCA5A5; }
.dark .priority-medium { background-color: #78350F; color: #FCD34D; }
.dark .priority-low { background-color: #1E3A8A; color: #93C5FD; }
/* Due date badges */
.due-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 500;
}
.due-date-badge i {
  font-size: 0.65rem;
}
.due-date-badge.overdue {
  background-color: #FEE2E2;
  color: #DC2626;
}
.due-date-badge.due-today {
  background-color: #FEF3C7;
  color: #D97706;
}
.due-date-badge.due-tomorrow {
  background-color: #FEF9C3;
  color: #CA8A04;
}
.due-date-badge.due-soon {
  background-color: #DBEAFE;
  color: #2563EB;
}
.due-date-badge.no-urgency {
  background-color: #F3F4F6;
  color: #6B7280;
}
.dark .due-date-badge.overdue {
  background-color: #7F1D1D;
  color: #FCA5A5;
}
.dark .due-date-badge.due-today {
  background-color: #78350F;
  color: #FCD34D;
}
.dark .due-date-badge.due-tomorrow {
  background-color: #713F12;
  color: #FDE047;
}
.dark .due-date-badge.due-soon {
  background-color: #1E3A8A;
  color: #93C5FD;
}
.dark .due-date-badge.no-urgency {
  background-color: #374151;
  color: #9CA3AF;
}
/* Task card due date indicators */
.task-card.task-overdue {
  border-left: 3px solid #DC2626 !important;
}
.task-card.task-due-today {
  border-left: 3px solid #D97706 !important;
}
.task-card.task-due-tomorrow {
  border-left: 3px solid #CA8A04 !important;
}
.task-card.task-due-soon {
  border-left: 3px solid #2563EB !important;
}
/* Overdue count badge in header */
.overdue-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.65rem;
  font-weight: 600;
  background-color: #DC2626;
  color: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-badge 2s infinite;
}
@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
/* Global Search */
.global-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  z-index: 9999;
  animation: fadeIn 0.15s ease;
}
.global-search {
  width: 100%;
  max-width: 640px;
  max-height: 80vh;
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: dialogIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: 0 16px;
}
.dark .global-search {
  background: #1f2937;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.global-search-header {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  gap: 12px;
}
.dark .global-search-header {
  border-bottom-color: #374151;
}
.global-search-header i {
  color: #9ca3af;
  font-size: 18px;
}
.global-search-header input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  color: #111827;
}
.dark .global-search-header input {
  color: #f9fafb;
}
.global-search-header input::-moz-placeholder {
  color: #9ca3af;
}
.global-search-header input::placeholder {
  color: #9ca3af;
}
.global-search-filters {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  overflow-x: auto;
  flex-wrap: wrap;
}
.dark .global-search-filters {
  border-bottom-color: #374151;
}
.search-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f3f4f6;
  border: 1px solid transparent;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.search-filter-chip:hover {
  background: #e5e7eb;
}
.dark .search-filter-chip {
  background: #374151;
  color: #e5e7eb;
}
.dark .search-filter-chip:hover {
  background: #4b5563;
}
.search-filter-chip.active {
  background: #10B981;
  color: white;
  border-color: #10B981;
}
.search-filter-chip.active:hover {
  background: #059669;
}
.search-filter-chip i {
  font-size: 11px;
}
.global-search-results {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}
.search-result-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}
.search-result-item:hover {
  background: #f3f4f6;
}
.dark .search-result-item:hover {
  background: #374151;
}
.search-result-item.selected {
  background: #e5e7eb;
}
.dark .search-result-item.selected {
  background: #4b5563;
}
.search-result-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.dark .search-result-icon {
  background: #374151;
}
.search-result-content {
  flex: 1;
  min-width: 0;
}
.search-result-title {
  font-weight: 500;
  color: #111827;
  margin-bottom: 4px;
}
.dark .search-result-title {
  color: #f9fafb;
}
.search-result-title mark {
  background: #FEF08A;
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}
.dark .search-result-title mark {
  background: #854D0E;
}
.search-result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
}
.search-result-meta .project-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  background: #e5e7eb;
  border-radius: 4px;
}
.dark .search-result-meta .project-badge {
  background: #374151;
}
.search-result-priority {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.search-result-priority.high { background: #EF4444; }
.search-result-priority.medium { background: #F59E0B; }
.search-result-priority.low { background: #3B82F6; }
.global-search-empty {
  padding: 48px 24px;
  text-align: center;
  color: #9ca3af;
}
.global-search-empty i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}
.global-search-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid #e5e7eb;
  font-size: 12px;
  color: #9ca3af;
}
.dark .global-search-footer {
  border-top-color: #374151;
}
.global-search-footer kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  background: #f3f4f6;
  border-radius: 4px;
  font-family: monospace;
  font-size: 11px;
}
.dark .global-search-footer kbd {
  background: #374151;
}
/* Command Palette */
.command-palette-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  z-index: 100;
  animation: fadeIn 0.15s ease;
}
.command-palette {
  width: 100%;
  max-width: 560px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: dialogIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dark .command-palette {
  background: #1f2937;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.command-palette-input-container {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  gap: 12px;
}
.dark .command-palette-input-container {
  border-bottom-color: #374151;
}
.command-palette-input-container i {
  color: #9ca3af;
  font-size: 18px;
}
.command-palette-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  color: #111827;
}
.dark .command-palette-input {
  color: #f3f4f6;
}
.command-palette-input::-moz-placeholder {
  color: #9ca3af;
}
.command-palette-input::placeholder {
  color: #9ca3af;
}
.command-palette-shortcut {
  font-size: 11px;
  padding: 4px 8px;
  background: #f3f4f6;
  border-radius: 6px;
  color: #6b7280;
  font-family: monospace;
}
.dark .command-palette-shortcut {
  background: #374151;
  color: #9ca3af;
}
.command-palette-results {
  max-height: 400px;
  overflow-y: auto;
}
.command-palette-section {
  padding: 8px 0;
}
.command-palette-section-title {
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
}
.dark .command-palette-section-title {
  color: #9ca3af;
}
.command-palette-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background-color 0.1s;
}
.command-palette-item:hover,
.command-palette-item.selected {
  background: #f3f4f6;
}
.dark .command-palette-item:hover,
.dark .command-palette-item.selected {
  background: #374151;
}
.command-palette-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.command-palette-item-icon.action {
  background: #dbeafe;
  color: #2563eb;
}
.dark .command-palette-item-icon.action {
  background: #1e3a8a;
  color: #93c5fd;
}
.command-palette-item-icon.project {
  background: #d1fae5;
  color: #059669;
}
.dark .command-palette-item-icon.project {
  background: #064e3b;
  color: #6ee7b7;
}
.command-palette-item-icon.task {
  background: #fef3c7;
  color: #d97706;
}
.dark .command-palette-item-icon.task {
  background: #78350f;
  color: #fcd34d;
}
.command-palette-item-icon.nav {
  background: #f3e8ff;
  color: #9333ea;
}
.dark .command-palette-item-icon.nav {
  background: #581c87;
  color: #d8b4fe;
}
.command-palette-item-content {
  flex: 1;
  min-width: 0;
}
.command-palette-item-title {
  font-weight: 500;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dark .command-palette-item-title {
  color: #f3f4f6;
}
.command-palette-item-subtitle {
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dark .command-palette-item-subtitle {
  color: #9ca3af;
}
.command-palette-item-shortcut {
  font-size: 11px;
  color: #9ca3af;
  font-family: monospace;
}
.command-palette-footer {
  padding: 12px 16px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #6b7280;
}
.dark .command-palette-footer {
  border-top-color: #374151;
  color: #9ca3af;
}
.command-palette-footer span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.command-palette-footer kbd {
  padding: 2px 6px;
  background: #f3f4f6;
  border-radius: 4px;
  font-family: monospace;
  font-size: 11px;
}
.dark .command-palette-footer kbd {
  background: #374151;
}
.command-palette-empty {
  padding: 32px 16px;
  text-align: center;
  color: #6b7280;
}
.dark .command-palette-empty {
  color: #9ca3af;
}
.command-palette-hint {
  margin-top: 8px;
  font-size: 12px;
  color: #9ca3af;
}
/* Toast notifications */
.toast {
  animation: toastIn 0.3s ease;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}
/* Offline indicator */
.offline-banner {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
/* Horizontal scroll indicators - gradient fade edges */
.scroll-indicator {
  position: absolute;
  top: 0;
  bottom: 20px; /* Account for scrollbar area */
  width: 60px;
  pointer-events: none;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.scroll-indicator.visible {
  opacity: 1;
}
.scroll-indicator-left {
  left: 0;
  background: linear-gradient(to right, 
    rgba(243, 244, 246, 0.95) 0%, 
    rgba(243, 244, 246, 0.7) 30%,
    rgba(243, 244, 246, 0) 100%);
}
.scroll-indicator-right {
  right: 0;
  background: linear-gradient(to left, 
    rgba(243, 244, 246, 0.95) 0%, 
    rgba(243, 244, 246, 0.7) 30%,
    rgba(243, 244, 246, 0) 100%);
}
.dark .scroll-indicator-left {
  background: linear-gradient(to right, 
    rgba(17, 24, 39, 0.95) 0%, 
    rgba(17, 24, 39, 0.7) 30%,
    rgba(17, 24, 39, 0) 100%);
}
.dark .scroll-indicator-right {
  background: linear-gradient(to left, 
    rgba(17, 24, 39, 0.95) 0%, 
    rgba(17, 24, 39, 0.7) 30%,
    rgba(17, 24, 39, 0) 100%);
}
/* Subtle arrow hint on scroll indicators */
.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border: 2px solid rgba(107, 114, 128, 0.4);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.scroll-indicator.visible::after {
  opacity: 1;
}
.scroll-indicator-left::after {
  left: 12px;
  border-right: none;
  border-top: none;
  transform: translateY(-50%) rotate(45deg);
}
.scroll-indicator-right::after {
  right: 12px;
  border-left: none;
  border-bottom: none;
  transform: translateY(-50%) rotate(45deg);
}
.dark .scroll-indicator::after {
  border-color: rgba(156, 163, 175, 0.4);
}
/* User menu dropdown */
#user-menu-dropdown {
  transform-origin: top right;
  animation: dropdownIn 0.15s ease-out;
}
@keyframes dropdownIn {
  from { 
    opacity: 0; 
    transform: scale(0.95) translateY(-4px); 
  }
  to { 
    opacity: 1; 
    transform: scale(1) translateY(0); 
  }
}
#user-menu-dropdown.closing {
  animation: dropdownOut 0.1s ease-in forwards;
}
@keyframes dropdownOut {
  from { 
    opacity: 1; 
    transform: scale(1) translateY(0); 
  }
  to { 
    opacity: 0; 
    transform: scale(0.95) translateY(-4px); 
  }
}
/* Custom Date Picker */
.date-picker-container {
  position: relative;
}
.date-picker-input {
  cursor: pointer;
}
.date-picker-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  z-index: 100;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 12px;
  min-width: 280px;
  animation: datePickerIn 0.15s ease-out;
}
.dark .date-picker-dropdown {
  background: #1f2937;
  border-color: #374151;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
@keyframes datePickerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Modal-style Date Picker (centered overlay) */
.date-picker-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease;
}
.date-picker-modal {
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  padding: 24px;
  min-width: 340px;
  animation: dialogIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dark .date-picker-modal {
  background: #1f2937;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}
.date-picker-modal .date-picker-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
}
.date-picker-modal .date-picker-month-year {
  font-size: 18px;
}
.date-picker-modal .date-picker-nav button {
  width: 36px;
  height: 36px;
}
.date-picker-modal .date-picker-weekday {
  font-size: 13px;
  padding: 8px;
}
.date-picker-modal .date-picker-day {
  width: 44px;
  height: 44px;
  font-size: 15px;
  border-radius: 10px;
}
.date-picker-modal .date-picker-footer {
  margin-top: 16px;
  padding-top: 12px;
}
.date-picker-modal .date-picker-footer button {
  font-size: 14px;
  padding: 10px 20px;
}
.date-picker-modal-title {
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 16px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dark .date-picker-modal-title {
  color: #9ca3af;
}
.date-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}
.dark .date-picker-header {
  border-bottom-color: #374151;
}
.date-picker-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.date-picker-nav button {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #6b7280;
  transition: all 0.15s;
}
.date-picker-nav button:hover {
  background: #f3f4f6;
  color: #111827;
}
.dark .date-picker-nav button:hover {
  background: #374151;
  color: #f9fafb;
}
.date-picker-month-year {
  font-weight: 600;
  font-size: 14px;
}
.date-picker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 4px;
}
.date-picker-weekday {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
  padding: 4px;
}
.date-picker-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.date-picker-day {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}
.date-picker-day:hover:not(.disabled):not(.selected) {
  background: #f3f4f6;
}
.dark .date-picker-day:hover:not(.disabled):not(.selected) {
  background: #374151;
}
.date-picker-day.other-month {
  color: #d1d5db;
}
.dark .date-picker-day.other-month {
  color: #4b5563;
}
.date-picker-day.today {
  border: 2px solid #10B981;
  font-weight: 600;
}
.date-picker-day.selected {
  background: #10B981;
  color: white;
  font-weight: 600;
}
.date-picker-day.disabled {
  color: #d1d5db;
  cursor: not-allowed;
}
.dark .date-picker-day.disabled {
  color: #4b5563;
}
.date-picker-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
}
.dark .date-picker-footer {
  border-top-color: #374151;
}
.date-picker-footer button {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.15s;
}
.date-picker-clear {
  color: #6b7280;
}
.date-picker-clear:hover {
  background: #f3f4f6;
  color: #111827;
}
.dark .date-picker-clear:hover {
  background: #374151;
  color: #f9fafb;
}
.date-picker-today {
  color: #10B981;
  font-weight: 500;
}
.date-picker-today:hover {
  background: rgba(16, 185, 129, 0.1);
}
/* Custom Select Dropdown */
.custom-select {
  position: relative;
  display: inline-block;
}
.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 12px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  min-width: 120px;
  transition: all 0.15s;
}
.custom-select-trigger:hover {
  border-color: #9ca3af;
}
.custom-select-trigger:focus {
  outline: none;
  border-color: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.dark .custom-select-trigger {
  background: #374151;
  border-color: #4b5563;
  color: #f9fafb;
}
.dark .custom-select-trigger:hover {
  border-color: #6b7280;
}
.custom-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 100;
  max-height: 240px;
  overflow-y: auto;
  animation: selectDropdownIn 0.15s ease-out;
}
.dark .custom-select-dropdown {
  background: #1f2937;
  border-color: #374151;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
@keyframes selectDropdownIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.custom-select-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.1s;
}
.custom-select-option:first-child {
  border-radius: 8px 8px 0 0;
}
.custom-select-option:last-child {
  border-radius: 0 0 8px 8px;
}
.custom-select-option:hover {
  background: #f3f4f6;
}
.dark .custom-select-option:hover {
  background: #374151;
}
.custom-select-option.selected {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
}
.custom-select-option.selected::before {
  content: '✓';
  font-size: 12px;
  margin-right: 4px;
}
/* Custom Select in Modal - full width */
.modal-content .custom-select {
  display: block;
  width: 100%;
}
.modal-content .custom-select-trigger {
  width: 100%;
  padding: 10px 12px;
  min-width: unset;
}
.modal-content .custom-select-dropdown {
  max-height: 200px;
}
/* Priority options with color indicators */
.custom-select-option[data-value="high"]::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  margin-left: auto;
}
.custom-select-option[data-value="medium"]::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F59E0B;
  margin-left: auto;
}
.custom-select-option[data-value="low"]::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3B82F6;
  margin-left: auto;
}
/* Custom Dialog/Modal */
.custom-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: modalBackdropIn 0.2s ease-out;
}
.custom-dialog {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
  margin: 16px;
  animation: dialogIn 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.dark .custom-dialog {
  background: #1f2937;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
@keyframes dialogIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes dialogOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.9); }
}
.custom-dialog-header {
  padding: 20px 20px 0;
}
.custom-dialog-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.custom-dialog-message {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}
.dark .custom-dialog-message {
  color: #9ca3af;
}
.custom-dialog-body {
  padding: 16px 20px;
}
.custom-dialog-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.15s;
}
.custom-dialog-input:focus {
  outline: none;
  border-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.dark .custom-dialog-input {
  background: #374151;
  border-color: #4b5563;
  color: #f9fafb;
}
.custom-dialog-footer {
  padding: 16px 20px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.custom-dialog-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.custom-dialog-btn-secondary {
  background: #f3f4f6;
  color: #374151;
}
.custom-dialog-btn-secondary:hover {
  background: #e5e7eb;
}
.dark .custom-dialog-btn-secondary {
  background: #374151;
  color: #f9fafb;
}
.dark .custom-dialog-btn-secondary:hover {
  background: #4b5563;
}
.custom-dialog-btn-primary {
  background: #10B981;
  color: white;
}
.custom-dialog-btn-primary:hover {
  background: #059669;
}
.custom-dialog-btn-danger {
  background: #EF4444;
  color: white;
}
.custom-dialog-btn-danger:hover {
  background: #DC2626;
}
/* Hide native select arrow */
.native-select-hidden {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
}
/* Project Switcher */
.project-switcher {
  position: relative;
}
.project-switcher-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
}
.project-switcher-btn:hover {
  background: #f3f4f6;
}
.dark .project-switcher-btn:hover {
  background: #374151;
}
.project-switcher-btn.open {
  background: #f3f4f6;
  border-color: #e5e7eb;
}
.dark .project-switcher-btn.open {
  background: #374151;
  border-color: #4b5563;
}
.project-icon {
  font-size: 20px;
  line-height: 1;
}
.project-name {
  font-weight: 600;
  font-size: 15px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-switcher-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  width: 280px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 100;
  animation: dropdownIn 0.15s ease-out;
  overflow: hidden;
}
.dark .project-switcher-dropdown {
  background: #1f2937;
  border-color: #374151;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.project-search {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
}
.dark .project-search {
  border-bottom-color: #374151;
}
.project-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  background: #f9fafb;
}
.project-search input:focus {
  outline: none;
  border-color: #10B981;
  background: white;
}
.dark .project-search input {
  background: #374151;
  border-color: #4b5563;
  color: #f9fafb;
}
.dark .project-search input:focus {
  background: #1f2937;
}
.project-list {
  max-height: 240px;
  overflow-y: auto;
  padding: 8px;
}
.project-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.1s;
}
.project-item:hover {
  background: #f3f4f6;
}
.dark .project-item:hover {
  background: #374151;
}
.project-item.active {
  background: rgba(16, 185, 129, 0.1);
}
.project-item-icon {
  font-size: 18px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.project-item-name {
  flex: 1;
  font-weight: 500;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.project-item-check {
  color: #10B981;
  font-size: 12px;
}
.project-actions {
  padding: 8px;
  border-top: 1px solid #e5e7eb;
}
.dark .project-actions {
  border-top-color: #374151;
}
.project-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #6b7280;
  transition: all 0.1s;
}
.project-action-btn:hover {
  background: #f3f4f6;
  color: #111827;
}
.dark .project-action-btn {
  color: #9ca3af;
}
.dark .project-action-btn:hover {
  background: #374151;
  color: #f9fafb;
}
.project-action-btn.primary {
  color: #10B981;
}
.project-action-btn.primary:hover {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}
/* Emoji Picker */
.emoji-picker-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  padding: 8px;
  max-height: 200px;
  overflow-y: auto;
}
.emoji-picker-item {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.1s;
}
.emoji-picker-item:hover {
  background: #f3f4f6;
}
.dark .emoji-picker-item:hover {
  background: #374151;
}
.emoji-picker-item.selected {
  background: rgba(16, 185, 129, 0.2);
}
/* Color Picker */
.color-picker-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.color-picker-item {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  border: 2px solid transparent;
}
.color-picker-item:hover {
  transform: scale(1.1);
}
.color-picker-item.selected {
  border-color: #111827;
  box-shadow: 0 0 0 2px white;
}
.dark .color-picker-item.selected {
  border-color: white;
  box-shadow: 0 0 0 2px #1f2937;
}
/* Compact picker styles for combined layout */
.emoji-picker-grid.compact {
  grid-template-columns: repeat(4, 1fr);
  max-height: none;
  padding: 6px;
  background: #f9fafb;
  border-radius: 8px;
}
.dark .emoji-picker-grid.compact {
  background: #374151;
}
.color-picker-grid.compact {
  flex-direction: column;
  flex-wrap: wrap;
  max-height: 140px;
  padding: 6px;
  background: #f9fafb;
  border-radius: 8px;
  gap: 6px;
}
.dark .color-picker-grid.compact {
  background: #374151;
}
/* Background Picker */
.bg-picker-section {
  margin-bottom: 12px;
}
.bg-picker-section:last-child {
  margin-bottom: 0;
}
.bg-picker-label {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dark .bg-picker-label {
  color: #9ca3af;
}
.bg-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.bg-picker-item {
  height: 48px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 2px solid transparent;
  position: relative;
}
.bg-picker-item:hover {
  transform: scale(1.05);
}
.bg-picker-item.selected {
  border-color: #10B981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}
.bg-picker-item.solid {
  border: 2px solid #e5e7eb;
}
.dark .bg-picker-item.solid {
  border-color: #4b5563;
}
.bg-picker-item.solid.selected {
  border-color: #10B981;
}
/* Board gradient background class */
.board-gradient-bg {
  background-attachment: fixed;
}
/* Template Picker */
.template-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.template-card {
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  background: #f9fafb;
}
.dark .template-card {
  border-color: #4b5563;
  background: #374151;
}
.template-card:hover {
  border-color: #d1d5db;
  background: #f3f4f6;
}
.dark .template-card:hover {
  border-color: #6b7280;
  background: #4b5563;
}
.template-card.selected {
  border-color: #10B981;
  background: rgba(16, 185, 129, 0.1);
}
.dark .template-card.selected {
  background: rgba(16, 185, 129, 0.15);
}
.template-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.template-card-icon {
  font-size: 16px;
}
.template-card-name {
  font-weight: 600;
  font-size: 14px;
}
.template-card-desc {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}
.dark .template-card-desc {
  color: #9ca3af;
}
.template-card-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.template-column-pill {
  font-size: 10px;
  padding: 2px 6px;
  background: #e5e7eb;
  border-radius: 4px;
  color: #4b5563;
}
.dark .template-column-pill {
  background: #4b5563;
  color: #d1d5db;
}
.template-column-pill.empty {
  font-style: italic;
  color: #9ca3af;
}
.dark .template-column-pill.empty {
  color: #6b7280;
}
/* Bulk Actions Bar */
#bulk-actions-bar {
  animation: slideUp 0.2s ease-out;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
#bulk-actions-bar.hidden {
  display: none;
}
/* Selected task styling - subtle background only, border handled in main.css */
.task-card.border-accent {
  background-color: rgba(16, 185, 129, 0.03);
}
.dark .task-card.border-accent {
  background-color: rgba(16, 185, 129, 0.08);
}
/* Bulk select checkbox */
.bulk-select-checkbox {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background-color: transparent;
  border: 2px solid #9ca3af;
  transition: all 0.15s ease;
  position: relative;
  flex-shrink: 0;
}
.bulk-select-checkbox:hover {
  border-color: #10B981;
}
.bulk-select-checkbox:checked {
  background-color: #10B981;
  border-color: #10B981;
}
.bulk-select-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.bulk-select-checkbox:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.dark .bulk-select-checkbox {
  border-color: #6b7280;
  background-color: transparent;
}
.dark .bulk-select-checkbox:hover {
  border-color: #10B981;
}
.dark .bulk-select-checkbox:checked {
  background-color: #10B981;
  border-color: #10B981;
}
/* Hide checkbox in board view by default, show on hover */
#board-view .bulk-select-checkbox {
  opacity: 0;
  transition: opacity 0.15s ease;
}
#board-view .task-card:hover .bulk-select-checkbox {
  opacity: 1;
}
/* Always show checkbox in list view */
#list-view .bulk-select-checkbox {
  opacity: 1;
}
/* Keyboard Navigation Focus Indicators */
.task-focused {
  outline: 2px solid #10B981;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  z-index: 20;
}
.dark .task-focused {
  outline-color: #34D399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.3);
}
/* List view focus indicator */
.task-row-focused {
  outline: 2px solid #10B981;
  outline-offset: -2px;
  background-color: rgba(16, 185, 129, 0.1) !important;
}
.dark .task-row-focused {
  outline-color: #34D399;
  background-color: rgba(52, 211, 153, 0.15) !important;
}
/* Focus ring for interactive elements */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #10B981;
  outline-offset: 2px;
}
.dark button:focus-visible,
.dark a:focus-visible,
.dark input:focus-visible,
.dark select:focus-visible,
.dark textarea:focus-visible {
  outline-color: #34D399;
}
/* Remove default focus outline for mouse users, keep for keyboard */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}
/* Dashboard Styles */
.dashboard-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  animation: fadeIn 0.2s ease;
  padding: 16px;
}
.dashboard-modal {
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: dialogIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}
.dark .dashboard-modal {
  background: #1f2937;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}
.dark .dashboard-header {
  border-bottom-color: #374151;
}
.dashboard-title {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.dashboard-title i {
  color: #10B981;
}
.dashboard-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
.dashboard-stat-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.dark .dashboard-stat-card {
  background: #374151;
}
.dashboard-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #10B981;
  border-radius: 0 4px 4px 0;
}
.dashboard-stat-card.warning::before {
  background: #F59E0B;
}
.dashboard-stat-card.danger::before {
  background: #EF4444;
}
.dashboard-stat-card.info::before {
  background: #3B82F6;
}
.dashboard-stat-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 8px;
}
.dark .dashboard-stat-label {
  color: #9ca3af;
}
.dashboard-stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}
.dark .dashboard-stat-value {
  color: #f9fafb;
}
.dashboard-stat-change {
  font-size: 12px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dashboard-stat-change.positive {
  color: #10B981;
}
.dashboard-stat-change.negative {
  color: #EF4444;
}
/* Chart containers */
.dashboard-charts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .dashboard-charts {
    grid-template-columns: 1fr;
  }
}
.dashboard-chart-card {
  background: #f9fafb;
  border-radius: 12px;
  padding: 20px;
}
.dark .dashboard-chart-card {
  background: #374151;
}
.dashboard-chart-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #374151;
}
.dark .dashboard-chart-title {
  color: #e5e7eb;
}
.dashboard-chart-canvas {
  position: relative;
  height: 200px;
}
/* Donut chart CSS */
.donut-chart {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto;
}
.donut-chart-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.donut-chart-center-value {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}
.dark .donut-chart-center-value {
  color: #f9fafb;
}
.donut-chart-center-label {
  font-size: 11px;
  color: #6b7280;
}
.dark .donut-chart-center-label {
  color: #9ca3af;
}
/* Legend */
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}
.chart-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
}
.dark .chart-legend-item {
  color: #9ca3af;
}
.chart-legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
/* Bar chart CSS */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 160px;
  padding: 0 8px;
}
.bar-chart-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.bar-chart-bar {
  width: 100%;
  max-width: 40px;
  border-radius: 4px 4px 0 0;
  transition: height 0.3s ease;
  position: relative;
}
.bar-chart-bar.completed {
  background: linear-gradient(to top, #059669, #10B981);
}
.bar-chart-bar.created {
  background: linear-gradient(to top, #2563EB, #3B82F6);
}
.bar-chart-label {
  font-size: 10px;
  color: #9ca3af;
  text-align: center;
  white-space: nowrap;
}
.bar-chart-value {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #374151;
}
.dark .bar-chart-value {
  color: #e5e7eb;
}
/* Line chart CSS (simplified) */
.line-chart {
  position: relative;
  height: 160px;
  display: flex;
  align-items: flex-end;
}
.line-chart-area {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
}
.line-chart-point {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid white;
  position: absolute;
  transform: translate(-50%, 50%);
  z-index: 2;
}
.dark .line-chart-point {
  border-color: #374151;
}
/* Project breakdown */
.dashboard-projects {
  margin-top: 24px;
}
.dashboard-projects-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #374151;
}
.dark .dashboard-projects-title {
  color: #e5e7eb;
}
.project-breakdown-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 10px;
  margin-bottom: 12px;
}
.dark .project-breakdown-item {
  background: #374151;
}
.project-breakdown-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 10px;
}
.dark .project-breakdown-icon {
  background: #4b5563;
}
.project-breakdown-info {
  flex: 1;
  min-width: 0;
}
.project-breakdown-name {
  font-weight: 600;
  margin-bottom: 4px;
  color: #111827;
}
.dark .project-breakdown-name {
  color: #f9fafb;
}
.project-breakdown-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #6b7280;
}
.dark .project-breakdown-stats {
  color: #9ca3af;
}
.project-breakdown-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.project-breakdown-progress {
  width: 120px;
  text-align: right;
}
.project-breakdown-percent {
  font-size: 20px;
  font-weight: 700;
  color: #10B981;
  margin-bottom: 4px;
}
.project-breakdown-bar {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}
.dark .project-breakdown-bar {
  background: #4b5563;
}
.project-breakdown-bar-fill {
  height: 100%;
  background: linear-gradient(to right, #059669, #10B981);
  border-radius: 3px;
  transition: width 0.3s ease;
}
/* Dashboard filter tabs */
.dashboard-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 12px;
}
.dark .dashboard-tabs {
  border-bottom-color: #374151;
}
.dashboard-tab {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s;
}
.dashboard-tab:hover {
  background: #f3f4f6;
  color: #374151;
}
.dark .dashboard-tab:hover {
  background: #374151;
  color: #e5e7eb;
}
.dashboard-tab.active {
  background: #10B981;
  color: white;
}
.dashboard-tab.active:hover {
  background: #059669;
  color: white;
}
/* Priority colors */
.priority-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.priority-dot.high { background: #EF4444; }
.priority-dot.medium { background: #F59E0B; }
.priority-dot.low { background: #3B82F6; }
/* Status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.status-pill.success {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
}
.status-pill.warning {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}
.status-pill.danger {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}
.dark .status-pill.success {
  background: rgba(16, 185, 129, 0.2);
}
.dark .status-pill.warning {
  background: rgba(245, 158, 11, 0.2);
}
.dark .status-pill.danger {
  background: rgba(239, 68, 68, 0.2);
}
/* Velocity chart legend */
.velocity-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}
.velocity-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
}
.dark .velocity-legend-item {
  color: #9ca3af;
}
.velocity-legend-color {
  width: 16px;
  height: 4px;
  border-radius: 2px;
}
.velocity-legend-color.completed {
  background: #10B981;
}
.velocity-legend-color.created {
  background: #3B82F6;
}
/* ===================================
   Calendar View Styles
   =================================== */
/* Calendar Grid - Month View */
.calendar-grid {
  display: flex;
  flex-direction: column;
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}
.dark .calendar-weekdays {
  background: #111827;
  border-bottom-color: #374151;
}
.calendar-weekday {
  padding: 12px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
}
.dark .calendar-weekday {
  color: #9ca3af;
}
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  flex: 1;
}
.calendar-day {
  min-height: 120px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 4px;
  position: relative;
  transition: background-color 0.15s;
  cursor: pointer;
  overflow: hidden;
}
.dark .calendar-day {
  border-right-color: #374151;
  border-bottom-color: #374151;
}
.calendar-day:nth-child(7n) {
  border-right: none;
}
.calendar-day:hover {
  background-color: #f3f4f6;
}
.dark .calendar-day:hover {
  background-color: #1f2937;
}
.calendar-day.other-month {
  background-color: #f9fafb;
}
.dark .calendar-day.other-month {
  background-color: #0f172a;
}
.calendar-day.other-month .calendar-day-number {
  color: #9ca3af;
}
.dark .calendar-day.other-month .calendar-day-number {
  color: #4b5563;
}
.calendar-day.today {
  background-color: rgba(16, 185, 129, 0.08);
}
.dark .calendar-day.today {
  background-color: rgba(16, 185, 129, 0.12);
}
.calendar-day.today .calendar-day-number {
  background: #10B981;
  color: white;
}
.calendar-day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 50%;
  margin-bottom: 4px;
  color: #374151;
}
.dark .calendar-day-number {
  color: #e5e7eb;
}
.calendar-day-tasks {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  max-height: calc(100% - 36px);
}
.calendar-day-tasks::-webkit-scrollbar {
  width: 4px;
}
.calendar-day-tasks::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 2px;
}
.dark .calendar-day-tasks::-webkit-scrollbar-thumb {
  background: #4b5563;
}
.calendar-task {
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  cursor: grab;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 0.1s, box-shadow 0.1s;
  border-left: 3px solid transparent;
}
.calendar-task:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.dark .calendar-task:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.calendar-task.dragging {
  opacity: 0.5;
  cursor: grabbing;
}
/* Priority-based colors for calendar tasks */
.calendar-task.priority-high {
  background: #FEE2E2;
  color: #991B1B;
  border-left-color: #EF4444;
}
.dark .calendar-task.priority-high {
  background: rgba(239, 68, 68, 0.2);
  color: #FCA5A5;
}
.calendar-task.priority-medium {
  background: #FEF3C7;
  color: #92400E;
  border-left-color: #F59E0B;
}
.dark .calendar-task.priority-medium {
  background: rgba(245, 158, 11, 0.2);
  color: #FCD34D;
}
.calendar-task.priority-low {
  background: #DBEAFE;
  color: #1E40AF;
  border-left-color: #3B82F6;
}
.dark .calendar-task.priority-low {
  background: rgba(59, 130, 246, 0.2);
  color: #93C5FD;
}
/* Project-based color classes */
.calendar-task.project-color-0 { background: rgba(16, 185, 129, 0.2); color: #065F46; border-left-color: #10B981; }
.calendar-task.project-color-1 { background: rgba(59, 130, 246, 0.2); color: #1E40AF; border-left-color: #3B82F6; }
.calendar-task.project-color-2 { background: rgba(139, 92, 246, 0.2); color: #5B21B6; border-left-color: #8B5CF6; }
.calendar-task.project-color-3 { background: rgba(236, 72, 153, 0.2); color: #9D174D; border-left-color: #EC4899; }
.calendar-task.project-color-4 { background: rgba(245, 158, 11, 0.2); color: #92400E; border-left-color: #F59E0B; }
.calendar-task.project-color-5 { background: rgba(239, 68, 68, 0.2); color: #991B1B; border-left-color: #EF4444; }
.calendar-task.project-color-6 { background: rgba(6, 182, 212, 0.2); color: #155E75; border-left-color: #06B6D4; }
.calendar-task.project-color-7 { background: rgba(132, 204, 22, 0.2); color: #3F6212; border-left-color: #84CC16; }
.dark .calendar-task.project-color-0 { background: rgba(16, 185, 129, 0.25); color: #6EE7B7; }
.dark .calendar-task.project-color-1 { background: rgba(59, 130, 246, 0.25); color: #93C5FD; }
.dark .calendar-task.project-color-2 { background: rgba(139, 92, 246, 0.25); color: #C4B5FD; }
.dark .calendar-task.project-color-3 { background: rgba(236, 72, 153, 0.25); color: #F9A8D4; }
.dark .calendar-task.project-color-4 { background: rgba(245, 158, 11, 0.25); color: #FCD34D; }
.dark .calendar-task.project-color-5 { background: rgba(239, 68, 68, 0.25); color: #FCA5A5; }
.dark .calendar-task.project-color-6 { background: rgba(6, 182, 212, 0.25); color: #67E8F9; }
.dark .calendar-task.project-color-7 { background: rgba(132, 204, 22, 0.25); color: #BEF264; }
/* Drop target highlight */
.calendar-day.drag-over {
  background-color: rgba(16, 185, 129, 0.15);
  box-shadow: inset 0 0 0 2px #10B981;
}
.dark .calendar-day.drag-over {
  background-color: rgba(16, 185, 129, 0.2);
}
/* More tasks indicator */
.calendar-more-tasks {
  font-size: 11px;
  color: #6b7280;
  padding: 2px 4px;
  cursor: pointer;
  font-weight: 500;
}
.calendar-more-tasks:hover {
  color: #10B981;
}
.dark .calendar-more-tasks {
  color: #9ca3af;
}
/* Week View Styles */
.calendar-week-grid {
  display: flex;
  flex-direction: column;
  min-height: 600px;
}
.calendar-week-header {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}
.dark .calendar-week-header {
  background: #111827;
  border-bottom-color: #374151;
}
.calendar-week-header-cell {
  padding: 12px 8px;
  text-align: center;
  border-right: 1px solid #e5e7eb;
}
.dark .calendar-week-header-cell {
  border-right-color: #374151;
}
.calendar-week-header-cell:last-child {
  border-right: none;
}
.calendar-week-header-cell.today {
  background-color: rgba(16, 185, 129, 0.1);
}
.calendar-week-day-name {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  margin-bottom: 4px;
}
.dark .calendar-week-day-name {
  color: #9ca3af;
}
.calendar-week-day-number {
  font-size: 24px;
  font-weight: 600;
  color: #374151;
}
.dark .calendar-week-day-number {
  color: #e5e7eb;
}
.calendar-week-header-cell.today .calendar-week-day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #10B981;
  color: white;
  border-radius: 50%;
}
.calendar-week-body {
  display: grid;
  grid-template-columns: 60px repeat(7, 1fr);
  flex: 1;
}
.calendar-week-time-column {
  background: #f9fafb;
  border-right: 1px solid #e5e7eb;
}
.dark .calendar-week-time-column {
  background: #111827;
  border-right-color: #374151;
}
.calendar-week-time-slot {
  height: 60px;
  padding: 4px 8px;
  font-size: 11px;
  color: #6b7280;
  text-align: right;
  border-bottom: 1px solid #e5e7eb;
}
.dark .calendar-week-time-slot {
  color: #9ca3af;
  border-bottom-color: #374151;
}
.calendar-week-day-column {
  border-right: 1px solid #e5e7eb;
  position: relative;
}
.dark .calendar-week-day-column {
  border-right-color: #374151;
}
.calendar-week-day-column:last-child {
  border-right: none;
}
.calendar-week-all-day {
  min-height: 80px;
  padding: 8px;
  border-bottom: 2px solid #e5e7eb;
  background: #fafafa;
}
.dark .calendar-week-all-day {
  border-bottom-color: #4b5563;
  background: #0f172a;
}
.calendar-week-all-day-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: #9ca3af;
  padding: 8px;
  border-bottom: 2px solid #e5e7eb;
}
.dark .calendar-week-all-day-label {
  border-bottom-color: #4b5563;
}
.calendar-week-hour-slot {
  height: 60px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background-color 0.15s;
}
.dark .calendar-week-hour-slot {
  border-bottom-color: #1f2937;
}
.calendar-week-hour-slot:hover {
  background-color: #f9fafb;
}
.dark .calendar-week-hour-slot:hover {
  background-color: #1f2937;
}
.calendar-week-hour-slot.drag-over {
  background-color: rgba(16, 185, 129, 0.15);
}
/* Create task hint on calendar */
.calendar-day-add-hint {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #10B981;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.15s, transform 0.15s;
}
.calendar-day:hover .calendar-day-add-hint {
  opacity: 1;
  transform: scale(1);
}
/* Calendar empty state */
.calendar-empty-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #9ca3af;
  font-size: 12px;
  padding: 8px;
  text-align: center;
}
.dark .calendar-empty-day {
  color: #6b7280;
}
/* ===================================
   Comments Section Styles
   =================================== */
/* Comment item styling */
.comment-item {
  transition: background-color 0.15s ease;
}
.comment-item:hover {
  background-color: #f3f4f6;
}
.dark .comment-item:hover {
  background-color: rgba(55, 65, 81, 0.7);
}
/* Comment content */
.comment-content {
  line-height: 1.5;
}
/* Comment edit container */
.comment-edit-container textarea {
  min-height: 60px;
}
/* Comments list scrollbar */
#comments-list::-webkit-scrollbar {
  width: 6px;
}
#comments-list::-webkit-scrollbar-track {
  background: transparent;
}
#comments-list::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}
.dark #comments-list::-webkit-scrollbar-thumb {
  background: #4b5563;
}
/* Comment input area */
#new-comment-input {
  min-height: 60px;
}
#new-comment-input:focus {
  outline: none;
}
/* Comment count badge in task card */
.task-card .fa-comment {
  opacity: 0.7;
}
.task-card:hover .fa-comment {
  opacity: 1;
}
*, ::before, ::after { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x:  ; --tw-pan-y:  ; --tw-pinch-zoom:  ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position:  ; --tw-gradient-via-position:  ; --tw-gradient-to-position:  ; --tw-ordinal:  ; --tw-slashed-zero:  ; --tw-numeric-figure:  ; --tw-numeric-spacing:  ; --tw-numeric-fraction:  ; --tw-ring-inset:  ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgb(59 130 246 / 0.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur:  ; --tw-brightness:  ; --tw-contrast:  ; --tw-grayscale:  ; --tw-hue-rotate:  ; --tw-invert:  ; --tw-saturate:  ; --tw-sepia:  ; --tw-drop-shadow:  ; --tw-backdrop-blur:  ; --tw-backdrop-brightness:  ; --tw-backdrop-contrast:  ; --tw-backdrop-grayscale:  ; --tw-backdrop-hue-rotate:  ; --tw-backdrop-invert:  ; --tw-backdrop-opacity:  ; --tw-backdrop-saturate:  ; --tw-backdrop-sepia:  ; --tw-contain-size:  ; --tw-contain-layout:  ; --tw-contain-paint:  ; --tw-contain-style:  ; }
::backdrop { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-pan-x:  ; --tw-pan-y:  ; --tw-pinch-zoom:  ; --tw-scroll-snap-strictness: proximity; --tw-gradient-from-position:  ; --tw-gradient-via-position:  ; --tw-gradient-to-position:  ; --tw-ordinal:  ; --tw-slashed-zero:  ; --tw-numeric-figure:  ; --tw-numeric-spacing:  ; --tw-numeric-fraction:  ; --tw-ring-inset:  ; --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff; --tw-ring-color: rgb(59 130 246 / 0.5); --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000; --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000; --tw-blur:  ; --tw-brightness:  ; --tw-contrast:  ; --tw-grayscale:  ; --tw-hue-rotate:  ; --tw-invert:  ; --tw-saturate:  ; --tw-sepia:  ; --tw-drop-shadow:  ; --tw-backdrop-blur:  ; --tw-backdrop-brightness:  ; --tw-backdrop-contrast:  ; --tw-backdrop-grayscale:  ; --tw-backdrop-hue-rotate:  ; --tw-backdrop-invert:  ; --tw-backdrop-opacity:  ; --tw-backdrop-saturate:  ; --tw-backdrop-sepia:  ; --tw-contain-size:  ; --tw-contain-layout:  ; --tw-contain-paint:  ; --tw-contain-style:  ; }
/* ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com */
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/
*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}
::before,
::after {
  --tw-content: '';
}
/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/
html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}
/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/
body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}
/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/
hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}
/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}
/*
Remove the default font size and weight for headings.
*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
/*
Reset links to optimize for opt-in styling instead of opt-out.
*/
a {
  color: inherit;
  text-decoration: inherit;
}
/*
Add the correct font weight in Edge and Safari.
*/
b,
strong {
  font-weight: bolder;
}
/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}
/*
Add the correct font size in all browsers.
*/
small {
  font-size: 80%;
}
/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/
table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}
/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}
/*
Remove the inheritance of text transform in Edge and Firefox.
*/
button,
select {
  text-transform: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/
button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}
/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
  outline: auto;
}
/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/
:-moz-ui-invalid {
  box-shadow: none;
}
/*
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}
/*
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}
/*
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}
/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}
/*
Removes the default spacing and border for appropriate elements.
*/
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}
/*
Prevent resizing textareas horizontally by default.
*/
textarea {
  resize: vertical;
}
/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/
input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
/*
Set the default cursor for buttons.
*/
button,
[role="button"] {
  cursor: pointer;
}
/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}
/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}
/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
img,
video {
  max-width: 100%;
  height: auto;
}
/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.\!container { width: 100% !important; }
.container { width: 100%; }
@media (min-width: 640px) {
 .\!container { max-width: 640px !important; }
 .container { max-width: 640px; } }
@media (min-width: 768px) {
 .\!container { max-width: 768px !important; }
 .container { max-width: 768px; } }
@media (min-width: 1024px) {
 .\!container { max-width: 1024px !important; }
 .container { max-width: 1024px; } }
@media (min-width: 1280px) {
 .\!container { max-width: 1280px !important; }
 .container { max-width: 1280px; } }
@media (min-width: 1536px) {
 .\!container { max-width: 1536px !important; }
 .container { max-width: 1536px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.visible { visibility: visible; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }
.inset-0 { inset: 0px; }
.inset-4 { inset: 1rem; }
.bottom-4 { bottom: 1rem; }
.left-1\/2 { left: 50%; }
.left-4 { left: 1rem; }
.right-0 { right: 0px; }
.right-4 { right: 1rem; }
.top-0 { top: 0px; }
.top-full { top: 100%; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-6 { margin-left: 1.5rem; }
.ml-auto { margin-left: auto; }
.mr-1 { margin-right: 0.25rem; }
.mr-1\.5 { margin-right: 0.375rem; }
.mr-2 { margin-right: 0.5rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.block { display: block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.table { display: table; }
.grid { display: grid; }
.hidden { display: none; }
.h-10 { height: 2.5rem; }
.h-4 { height: 1rem; }
.h-6 { height: 1.5rem; }
.h-64 { height: 16rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-full { height: 100%; }
.max-h-48 { max-height: 12rem; }
.max-h-\[80vh\] { max-height: 80vh; }
.max-h-\[85vh\] { max-height: 85vh; }
.max-h-\[90vh\] { max-height: 90vh; }
.min-h-\[100px\] { min-height: 100px; }
.min-h-\[200px\] { min-height: 200px; }
.min-h-screen { min-height: 100vh; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-64 { width: 16rem; }
.w-7 { width: 1.75rem; }
.w-72 { width: 18rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-full { width: 100%; }
.w-px { width: 1px; }
.min-w-0 { min-width: 0px; }
.min-w-\[280px\] { min-width: 280px; }
.min-w-\[300px\] { min-width: 300px; }
.max-w-\[400px\] { max-width: 400px; }
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-xs { max-width: 20rem; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.-translate-x-1\/2 { --tw-translate-x: -50%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.cursor-pointer { cursor: pointer; }
.resize-none { resize: none; }
.resize { resize: both; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.5rem * var(--tw-space-y-reverse)); }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)); }
.divide-y > :not([hidden]) ~ :not([hidden]) { --tw-divide-y-reverse: 0; border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse))); border-bottom-width: calc(1px * var(--tw-divide-y-reverse)); }
.divide-gray-200 > :not([hidden]) ~ :not([hidden]) { --tw-divide-opacity: 1; border-color: rgb(229 231 235 / var(--tw-divide-opacity, 1)); }
.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.overflow-y-hidden { overflow-y: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.break-words { overflow-wrap: break-word; }
.rounded { border-radius: 0.25rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-b-xl { border-bottom-right-radius: 0.75rem; border-bottom-left-radius: 0.75rem; }
.rounded-r-lg { border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }
.rounded-t-xl { border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem; }
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-l-2 { border-left-width: 2px; }
.border-l-4 { border-left-width: 4px; }
.border-t { border-top-width: 1px; }
.border-dashed { border-style: dashed; }
.border-accent { --tw-border-opacity: 1; border-color: rgb(16 185 129 / var(--tw-border-opacity, 1)); }
.border-blue-200 { --tw-border-opacity: 1; border-color: rgb(191 219 254 / var(--tw-border-opacity, 1)); }
.border-blue-500\/50 { border-color: rgb(59 130 246 / 0.5); }
.border-gray-100 { --tw-border-opacity: 1; border-color: rgb(243 244 246 / var(--tw-border-opacity, 1)); }
.border-gray-200 { --tw-border-opacity: 1; border-color: rgb(229 231 235 / var(--tw-border-opacity, 1)); }
.border-gray-300 { --tw-border-opacity: 1; border-color: rgb(209 213 219 / var(--tw-border-opacity, 1)); }
.border-gray-300\/50 { border-color: rgb(209 213 219 / 0.5); }
.border-gray-300\/60 { border-color: rgb(209 213 219 / 0.6); }
.border-green-500\/50 { border-color: rgb(34 197 94 / 0.5); }
.border-red-200 { --tw-border-opacity: 1; border-color: rgb(254 202 202 / var(--tw-border-opacity, 1)); }
.border-red-500\/50 { border-color: rgb(239 68 68 / 0.5); }
.border-yellow-500\/50 { border-color: rgb(234 179 8 / 0.5); }
.bg-accent { --tw-bg-opacity: 1; background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1)); }
.bg-accent\/10 { background-color: rgb(16 185 129 / 0.1); }
.bg-accent\/20 { background-color: rgb(16 185 129 / 0.2); }
.bg-black\/50 { background-color: rgb(0 0 0 / 0.5); }
.bg-blue-50 { --tw-bg-opacity: 1; background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1)); }
.bg-gray-100 { --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); }
.bg-gray-200 { --tw-bg-opacity: 1; background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)); }
.bg-gray-200\/70 { background-color: rgb(229 231 235 / 0.7); }
.bg-gray-300 { --tw-bg-opacity: 1; background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1)); }
.bg-gray-300\/50 { background-color: rgb(209 213 219 / 0.5); }
.bg-gray-50 { --tw-bg-opacity: 1; background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)); }
.bg-gray-800 { --tw-bg-opacity: 1; background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1)); }
.bg-red-100 { --tw-bg-opacity: 1; background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1)); }
.bg-red-50 { --tw-bg-opacity: 1; background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1)); }
.bg-red-50\/50 { background-color: rgb(254 242 242 / 0.5); }
.bg-red-500 { --tw-bg-opacity: 1; background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1)); }
.bg-red-500\/10 { background-color: rgb(239 68 68 / 0.1); }
.bg-white { --tw-bg-opacity: 1; background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)); }
.bg-white\/20 { background-color: rgb(255 255 255 / 0.2); }
.bg-white\/80 { background-color: rgb(255 255 255 / 0.8); }
.bg-yellow-500 { --tw-bg-opacity: 1; background-color: rgb(234 179 8 / var(--tw-bg-opacity, 1)); }
.bg-yellow-600 { --tw-bg-opacity: 1; background-color: rgb(202 138 4 / var(--tw-bg-opacity, 1)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-indigo-600 { --tw-gradient-from: #4f46e5 var(--tw-gradient-from-position); --tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-purple-600 { --tw-gradient-to: #9333ea var(--tw-gradient-to-position); }
.p-1 { padding: 0.25rem; }
.p-1\.5 { padding: 0.375rem; }
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-3\.5 { padding: 0.875rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.text-accent { --tw-text-opacity: 1; color: rgb(16 185 129 / var(--tw-text-opacity, 1)); }
.text-blue-500 { --tw-text-opacity: 1; color: rgb(59 130 246 / var(--tw-text-opacity, 1)); }
.text-blue-700 { --tw-text-opacity: 1; color: rgb(29 78 216 / var(--tw-text-opacity, 1)); }
.text-gray-300 { --tw-text-opacity: 1; color: rgb(209 213 219 / var(--tw-text-opacity, 1)); }
.text-gray-400 { --tw-text-opacity: 1; color: rgb(156 163 175 / var(--tw-text-opacity, 1)); }
.text-gray-500 { --tw-text-opacity: 1; color: rgb(107 114 128 / var(--tw-text-opacity, 1)); }
.text-gray-600 { --tw-text-opacity: 1; color: rgb(75 85 99 / var(--tw-text-opacity, 1)); }
.text-gray-700 { --tw-text-opacity: 1; color: rgb(55 65 81 / var(--tw-text-opacity, 1)); }
.text-gray-800 { --tw-text-opacity: 1; color: rgb(31 41 55 / var(--tw-text-opacity, 1)); }
.text-gray-900 { --tw-text-opacity: 1; color: rgb(17 24 39 / var(--tw-text-opacity, 1)); }
.text-green-500 { --tw-text-opacity: 1; color: rgb(34 197 94 / var(--tw-text-opacity, 1)); }
.text-green-700 { --tw-text-opacity: 1; color: rgb(21 128 61 / var(--tw-text-opacity, 1)); }
.text-orange-500 { --tw-text-opacity: 1; color: rgb(249 115 22 / var(--tw-text-opacity, 1)); }
.text-red-500 { --tw-text-opacity: 1; color: rgb(239 68 68 / var(--tw-text-opacity, 1)); }
.text-red-600 { --tw-text-opacity: 1; color: rgb(220 38 38 / var(--tw-text-opacity, 1)); }
.text-red-700 { --tw-text-opacity: 1; color: rgb(185 28 28 / var(--tw-text-opacity, 1)); }
.text-white { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity, 1)); }
.text-white\/80 { color: rgb(255 255 255 / 0.8); }
.text-yellow-500 { --tw-text-opacity: 1; color: rgb(234 179 8 / var(--tw-text-opacity, 1)); }
.text-yellow-600 { --tw-text-opacity: 1; color: rgb(202 138 4 / var(--tw-text-opacity, 1)); }
.text-yellow-700 { --tw-text-opacity: 1; color: rgb(161 98 7 / var(--tw-text-opacity, 1)); }
.text-yellow-900 { --tw-text-opacity: 1; color: rgb(113 63 18 / var(--tw-text-opacity, 1)); }
.line-through { text-decoration-line: line-through; }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.opacity-90 { opacity: 0.9; }
.shadow { --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
.shadow-2xl { --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
.shadow-lg { --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
.shadow-sm { --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
.shadow-xl { --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
.filter { filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow); }
.backdrop-blur-sm { --tw-backdrop-blur: blur(4px); backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia); }
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
/* === UI polish overrides (theme-aware) === */
:root {
  /* Column tokens */
  --column-width: 18rem; /* 288px - matches w-72 */
  --column-gap: 1.25rem;
  --column-radius: 16px;
  
  /* Card tokens */
  --card-radius: 10px;
  --card-gap: 0.375rem;
  --card-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  --card-shadow-hover: 0 8px 24px rgba(15, 23, 42, 0.12);
  
  /* Modal tokens */
  --modal-radius: 16px;
  --modal-header-padding: 1.25rem 1.5rem;
  --modal-body-padding: 1.25rem 1.5rem;
  --modal-footer-padding: 1rem 1.5rem;
  --modal-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Component radius tokens */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-2xl: 14px;
  --radius-full: 9999px;
  
  /* Badge tokens */
  --badge-radius: 6px;
  --badge-padding: 0.25rem 0.625rem;
  
  /* Button tokens */
  --btn-radius: 10px;
  --btn-padding-sm: 0.375rem 0.75rem;
  --btn-padding-md: 0.5rem 1rem;
  --btn-padding-lg: 0.625rem 1.25rem;
  
  /* Dropdown tokens */
  --dropdown-radius: 14px;
  --dropdown-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  
  /* Spacing tokens */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 0.75rem;
  --spacing-lg: 1rem;
  --spacing-xl: 1.25rem;
  --spacing-2xl: 1.5rem;
  
  /* Empty state tokens */
  --empty-icon-size: 2rem;
  --empty-icon-opacity: 0.4;
  --empty-text-color: rgba(107, 114, 128, 0.7);
}
/* Valid root token block for theme-aware surfaces */
:root {
  --column-width: 18rem; /* 288px - matches w-72 */
  --column-gap: 1.25rem;
  --column-radius: 16px;
  --column-surface: hsl(220 18% 96%);
  --column-surface-muted: hsl(220 22% 95%);
  --column-outline: hsla(218, 11%, 65%, 0.55);
  --column-shadow: 0 10px 32px -18px rgba(15, 23, 42, 0.20);
  --column-shadow-hover: 0 16px 42px -18px rgba(15, 23, 42, 0.28);
  --column-top-accent: linear-gradient(90deg, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0.08) 100%);
  --column-drop-accent: rgba(16, 185, 129, 0.12);
  --board-canvas: hsl(210 20% 98%);
  --board-canvas-strong: hsl(210 16% 97%);
  --add-column-surface: hsla(160, 84%, 39%, 0.05);
  --card-surface: hsl(0 0% 100%);
  --card-surface-hover: hsl(220 18% 98%);
  --card-outline: hsla(220, 14%, 40%, 0.10);
}
.dark {
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.5);
  --modal-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --dropdown-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  --empty-text-color: rgba(156, 163, 175, 0.7);
}
/* Dark mode surface tokens */
.dark {
  --column-surface: hsl(219 17% 16%);
  --column-surface-muted: hsl(219 17% 18%);
  --column-outline: hsla(218, 15%, 60%, 0.28);
  --column-shadow: 0 10px 32px -18px rgba(0, 0, 0, 0.55);
  --column-shadow-hover: 0 16px 44px -18px rgba(0, 0, 0, 0.65);
  --column-top-accent: linear-gradient(90deg, rgba(16, 185, 129, 0.30) 0%, rgba(16, 185, 129, 0.14) 100%);
  --column-drop-accent: rgba(16, 185, 129, 0.16);
  --board-canvas: hsl(220 16% 10%);
  --board-canvas-strong: hsl(220 16% 12%);
  --add-column-surface: hsla(160, 84%, 39%, 0.10);
  --card-surface: hsl(215 20% 32%);
  --card-surface-hover: hsl(215 20% 30%);
  --card-outline: hsla(220, 25%, 80%, 0.12);
}
/* ========================================
   Board & Columns
   ======================================== */
#board-view {
  padding: 1.25rem 1.5rem 2rem;
  background: transparent !important; /* allow user-selected background beneath */
}
#columns-container {
  gap: var(--column-gap);
  align-items: stretch;
  padding: 0.25rem 0 0.75rem;
}
.column {
  position: relative;
  width: var(--column-width) !important;
  min-width: var(--column-width) !important;
  border-radius: var(--column-radius);
  display: flex;
  flex-direction: column;
  background: var(--column-surface);
  box-shadow: var(--column-shadow);
  border: 1px solid transparent !important;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.column > * {
  position: relative;
  z-index: 1;
}
.column::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--column-radius);
  box-shadow: inset 0 0 0 1px var(--column-outline);
  pointer-events: none;
  z-index: 0;
}
.column::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--column-radius) var(--column-radius) 0 0;
  background: var(--column-top-accent);
  pointer-events: none;
  z-index: 0;
}
.column:hover {
  box-shadow: var(--column-shadow-hover);
  transform: translateY(-1px);
}
.column.is-drop-target,
.column.drag-over {
  box-shadow: var(--column-shadow-hover), 0 0 0 2px var(--column-drop-accent);
}
.column-header {
  border-radius: var(--column-radius) var(--column-radius) 0 0;
  padding: 12px 14px;
  background: var(--column-surface);
  border: none !important;
}
.column-header h3 {
  font-size: 0.9rem;
  font-weight: 600;
}
.column-content-wrapper {
  flex: 1;
  padding: 4px 6px;
  min-height: 120px;
  background: var(--column-surface-muted);
  border: none !important;
}
.column-content {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.column > div:last-child {
  border-radius: 0 0 var(--column-radius) var(--column-radius);
  padding: 8px 12px;
  background: var(--column-surface);
}
/* Tighter gutters like Trello */
/* ========================================
   Task Cards
   ======================================== */
.task-card {
  margin: 0;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  background: var(--card-surface) !important;
  padding: 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  border: 1px solid var(--card-outline);
}
.task-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
  background: var(--card-surface-hover) !important;
  border-color: rgba(16, 185, 129, 0.20) !important;
}
/* Focus/Selected state - subtle ring instead of bright border */
.task-card.task-focused {
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: var(--card-shadow), 0 0 0 2px rgba(16, 185, 129, 0.15);
}
.task-card.border-accent {
  border-color: rgba(16, 185, 129, 0.5) !important;
  background-color: rgba(16, 185, 129, 0.03);
}
.dark .task-card.border-accent {
  background-color: rgba(16, 185, 129, 0.08);
}
/* Override the inline hover:border-accent */
.task-card[class*="hover:border-accent"]:hover {
  border-color: rgba(16, 185, 129, 0.25) !important;
}
/* ========================================
   Add Column Zone
   ======================================== */
.add-column-zone {
  width: var(--column-width) !important;
  min-width: var(--column-width) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  align-self: stretch;
}
.add-column-zone button {
  flex: 1;
  min-height: 180px;
  border: 1.5px dashed rgba(156, 163, 175, 0.35) !important;
  border-radius: var(--column-radius);
  background: var(--add-column-surface);
  color: rgba(156, 163, 175, 0.85);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.add-column-zone button:hover {
  border-color: rgba(16, 185, 129, 0.45) !important;
  background: rgba(16, 185, 129, 0.08);
  color: #10B981;
  transform: scale(1.01);
}
.add-column-zone button:active {
  transform: scale(0.99);
}
.dark .add-column-zone button {
  border-color: rgba(107, 114, 128, 0.3) !important;
  background: var(--add-column-surface);
  color: rgba(156, 163, 175, 0.78);
}
.dark .add-column-zone button:hover {
  border-color: rgba(16, 185, 129, 0.5) !important;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
}
/* ========================================
   Scroll Indicators
   ======================================== */
.scroll-indicator {
  z-index: 25;
}
/* ========================================
   Modals - General
   ======================================== */
.modal-content {
  border-radius: var(--modal-radius) !important;
  overflow: hidden;
}
.modal-content input,
.modal-content select,
.modal-content textarea {
  border-radius: 10px;
}
.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
/* Modal form field spacing - increased for breathing room */
.modal-content .space-y-4 > * + * {
  margin-top: 1.5rem !important;
}
/* Grid items in modals need extra top margin on second row */
.modal-content .grid.grid-cols-2 {
  gap: 1rem;
  margin-top: 1.5rem;
}
.modal-content .grid.grid-cols-2 + * {
  margin-top: 1.5rem !important;
}
/* Labels in modals */
.modal-content label {
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 500;
}
/* Modal header padding */
.modal-content > div:first-child {
  padding: 1.25rem 1.5rem;
}
/* Modal body padding */
.modal-content .p-4 {
  padding: 1.25rem 1.5rem !important;
}
/* Modal footer */
.modal-content > div:last-child {
  padding: 1rem 1.5rem;
}
/* ========================================
   Task Modal Specific
   ======================================== */
#task-modal .modal-content {
  border-radius: var(--modal-radius) !important;
}
/* Modal body scrollable area */
.task-modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  max-height: calc(80vh - 140px); /* Account for header + footer */
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 163, 175, 0.4) transparent;
}
.task-modal-body::-webkit-scrollbar {
  width: 6px;
}
.task-modal-body::-webkit-scrollbar-track {
  background: transparent;
}
.task-modal-body::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.4);
  border-radius: 3px;
}
.task-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(156, 163, 175, 0.6);
}
.dark .task-modal-body::-webkit-scrollbar-thumb {
  background: rgba(75, 85, 99, 0.5);
}
/* Modal form sections */
.task-form-section {
  background: rgba(243, 244, 246, 0.4);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1.25rem;
}
.task-form-section:first-of-type {
  margin-top: 1.5rem;
}
.dark .task-form-section {
  background: rgba(55, 65, 81, 0.3);
}
.task-form-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(107, 114, 128, 0.9);
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.dark .task-form-section-title {
  color: rgba(156, 163, 175, 0.9);
}
.task-form-section-title i {
  font-size: 0.8rem;
}
/* Due date input with calendar icon - redesigned */
.date-picker-container {
  position: relative;
}
.date-picker-container .date-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.date-picker-container .date-picker-input {
  padding-right: 2.75rem !important;
  cursor: pointer;
}
.date-picker-container .calendar-icon-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(107, 114, 128, 0.7);
  border-left: 1px solid rgba(209, 213, 219, 0.5);
  border-radius: 0 10px 10px 0;
  transition: all 0.15s ease;
  pointer-events: none;
}
.dark .date-picker-container .calendar-icon-btn {
  border-left-color: rgba(75, 85, 99, 0.5);
  color: rgba(156, 163, 175, 0.7);
}
.date-picker-container:hover .calendar-icon-btn,
.date-picker-container:focus-within .calendar-icon-btn {
  color: #10B981;
  background: rgba(16, 185, 129, 0.08);
}
/* Recurrence section styling */
.recurrence-section {
  margin-top: 0 !important;
}
.recurrence-section > label:first-child {
  display: none; /* Hide the old label, we'll use section title */
}
/* Status/Priority grid - improved spacing */
.modal-content .task-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.modal-content .task-details-grid > div {
  margin: 0 !important;
}
/* Field labels in modal */
.task-field-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(55, 65, 81, 0.9);
  margin-bottom: 0.5rem;
}
.dark .task-field-label {
  color: rgba(209, 213, 219, 0.9);
}
.task-field-label.required::after {
  content: " *";
  color: #EF4444;
}
/* Tags input enhancement */
.tags-input-container {
  position: relative;
}
.tags-input-container input {
  padding-left: 2.25rem !important;
}
.tags-input-container .tags-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(107, 114, 128, 0.5);
  font-size: 0.875rem;
}
/* Subtasks section */
.subtasks-section {
  background: rgba(243, 244, 246, 0.4);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1.25rem;
}
.dark .subtasks-section {
  background: rgba(55, 65, 81, 0.3);
}
.subtask-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.subtask-item:hover {
  background: rgba(255, 255, 255, 0.6);
}
.dark .subtask-item:hover {
  background: rgba(55, 65, 81, 0.4);
}
.subtask-add-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(209, 213, 219, 0.5);
}
.dark .subtask-add-row {
  border-top-color: rgba(75, 85, 99, 0.5);
}
/* Comments section redesign */
.comments-section {
  background: rgba(243, 244, 246, 0.4);
  border-radius: 12px;
  padding: 1rem;
  border: none !important;
  margin-top: 1.25rem;
}
.dark .comments-section {
  background: rgba(55, 65, 81, 0.3);
}
.comments-section .border-t {
  border: none !important;
  padding-top: 0 !important;
}
.comment-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  transition: background 0.15s ease;
}
.dark .comment-item {
  background: rgba(31, 41, 55, 0.5);
}
.comment-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}
.comment-input-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(209, 213, 219, 0.5);
}
.dark .comment-input-wrapper {
  border-top-color: rgba(75, 85, 99, 0.5);
}
.comment-input-wrapper textarea {
  flex: 1;
  min-height: 2.5rem;
  max-height: 6rem;
}
.comment-send-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Activity section redesign */
.activity-section {
  background: rgba(243, 244, 246, 0.4);
  border-radius: 12px;
  padding: 1rem;
  border: none !important;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.dark .activity-section {
  background: rgba(55, 65, 81, 0.3);
}
.activity-section .border-t {
  border: none !important;
  padding-top: 0 !important;
}
.activity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}
.activity-filter-select {
  font-size: 0.75rem !important;
  padding: 0.375rem 0.625rem !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(209, 213, 219, 0.6) !important;
  min-width: auto !important;
  width: auto !important;
}
.dark .activity-filter-select {
  background: rgba(31, 41, 55, 0.6) !important;
  border-color: rgba(75, 85, 99, 0.6) !important;
}
.activity-timeline {
  position: relative;
  padding-left: 1.5rem;
}
.activity-timeline::before {
  content: "";
  position: absolute;
  left: 0.375rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.1));
  border-radius: 1px;
}
.activity-item {
  position: relative;
  padding: 0.5rem 0;
  padding-left: 0.5rem;
}
.activity-item::before {
  content: "";
  position: absolute;
  left: -1.125rem;
  top: 0.875rem;
  width: 0.5rem;
  height: 0.5rem;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.activity-item-content {
  font-size: 0.8125rem;
  color: rgba(75, 85, 99, 0.9);
  line-height: 1.4;
}
.dark .activity-item-content {
  color: rgba(209, 213, 219, 0.9);
}
.activity-item-time {
  font-size: 0.6875rem;
  color: rgba(107, 114, 128, 0.7);
  margin-top: 0.125rem;
}
.dark .activity-item-time {
  color: rgba(156, 163, 175, 0.7);
}
/* Empty state for comments/activity */
.empty-state-message {
  text-align: center;
  padding: 1.5rem 1rem;
  color: rgba(107, 114, 128, 0.7);
  font-size: 0.8125rem;
}
.empty-state-message i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
  opacity: 0.5;
}
.dark .empty-state-message {
  color: rgba(156, 163, 175, 0.7);
}
/* Modal footer improvements */
.task-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem !important;
  background: rgba(249, 250, 251, 0.5);
  border-top: 1px solid rgba(229, 231, 235, 0.5) !important;
}
.dark .task-modal-footer {
  background: rgba(31, 41, 55, 0.5);
  border-top-color: rgba(55, 65, 81, 0.5) !important;
}
.task-modal-footer .action-buttons {
  display: flex;
  gap: 0.5rem;
}
.task-modal-footer .primary-buttons {
  display: flex;
  gap: 0.5rem;
}
.task-modal-footer button {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}
.task-modal-footer .btn-danger {
  color: #EF4444;
}
.task-modal-footer .btn-danger:hover {
  background: rgba(239, 68, 68, 0.1);
}
/* Recurrence badge styling */
.recurrence-instance-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 8px;
  margin-bottom: 0.75rem;
}
.recurrence-instance-badge i {
  color: #3B82F6;
}
.recurrence-instance-badge span {
  font-size: 0.8125rem;
  color: rgba(59, 130, 246, 0.9);
}
.dark .recurrence-instance-badge {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%);
  border-color: rgba(59, 130, 246, 0.3);
}
.dark .recurrence-instance-badge span {
  color: rgba(147, 197, 253, 0.9);
}
/* ========================================
   Activity Feed Modal
   ======================================== */
/* Modal size is now set inline, this ensures rounded corners */
#activity-feed-modal-overlay > div {
  border-radius: var(--modal-radius) !important;
  overflow: hidden;
}
/* Activity Feed Filter Section */
.activity-feed-filter-section {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  background: rgba(249, 250, 251, 0.5);
}
.dark .activity-feed-filter-section {
  border-bottom-color: rgba(55, 65, 81, 0.5);
  background: rgba(17, 24, 39, 0.3);
}
.activity-feed-filter-select {
  width: 100%;
  padding: 0.375rem 0.625rem;
  font-size: 0.75rem;
  border: 1px solid rgba(209, 213, 219, 0.6);
  border-radius: var(--radius-md);
  background: white;
  color: rgba(55, 65, 81, 0.9);
  transition: all 0.15s ease;
}
.activity-feed-filter-select:focus {
  outline: none;
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
}
.dark .activity-feed-filter-select {
  background: rgba(55, 65, 81, 0.6);
  border-color: rgba(75, 85, 99, 0.6);
  color: rgba(229, 231, 235, 0.9);
}
/* Activity Feed Items Container */
.activity-feed-items {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
/* Activity Feed Item */
.activity-feed-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(243, 244, 246, 0.5);
  border-radius: var(--radius-lg);
  transition: background 0.15s ease;
}
.activity-feed-item:hover {
  background: rgba(243, 244, 246, 0.8);
}
.dark .activity-feed-item {
  background: rgba(55, 65, 81, 0.35);
}
.dark .activity-feed-item:hover {
  background: rgba(55, 65, 81, 0.5);
}
.activity-feed-item-icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #10B981;
  font-size: 0.6875rem;
}
.dark .activity-feed-item-icon {
  background: rgba(16, 185, 129, 0.15);
}
.activity-feed-item-content {
  flex: 1;
  min-width: 0;
}
.activity-feed-item-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(17, 24, 39, 0.95);
  margin-bottom: 0.1875rem;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dark .activity-feed-item-title {
  color: rgba(243, 244, 246, 0.95);
}
.activity-feed-item-message {
  font-size: 0.8125rem;
  color: rgba(75, 85, 99, 0.9);
  line-height: 1.4;
}
.dark .activity-feed-item-message {
  color: rgba(209, 213, 219, 0.9);
}
.activity-feed-item-time {
  font-size: 0.6875rem;
  color: rgba(107, 114, 128, 0.7);
  margin-top: 0.25rem;
}
.dark .activity-feed-item-time {
  color: rgba(156, 163, 175, 0.7);
}
/* ========================================
   New Project Modal
   ======================================== */
/* Template cards spacing */
.template-card {
  padding: 1rem;
}
/* Background picker spacing */
.bg-picker-section {
  margin-top: 1.5rem;
}
/* ========================================
   Custom Selects
   ======================================== */
.custom-select-trigger {
  border-radius: 10px;
  padding: 0.625rem 0.875rem;
}
.custom-select-dropdown {
  border-radius: 10px;
  margin-top: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
.dark .custom-select-dropdown {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.custom-select-option {
  padding: 0.625rem 0.875rem;
  border-radius: 6px;
  margin: 2px 4px;
}
/* ========================================
   Buttons & Interactive Elements
   ======================================== */
.project-switcher-btn,
.project-action-btn {
  border-radius: 10px;
}
/* Primary buttons */
button.bg-accent {
  border-radius: 10px;
  font-weight: 500;
}
/* Secondary/ghost buttons */
button.text-gray-600,
button.text-gray-400 {
  border-radius: 10px;
}
/* ========================================
   Toast Notifications
   ======================================== */
.toast {
  border-radius: 12px;
  padding: 1rem 1.25rem;
}
/* ========================================
   Priority & Status Badges
   ======================================== */
.priority-high,
.priority-medium,
.priority-low {
  border-radius: var(--badge-radius);
  padding: var(--badge-padding);
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.due-date-badge {
  border-radius: var(--badge-radius);
  padding: var(--badge-padding);
  font-size: 0.6875rem;
  font-weight: 500;
}
/* Count badges */
.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.375rem;
  border-radius: var(--radius-full);
  font-size: 0.625rem;
  font-weight: 600;
}
/* ========================================
   Unified Buttons
   ======================================== */
/* Primary action buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: var(--btn-padding-md);
  background: #10B981;
  color: white;
  border-radius: var(--btn-radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.btn-primary:hover {
  background: #059669;
}
/* Secondary buttons */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: var(--btn-padding-md);
  background: rgba(243, 244, 246, 0.8);
  color: rgba(55, 65, 81, 0.9);
  border-radius: var(--btn-radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.btn-secondary:hover {
  background: rgba(229, 231, 235, 0.9);
}
.dark .btn-secondary {
  background: rgba(55, 65, 81, 0.6);
  color: rgba(229, 231, 235, 0.9);
}
.dark .btn-secondary:hover {
  background: rgba(75, 85, 99, 0.7);
}
/* Ghost buttons */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: var(--btn-padding-md);
  background: transparent;
  color: rgba(107, 114, 128, 0.9);
  border-radius: var(--btn-radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s ease;
}
.btn-ghost:hover {
  background: rgba(243, 244, 246, 0.8);
  color: rgba(55, 65, 81, 0.95);
}
.dark .btn-ghost {
  color: rgba(156, 163, 175, 0.9);
}
.dark .btn-ghost:hover {
  background: rgba(55, 65, 81, 0.5);
  color: rgba(229, 231, 235, 0.95);
}
/* Icon-only buttons */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-md);
  color: rgba(107, 114, 128, 0.8);
  transition: all 0.15s ease;
}
.btn-icon:hover {
  background: rgba(243, 244, 246, 0.8);
  color: rgba(55, 65, 81, 0.95);
}
.dark .btn-icon {
  color: rgba(156, 163, 175, 0.8);
}
.dark .btn-icon:hover {
  background: rgba(55, 65, 81, 0.5);
  color: rgba(229, 231, 235, 0.95);
}
/* Close button (standardized) */
.btn-close {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: rgba(156, 163, 175, 0.8);
  transition: all 0.15s ease;
}
.btn-close:hover {
  background: rgba(243, 244, 246, 0.8);
  color: rgba(75, 85, 99, 0.95);
}
.dark .btn-close:hover {
  background: rgba(55, 65, 81, 0.5);
  color: rgba(209, 213, 219, 0.95);
}
/* Small buttons */
.btn-sm {
  padding: var(--btn-padding-sm);
  font-size: 0.8125rem;
}
/* Large buttons */
.btn-lg {
  padding: var(--btn-padding-lg);
  font-size: 0.9375rem;
}
/* ========================================
   Header Elements
   ======================================== */
header {
  padding: 0.75rem 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.dark header {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* Dashboard enhancements */
.dashboard-stat-card {
  background: white !important;
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dashboard-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.dark .dashboard-stat-card {
  background: #1f2937 !important;
  border-color: rgba(55, 65, 81, 0.6);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
/* View toggle enhancement */
.view-toggle-container {
  background: rgba(229, 231, 235, 0.5) !important;
}
.dark .view-toggle-container {
  background: rgba(55, 65, 81, 0.5) !important;
}
/* Standardized scrollbars for better UX */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.3);
  border-radius: 20px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(156, 163, 175, 0.5);
  border: 2px solid transparent;
  background-clip: content-box;
}
.dark ::-webkit-scrollbar-thumb {
  background: rgba(75, 85, 99, 0.4);
}
.dark ::-webkit-scrollbar-thumb:hover {
  background: rgba(107, 114, 128, 0.5);
}
/* View toggle buttons */
header .rounded-lg {
  border-radius: 10px;
}
/* ========================================
   Dropdowns & Menus
   ======================================== */
#user-menu-dropdown,
.project-switcher-dropdown {
  border-radius: 14px;
  padding: 0.5rem;
}
#user-menu-dropdown button,
.project-switcher-dropdown button {
  border-radius: 8px;
}
/* Theme Selector in User Menu */
.theme-selector-container {
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}
.dark .theme-selector-container {
  border-bottom-color: rgba(55, 65, 81, 0.5);
}
.theme-toggle-group {
  display: flex;
  background: rgba(243, 244, 246, 0.8);
  border-radius: var(--radius-md);
  padding: 2px;
  gap: 1px;
  overflow: hidden;
}
.dark .theme-toggle-group {
  background: rgba(55, 65, 81, 0.6);
}
.theme-toggle-btn {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.375rem 0.25rem;
  border-radius: 5px;
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(107, 114, 128, 0.9);
  transition: all 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
}
.theme-toggle-btn i {
  font-size: 0.5625rem;
  flex-shrink: 0;
}
.theme-toggle-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.theme-toggle-btn:hover {
  color: rgba(55, 65, 81, 0.95);
  background: rgba(255, 255, 255, 0.5);
}
.dark .theme-toggle-btn {
  color: rgba(156, 163, 175, 0.9);
}
.dark .theme-toggle-btn:hover {
  color: rgba(229, 231, 235, 0.95);
  background: rgba(75, 85, 99, 0.5);
}
/* Active theme button state */
.theme-toggle-btn.bg-white,
.theme-toggle-btn[class*="bg-white"] {
  background: white !important;
  color: rgba(17, 24, 39, 0.95) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.dark .theme-toggle-btn.dark\:bg-gray-600,
.dark .theme-toggle-btn[class*="dark:bg-gray-600"] {
  background: rgba(75, 85, 99, 0.9) !important;
  color: rgba(243, 244, 246, 0.95) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
/* ========================================
   Utility Modals (Archive, Activity Feed, Trash, Overdue, etc.)
   ======================================== */
/* Overlay backdrop */
#archive-modal-overlay,
#activity-feed-modal-overlay,
#overdue-tasks-overlay,
.custom-dialog-overlay {
  backdrop-filter: blur(4px);
}
/* Standardized utility modal container */
.utility-modal {
  border: 1px solid rgba(229, 231, 235, 0.5);
}
.dark .utility-modal {
  border-color: rgba(55, 65, 81, 0.5);
}
/* Utility modal header */
.utility-modal-header {
  background: rgba(249, 250, 251, 0.5);
}
.dark .utility-modal-header {
  background: rgba(31, 41, 55, 0.5);
}
/* Utility modal body - scrollable area */
.utility-modal-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 163, 175, 0.4) transparent;
}
.utility-modal-body::-webkit-scrollbar {
  width: 6px;
}
.utility-modal-body::-webkit-scrollbar-track {
  background: transparent;
}
.utility-modal-body::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.4);
  border-radius: 3px;
}
.utility-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(156, 163, 175, 0.6);
}
.dark .utility-modal-body::-webkit-scrollbar-thumb {
  background: rgba(75, 85, 99, 0.5);
}
/* Utility modal footer */
.utility-modal-footer {
  background: rgba(249, 250, 251, 0.5);
}
.dark .utility-modal-footer {
  background: rgba(31, 41, 55, 0.5);
}
/* List items in utility modals */
.utility-modal-body .space-y-2 > div,
.utility-modal-body .space-y-3 > div {
  border-radius: 10px;
  transition: all 0.15s ease;
}
/* Trash modal styling */
#trash-modal .modal-content {
  border-radius: var(--modal-radius) !important;
}
#trash-content {
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 163, 175, 0.4) transparent;
}
#trash-content::-webkit-scrollbar {
  width: 6px;
}
#trash-content::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.4);
  border-radius: 3px;
}
/* Trash Items List */
.trash-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.trash-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(243, 244, 246, 0.5);
  border-radius: var(--radius-lg);
  transition: background 0.15s ease;
}
.trash-item:hover {
  background: rgba(243, 244, 246, 0.8);
}
.dark .trash-item {
  background: rgba(55, 65, 81, 0.35);
}
.dark .trash-item:hover {
  background: rgba(55, 65, 81, 0.5);
}
.trash-item-icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-md);
  background: rgba(239, 68, 68, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #EF4444;
  font-size: 0.6875rem;
}
.dark .trash-item-icon {
  background: rgba(239, 68, 68, 0.15);
}
.trash-item-content {
  flex: 1;
  min-width: 0;
}
.trash-item-type {
  display: inline-block;
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(107, 114, 128, 0.8);
  margin-bottom: 0.125rem;
}
.dark .trash-item-type {
  color: rgba(156, 163, 175, 0.8);
}
.trash-item-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(17, 24, 39, 0.95);
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dark .trash-item-name {
  color: rgba(243, 244, 246, 0.95);
}
.trash-item-date {
  font-size: 0.6875rem;
  color: rgba(107, 114, 128, 0.7);
  margin: 0.1875rem 0 0 0;
}
.dark .trash-item-date {
  color: rgba(156, 163, 175, 0.7);
}
.trash-item-restore-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4375rem 0.625rem;
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.trash-item-restore-btn:hover {
  background: rgba(16, 185, 129, 0.2);
}
.dark .trash-item-restore-btn {
  background: rgba(16, 185, 129, 0.15);
}
.dark .trash-item-restore-btn:hover {
  background: rgba(16, 185, 129, 0.25);
}
/* Archive Items List */
.archive-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.archive-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(243, 244, 246, 0.5);
  border-radius: var(--radius-lg);
  transition: background 0.15s ease;
}
.archive-item:hover {
  background: rgba(243, 244, 246, 0.8);
}
.dark .archive-item {
  background: rgba(55, 65, 81, 0.35);
}
.dark .archive-item:hover {
  background: rgba(55, 65, 81, 0.5);
}
.archive-item-content {
  flex: 1;
  min-width: 0;
}
.archive-item-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(17, 24, 39, 0.95);
  margin: 0;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dark .archive-item-title {
  color: rgba(243, 244, 246, 0.95);
}
.archive-item-meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.3125rem;
  font-size: 0.6875rem;
  color: rgba(107, 114, 128, 0.8);
}
.archive-item-meta i {
  margin-right: 0.1875rem;
  font-size: 0.5625rem;
}
.archive-item-meta-dot {
  opacity: 0.5;
}
.dark .archive-item-meta {
  color: rgba(156, 163, 175, 0.8);
}
.archive-item-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.archive-action-btn {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  transition: all 0.15s ease;
}
.archive-action-btn.restore {
  color: #10B981;
}
.archive-action-btn.restore:hover {
  background: rgba(16, 185, 129, 0.15);
}
.archive-action-btn.delete {
  color: #EF4444;
}
.archive-action-btn.delete:hover {
  background: rgba(239, 68, 68, 0.1);
}
.dark .archive-action-btn.delete:hover {
  background: rgba(239, 68, 68, 0.15);
}
/* ========================================
   Search & Command Palette
   ======================================== */
.global-search-overlay .modal-content,
.command-palette-overlay .modal-content {
  border-radius: var(--modal-radius);
}
/* ========================================
   Calendar View
   ======================================== */
.calendar-day {
  border-radius: 8px;
}
.calendar-task-item {
  border-radius: 6px;
}
/* ========================================
   Custom Dialog Improvements (New Project, Background Picker, etc.)
   ======================================== */
/* Match regular modals (Task, etc.) - use gray-800 */
.dark .custom-dialog {
  background: #1f2937 !important; /* gray-800 to match utility-modal */
  border: 1px solid rgba(55, 65, 81, 0.5);
}
.dark .custom-dialog-input {
  background: rgba(55, 65, 81, 0.6);
  border-color: rgba(75, 85, 99, 0.6);
  color: rgba(243, 244, 246, 0.95);
}
.dark .custom-dialog-input:focus {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.dark .custom-dialog-input::-moz-placeholder {
  color: rgba(156, 163, 175, 0.6);
}
.dark .custom-dialog-input::placeholder {
  color: rgba(156, 163, 175, 0.6);
}
/* Template cards in dark mode - better contrast */
.dark .template-card {
  background: rgba(55, 65, 81, 0.5) !important;
  border-color: rgba(75, 85, 99, 0.6) !important;
}
.dark .template-card:hover {
  background: rgba(55, 65, 81, 0.7) !important;
  border-color: rgba(107, 114, 128, 0.6) !important;
}
.dark .template-card.selected {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: #10B981 !important;
}
/* Background picker items in dark mode */
.dark .bg-picker-item.solid {
  border-color: rgba(75, 85, 99, 0.6) !important;
}
/* Template column pills */
.dark .template-column-pill {
  background: rgba(75, 85, 99, 0.6);
  color: rgba(209, 213, 219, 0.9);
}
/* ========================================
   Dark Mode Fixes & Enhancements
   ======================================== */
/* Ensure all interactive elements have proper dark mode hover states */
.dark button:not([class*="bg-"]):hover {
  background: rgba(55, 65, 81, 0.5);
}
/* Fix any border colors that might be missing dark variants */
.dark .border-gray-200 {
  border-color: rgba(55, 65, 81, 0.6);
}
.dark .border-gray-300 {
  border-color: rgba(75, 85, 99, 0.6);
}
/* Ensure form inputs have proper dark mode styling */
.dark input:not([type="checkbox"]):not([type="radio"]),
.dark select,
.dark textarea {
  background-color: rgba(55, 65, 81, 0.6);
  border-color: rgba(75, 85, 99, 0.6);
  color: rgba(243, 244, 246, 0.95);
}
.dark input::-moz-placeholder, .dark textarea::-moz-placeholder {
  color: rgba(156, 163, 175, 0.6);
}
.dark input::placeholder,
.dark textarea::placeholder {
  color: rgba(156, 163, 175, 0.6);
}
/* Focus states in dark mode */
.dark input:focus,
.dark select:focus,
.dark textarea:focus {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
/* Checkbox and radio in dark mode */
.dark input[type="checkbox"],
.dark input[type="radio"] {
  background-color: rgba(55, 65, 81, 0.6);
  border-color: rgba(107, 114, 128, 0.6);
}
.dark input[type="checkbox"]:checked,
.dark input[type="radio"]:checked {
  background-color: #10B981;
  border-color: #10B981;
}
/* Dropdown hovers in dark mode */
.dark .project-item:hover,
.dark .custom-select-option:hover,
.dark .search-result-item:hover,
.dark .command-palette-item:hover {
  background: rgba(55, 65, 81, 0.5);
}
/* Table row hovers in dark mode */
.dark tbody tr:hover {
  background: rgba(55, 65, 81, 0.3);
}
/* Card hovers in dark mode */
.dark .task-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
/* Scrollbar fixes for dark mode */
.dark ::-webkit-scrollbar-track {
  background: rgba(17, 24, 39, 0.5);
}
.dark ::-webkit-scrollbar-thumb {
  background: rgba(75, 85, 99, 0.6);
}
.dark ::-webkit-scrollbar-thumb:hover {
  background: rgba(107, 114, 128, 0.6);
}
/* Calendar dark mode fixes */
.dark .calendar-day:hover {
  background-color: rgba(55, 65, 81, 0.4);
}
.dark .calendar-day.today {
  background-color: rgba(16, 185, 129, 0.15);
}
/* Toast dark mode adjustments */
.dark .toast {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
/* Dialog/Modal overlay dark mode */
.dark .modal-backdrop,
.dark .custom-dialog-overlay > div:first-child {
  background: rgba(0, 0, 0, 0.6);
}
/* Separator lines in dark mode */
.dark hr,
.dark .divider {
  border-color: rgba(55, 65, 81, 0.5);
}
/* Badge adjustments for dark mode */
.dark .bg-gray-100 {
  background-color: rgba(55, 65, 81, 0.5);
}
.dark .bg-gray-200 {
  background-color: rgba(75, 85, 99, 0.5);
}
/* Text color adjustments for dark mode readability */
.dark .text-gray-600 {
  color: rgba(209, 213, 219, 0.9);
}
.dark .text-gray-700 {
  color: rgba(229, 231, 235, 0.9);
}
/* ========================================
   Keyboard Shortcuts Modal
   ======================================== */
.shortcut-group {
  margin-bottom: 0.875rem;
}
.shortcut-group:last-child {
  margin-bottom: 0;
}
.shortcut-group-title {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(107, 114, 128, 0.8);
  margin-bottom: 0.4375rem;
  padding-left: 0.25rem;
}
.dark .shortcut-group-title {
  color: rgba(156, 163, 175, 0.8);
}
.shortcut-list {
  background: rgba(243, 244, 246, 0.5);
  border-radius: var(--radius-lg);
  padding: 0.375rem;
}
.dark .shortcut-list {
  background: rgba(55, 65, 81, 0.35);
}
.shortcut-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4375rem 0.625rem;
  border-radius: var(--radius-md);
}
.shortcut-row:hover {
  background: rgba(255, 255, 255, 0.6);
}
.dark .shortcut-row:hover {
  background: rgba(55, 65, 81, 0.4);
}
.shortcut-row > span:first-child {
  font-size: 0.8125rem;
  color: rgba(55, 65, 81, 0.9);
}
.dark .shortcut-row > span:first-child {
  color: rgba(229, 231, 235, 0.9);
}
.shortcut-keys {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.shortcut-separator {
  font-size: 0.625rem;
  color: rgba(156, 163, 175, 0.7);
  padding: 0 0.125rem;
}
.shortcut-row kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.375rem;
  height: 1.375rem;
  padding: 0 0.375rem;
  background: white;
  border: 1px solid rgba(209, 213, 219, 0.7);
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 0.625rem;
  font-weight: 500;
  color: rgba(55, 65, 81, 0.85);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}
.dark .shortcut-row kbd {
  background: rgba(55, 65, 81, 0.7);
  border-color: rgba(75, 85, 99, 0.7);
  color: rgba(229, 231, 235, 0.85);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
/* ========================================
   Unified Empty States
   ======================================== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl) var(--spacing-lg);
  text-align: center;
}
.empty-state-icon {
  font-size: var(--empty-icon-size);
  opacity: var(--empty-icon-opacity);
  margin-bottom: var(--spacing-md);
  color: var(--empty-text-color);
}
.empty-state-text {
  font-size: 0.875rem;
  color: var(--empty-text-color);
  line-height: 1.5;
}
.empty-state-subtext {
  font-size: 0.8125rem;
  color: var(--empty-text-color);
  opacity: 0.8;
  margin-top: var(--spacing-xs);
}
/* Empty state message (inline variant) */
.empty-state-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
}
.empty-state-message .empty-state-icon {
  font-size: 1.5rem;
  opacity: 0.4;
  margin-bottom: var(--spacing-sm);
  color: var(--empty-text-color);
}
.empty-state-message .empty-state-text {
  font-size: 0.8125rem;
  color: var(--empty-text-color);
}
/* Global Search Empty State Override */
.global-search-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}
.global-search-empty .empty-state-icon {
  font-size: var(--empty-icon-size);
  opacity: var(--empty-icon-opacity);
  margin-bottom: var(--spacing-md);
  color: var(--empty-text-color);
}
.global-search-empty .empty-state-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--empty-text-color);
  margin-bottom: var(--spacing-xs);
}
.global-search-empty .empty-state-subtext {
  font-size: 0.8125rem;
  color: var(--empty-text-color);
  opacity: 0.75;
}
/* Command Palette Empty State Override */
.command-palette-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}
.command-palette-empty .empty-state-icon {
  font-size: 1.75rem;
  opacity: var(--empty-icon-opacity);
  margin-bottom: var(--spacing-md);
  color: var(--empty-text-color);
}
.command-palette-empty .empty-state-text {
  font-size: 0.875rem;
  color: var(--empty-text-color);
  margin-bottom: var(--spacing-xs);
}
.command-palette-empty .empty-state-subtext {
  font-size: 0.75rem;
  color: var(--empty-text-color);
  opacity: 0.75;
}
.after\:absolute::after { content: var(--tw-content); position: absolute; }
.after\:left-\[2px\]::after { content: var(--tw-content); left: 2px; }
.after\:top-\[2px\]::after { content: var(--tw-content); top: 2px; }
.after\:h-5::after { content: var(--tw-content); height: 1.25rem; }
.after\:w-5::after { content: var(--tw-content); width: 1.25rem; }
.after\:rounded-full::after { content: var(--tw-content); border-radius: 9999px; }
.after\:border::after { content: var(--tw-content); border-width: 1px; }
.after\:border-gray-300::after { content: var(--tw-content); --tw-border-opacity: 1; border-color: rgb(209 213 219 / var(--tw-border-opacity, 1)); }
.after\:bg-white::after { content: var(--tw-content); --tw-bg-opacity: 1; background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)); }
.after\:transition-all::after { content: var(--tw-content); transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.after\:content-\[\\\'\\\'\]::after { --tw-content: \'\'; content: var(--tw-content); }
.hover\:border-accent:hover { --tw-border-opacity: 1; border-color: rgb(16 185 129 / var(--tw-border-opacity, 1)); }
.hover\:bg-accent-hover:hover { --tw-bg-opacity: 1; background-color: rgb(5 150 105 / var(--tw-bg-opacity, 1)); }
.hover\:bg-accent\/10:hover { background-color: rgb(16 185 129 / 0.1); }
.hover\:bg-accent\/20:hover { background-color: rgb(16 185 129 / 0.2); }
.hover\:bg-accent\/5:hover { background-color: rgb(16 185 129 / 0.05); }
.hover\:bg-gray-100:hover { --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1)); }
.hover\:bg-gray-200:hover { --tw-bg-opacity: 1; background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1)); }
.hover\:bg-gray-300:hover { --tw-bg-opacity: 1; background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1)); }
.hover\:bg-gray-300\/50:hover { background-color: rgb(209 213 219 / 0.5); }
.hover\:bg-gray-50:hover { --tw-bg-opacity: 1; background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1)); }
.hover\:bg-red-100:hover { --tw-bg-opacity: 1; background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1)); }
.hover\:bg-red-50:hover { --tw-bg-opacity: 1; background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1)); }
.hover\:bg-red-600:hover { --tw-bg-opacity: 1; background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1)); }
.hover\:bg-white\/20:hover { background-color: rgb(255 255 255 / 0.2); }
.hover\:bg-white\/30:hover { background-color: rgb(255 255 255 / 0.3); }
.hover\:bg-yellow-700:hover { --tw-bg-opacity: 1; background-color: rgb(161 98 7 / var(--tw-bg-opacity, 1)); }
.hover\:text-accent:hover { --tw-text-opacity: 1; color: rgb(16 185 129 / var(--tw-text-opacity, 1)); }
.hover\:text-gray-600:hover { --tw-text-opacity: 1; color: rgb(75 85 99 / var(--tw-text-opacity, 1)); }
.hover\:text-gray-700:hover { --tw-text-opacity: 1; color: rgb(55 65 81 / var(--tw-text-opacity, 1)); }
.hover\:text-red-500:hover { --tw-text-opacity: 1; color: rgb(239 68 68 / var(--tw-text-opacity, 1)); }
.hover\:text-red-600:hover { --tw-text-opacity: 1; color: rgb(220 38 38 / var(--tw-text-opacity, 1)); }
.hover\:text-red-700:hover { --tw-text-opacity: 1; color: rgb(185 28 28 / var(--tw-text-opacity, 1)); }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:shadow-md:hover { --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); }
.focus\:border-transparent:focus { border-color: transparent; }
.focus\:ring-2:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.focus\:ring-accent:focus { --tw-ring-opacity: 1; --tw-ring-color: rgb(16 185 129 / var(--tw-ring-opacity, 1)); }
.group:hover .group-hover\:scale-110 { --tw-scale-x: 1.1; --tw-scale-y: 1.1; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.group:hover .group-hover\:text-accent { --tw-text-opacity: 1; color: rgb(16 185 129 / var(--tw-text-opacity, 1)); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.peer:checked ~ .peer-checked\:bg-accent { --tw-bg-opacity: 1; background-color: rgb(16 185 129 / var(--tw-bg-opacity, 1)); }
.peer:checked ~ .peer-checked\:after\:translate-x-full::after { content: var(--tw-content); --tw-translate-x: 100%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.peer:checked ~ .peer-checked\:after\:border-white::after { content: var(--tw-content); --tw-border-opacity: 1; border-color: rgb(255 255 255 / var(--tw-border-opacity, 1)); }
.peer:focus ~ .peer-focus\:outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.peer:focus ~ .peer-focus\:ring-2 { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }
.peer:focus ~ .peer-focus\:ring-accent\/50 { --tw-ring-color: rgb(16 185 129 / 0.5); }
.dark\:divide-gray-700:is(.dark *) > :not([hidden]) ~ :not([hidden]) { --tw-divide-opacity: 1; border-color: rgb(55 65 81 / var(--tw-divide-opacity, 1)); }
.dark\:border-blue-800:is(.dark *) { --tw-border-opacity: 1; border-color: rgb(30 64 175 / var(--tw-border-opacity, 1)); }
.dark\:border-gray-500:is(.dark *) { --tw-border-opacity: 1; border-color: rgb(107 114 128 / var(--tw-border-opacity, 1)); }
.dark\:border-gray-600:is(.dark *) { --tw-border-opacity: 1; border-color: rgb(75 85 99 / var(--tw-border-opacity, 1)); }
.dark\:border-gray-600\/60:is(.dark *) { border-color: rgb(75 85 99 / 0.6); }
.dark\:border-gray-700:is(.dark *) { --tw-border-opacity: 1; border-color: rgb(55 65 81 / var(--tw-border-opacity, 1)); }
.dark\:border-gray-700\/50:is(.dark *) { border-color: rgb(55 65 81 / 0.5); }
.dark\:border-red-800:is(.dark *) { --tw-border-opacity: 1; border-color: rgb(153 27 27 / var(--tw-border-opacity, 1)); }
.dark\:bg-blue-900\/20:is(.dark *) { background-color: rgb(30 58 138 / 0.2); }
.dark\:bg-gray-600:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1)); }
.dark\:bg-gray-700:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1)); }
.dark\:bg-gray-800:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1)); }
.dark\:bg-gray-800\/50:is(.dark *) { background-color: rgb(31 41 55 / 0.5); }
.dark\:bg-gray-800\/90:is(.dark *) { background-color: rgb(31 41 55 / 0.9); }
.dark\:bg-gray-900:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1)); }
.dark\:bg-gray-900\/80:is(.dark *) { background-color: rgb(17 24 39 / 0.8); }
.dark\:bg-red-900\/10:is(.dark *) { background-color: rgb(127 29 29 / 0.1); }
.dark\:bg-red-900\/20:is(.dark *) { background-color: rgb(127 29 29 / 0.2); }
.dark\:bg-red-900\/50:is(.dark *) { background-color: rgb(127 29 29 / 0.5); }
.dark\:fill-gray-700:is(.dark *) { fill: #374151; }
.dark\:text-blue-300:is(.dark *) { --tw-text-opacity: 1; color: rgb(147 197 253 / var(--tw-text-opacity, 1)); }
.dark\:text-blue-400:is(.dark *) { --tw-text-opacity: 1; color: rgb(96 165 250 / var(--tw-text-opacity, 1)); }
.dark\:text-gray-100:is(.dark *) { --tw-text-opacity: 1; color: rgb(243 244 246 / var(--tw-text-opacity, 1)); }
.dark\:text-gray-200:is(.dark *) { --tw-text-opacity: 1; color: rgb(229 231 235 / var(--tw-text-opacity, 1)); }
.dark\:text-gray-300:is(.dark *) { --tw-text-opacity: 1; color: rgb(209 213 219 / var(--tw-text-opacity, 1)); }
.dark\:text-gray-400:is(.dark *) { --tw-text-opacity: 1; color: rgb(156 163 175 / var(--tw-text-opacity, 1)); }
.dark\:text-gray-500:is(.dark *) { --tw-text-opacity: 1; color: rgb(107 114 128 / var(--tw-text-opacity, 1)); }
.dark\:text-gray-600:is(.dark *) { --tw-text-opacity: 1; color: rgb(75 85 99 / var(--tw-text-opacity, 1)); }
.dark\:text-green-400:is(.dark *) { --tw-text-opacity: 1; color: rgb(74 222 128 / var(--tw-text-opacity, 1)); }
.dark\:text-red-400:is(.dark *) { --tw-text-opacity: 1; color: rgb(248 113 113 / var(--tw-text-opacity, 1)); }
.dark\:text-yellow-400:is(.dark *) { --tw-text-opacity: 1; color: rgb(250 204 21 / var(--tw-text-opacity, 1)); }
.dark\:hover\:bg-gray-600:hover:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1)); }
.dark\:hover\:bg-gray-700:hover:is(.dark *) { --tw-bg-opacity: 1; background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1)); }
.dark\:hover\:bg-gray-700\/50:hover:is(.dark *) { background-color: rgb(55 65 81 / 0.5); }
.dark\:hover\:bg-red-900\/20:hover:is(.dark *) { background-color: rgb(127 29 29 / 0.2); }
.dark\:hover\:bg-red-900\/30:hover:is(.dark *) { background-color: rgb(127 29 29 / 0.3); }
.dark\:hover\:bg-red-900\/40:hover:is(.dark *) { background-color: rgb(127 29 29 / 0.4); }
.dark\:hover\:text-gray-200:hover:is(.dark *) { --tw-text-opacity: 1; color: rgb(229 231 235 / var(--tw-text-opacity, 1)); }
.dark\:hover\:text-gray-300:hover:is(.dark *) { --tw-text-opacity: 1; color: rgb(209 213 219 / var(--tw-text-opacity, 1)); }
@media (min-width: 640px) {
 .sm\:inset-auto { inset: auto; }
 .sm\:left-1\/2 { left: 50%; }
 .sm\:top-1\/2 { top: 50%; }
 .sm\:inline { display: inline; }
 .sm\:w-full { width: 100%; }
 .sm\:max-w-2xl { max-width: 42rem; }
 .sm\:-translate-x-1\/2 { --tw-translate-x: -50%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
 .sm\:-translate-y-1\/2 { --tw-translate-y: -50%; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); } }
