@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-light: #eff6ff;
  --secondary: #64748b;
  --bg-color: #f1f5f9;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --success: #10b981;
  --success-light: #d1fae5;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --info: #3b82f6;
  --info-light: #dbeafe;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
  --border-radius: 16px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --primary: #60a5fa;
  --primary-hover: #3b82f6;
  --primary-light: rgba(59, 130, 246, 0.15);
  --secondary: #94a3b8;
  --bg-color: #1e1e2d;
  --card-bg: #2b2b36;
  --text-main: #f8fafc;
  --text-muted: #a0a0b0;
  --border-color: #3f3f4a;
  --success: #34d399;
  --success-light: rgba(16, 185, 129, 0.15);
  --warning: #fbbf24;
  --warning-light: rgba(245, 158, 11, 0.15);
  --danger: #f87171;
  --danger-light: rgba(239, 68, 68, 0.15);
  --info: #60a5fa;
  --info-light: rgba(59, 130, 246, 0.15);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
}

/* Sidebar Navigation */
.sidebar {
  width: 250px;
  background-color: var(--card-bg);
  border-right: none;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 10;
  flex-shrink: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

.nav-brand .logo-icon {
  background: linear-gradient(135deg, var(--primary), #818cf8);
  color: white;
  padding: 0.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover {
  background-color: #f1f5f9;
  color: var(--text-main);
}

.nav-link.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

/* Main Layout */
.main-content {
  flex: 1;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Page Header */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.page-title h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.page-title p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons & Inputs */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  min-height: 40px;
  box-sizing: border-box;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: #f1f5f9;
}

.input,
.select {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-main);
  outline: none;
  font-family: inherit;
  transition: var(--transition);
  width: 100%;
}

.input:focus,
.select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.kpi-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border: 1px solid transparent;
  transition: var(--transition);
}

.kpi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.kpi-content h3 {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.kpi-content .value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.kpi-content .subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.kpi-icon {
  padding: 0.75rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Task List Controls */
.controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.tabs {
  display: flex;
  gap: 4px;
  background-color: var(--bg-color);
  padding: 0.25rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.tab {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: var(--transition);
}

.tab.active {
  background-color: var(--card-bg);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.filters {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-wrapper .search-icon {
  position: absolute;
  left: 0.75rem;
  color: var(--text-muted);
  width: 16px;
  height: 16px;
}

.search-wrapper input {
  padding-left: 2.25rem;
  width: 250px;
}

.filters select {
  width: auto;
}

/* Task Cards */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.task-card {
  background: var(--card-bg);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.task-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.task-checkbox-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.task-content {
  flex: 1;
}

.task-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.task-title:hover {
  color: var(--primary);
}

.task-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.task-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
}

.tag-health {
  background-color: #dcfce7;
  color: #166534;
}

.tag-finance {
  background-color: #dbeafe;
  color: #1e40af;
}

.tag-home {
  background-color: #ffedd5;
  color: #9a3412;
}

.tag-work {
  background-color: #f3e8ff;
  color: #6b21a8;
}

.tag-learning {
  background-color: #fce7f3;
  color: #9d174d;
}

.priority-high {
  background-color: var(--danger-light);
  color: var(--danger);
}

.priority-medium {
  background-color: var(--warning-light);
  color: #b45309;
}

.priority-low {
  background-color: var(--info-light);
  color: var(--info);
  text-transform: capitalize;
}

.time-info {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-icon {
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.status-icon:hover {
  color: var(--primary);
}

.status-active {
  color: var(--primary);
}

/* Reports Specific */
.insights-bar {
  background: var(--card-bg);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.insights-bar h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.insights-content {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
}

.insight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.insight-good {
  color: var(--success);
}

.insight-bad {
  color: var(--danger);
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.chart-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  box-shadow: var(--shadow-md);
}

.chart-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.chart-container {
  height: 250px;
  width: 100%;
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 250px;
  overflow-y: auto;
}

.recent-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.recent-item:last-child {
  border-bottom: none;
}

.recent-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.recent-item-title {
  font-weight: 500;
  font-size: 0.875rem;
}

.recent-item-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.recent-actual-time {
  background-color: var(--success-light);
  color: var(--success);
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.875rem;
}


/* Date Range Popover Styles */
.date-picker-wrapper {
  position: relative;
  display: inline-block;
}

.date-range-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  width: 300px;
  z-index: 100;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Quick Add Dropdown Styles */
.quick-add-wrapper {
  position: relative;
}

.quick-add-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1000;
  padding-top: 6px;
  min-width: 250px;
}

.preset-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.preset-btn {
  padding: 0.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.preset-btn:hover,
.preset-btn.active {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.custom-range-inputs {
  display: flex;
  gap: 0.5rem;
}

.custom-range-inputs>div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.custom-range-inputs label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.custom-range-inputs input {
  padding: 0.4rem;
  font-size: 0.8rem;
}

.popover-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}


/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  animation: fadeIn 0.2s ease-out forwards;
}

.modal-content {
  background: var(--card-bg);
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease-out forwards;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.25rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.icon-btn:hover {
  background: var(--border-color);
  color: var(--text-main);
}

.modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-body label {
  margin-bottom: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-body .form-group {
  display: flex;
  flex-direction: column;
}

.textarea-input {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.date-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.date-input-wrapper .date-icon {
  position: absolute;
  left: 0.75rem;
  color: var(--text-muted);
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.date-with-icon {
  padding-left: 2.25rem;
  width: 100%;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group.half {
  flex: 1;
}

.modal-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideUp 0.4s ease-out;
}

/* Responsiveness - Tablet */
@media (max-width: 768px) {
  .app-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .nav-brand {
    margin-bottom: 0;
    padding: 0;
    font-size: 1.1rem;
  }

  .nav-links {
    flex-direction: row;
    gap: 0.25rem;
  }

  .nav-link {
    padding: 0.5rem;
  }

  .nav-link span {
    display: none;
  }

  .main-content {
    padding: 1rem;
  }

  /* Page header stacks vertically */
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .page-title h1 {
    font-size: 1.5rem;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  /* KPI grid: 2 columns on tablet */
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }

  .kpi-card {
    padding: 1rem;
  }

  .kpi-content .value {
    font-size: 1.5rem;
  }

  /* Controls bar stacks */
  .controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  /* Tabs wrap naturally */
  .tabs {
    flex-wrap: wrap;
  }

  .tab {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }

  /* Filters stack */
  .filters {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .search-wrapper {
    width: 100%;
  }

  .search-wrapper input {
    width: 100%;
  }

  .filters select {
    width: 100%;
  }

  /* Charts single column */
  .charts-grid {
    grid-template-columns: 1fr;
  }

  /* Modal full width */
  .modal-content {
    max-width: 95vw !important;
    border-radius: 12px;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-header {
    padding: 1rem;
  }

  .modal-footer {
    padding: 1rem;
    flex-wrap: wrap;
  }

  /* Bulk action bar */
  .bulk-action-bar {
    padding: 0.5rem 1rem;
    gap: 0.75rem;
    width: 90vw;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 16px;
  }

  .bulk-actions {
    gap: 0.75rem;
  }

  .bulk-action-btn {
    font-size: 0.8rem;
    gap: 0.25rem;
  }

  /* Date popover - fixed overlay on mobile */
  .date-picker-wrapper {
    position: static;
  }

  .date-range-popover {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: calc(100vw - 2rem);
    height: max-content;
    max-width: 340px;
    z-index: 200;
  }

  .custom-range-inputs {
    flex-direction: column;
    gap: 0.75rem;
  }


  /* Quick-add dropdown - fixed overlay on mobile */
  .quick-add-wrapper {
    position: static;
  }

  .quick-add-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: calc(100vw - 2rem);
    height: max-content;
    max-width: 340px;
    z-index: 200;
    padding-top: 0;
    min-width: unset;
  }


  /* Insights bar */
  .insights-content {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Theme toggle */
  .theme-toggle-btn {
    top: 0.75rem !important;
    right: 0.75rem !important;
    width: 36px !important;
    height: 36px !important;
  }
}

/* Responsiveness - Small Phone */
@media (max-width: 480px) {
  .main-content {
    padding: 0.75rem;
  }

  .page-title h1 {
    font-size: 1.25rem;
  }

  .page-title p {
    font-size: 0.75rem;
  }

  /* KPI single column on phones */
  .kpi-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }

  .kpi-content .value {
    font-size: 1.75rem;
  }

  /* Task cards compact */
  .task-card {
    padding: 0.75rem 1rem;
  }

  .task-meta {
    gap: 0.5rem;
  }

  /* Tabs compact */
  .tab {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
  }

  /* Form rows stack on small screens */
  .form-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Bulk action bar */
  .bulk-action-bar {
    bottom: 1rem;
    width: 95vw;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }

  .bulk-selection-count {
    font-size: 0.75rem;
    padding-right: 0.75rem;
  }

  /* Date popover */
  .date-range-popover {
    width: 260px;
    right: -1rem;
  }
}

/* Bulk Action Bar */
.bulk-action-bar {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #0f172a;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  z-index: 40;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
  opacity: 0;
  visibility: hidden;
}

.bulk-action-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.bulk-selection-count {
  font-weight: 500;
  font-size: 0.875rem;
  border-right: 1px solid #334155;
  padding-right: 1.5rem;
}

.bulk-actions {
  display: flex;
  gap: 1.25rem;
}

.bulk-action-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.bulk-action-btn:hover {
  color: white;
}

.bulk-action-btn.delete {
  color: #f87171;
}

.bulk-action-btn.delete:hover {
  color: #fca5a5;
}

/* Override custom select styles inside bulk action bar */
.bulk-actions .custom-select-button {
  background: transparent;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
  padding: 0;
  min-height: auto;
  border-radius: 0;
}

.bulk-actions .custom-select-button:hover {
  color: white;
  border-color: transparent;
}

.bulk-actions .custom-select-options {
  top: auto;
  bottom: calc(100% + 12px);
  color: var(--text-main);
}


.bulk-close-btn {
  background: transparent;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
}

.bulk-close-btn:hover {
  color: white;
}

.task-card.selected {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6;
}

/* Custom Select Dropdowns */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-button {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  min-height: 40px;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-main);
  cursor: pointer;
  width: 100%;
  font-size: 14px;
  transition: var(--transition);
  user-select: none;
}

.custom-select-button:hover {
  border-color: #cbd5e1;
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  z-index: 1000;
  max-height: 250px;
  overflow-y: auto;
  display: none;
}

.custom-select-options.open {
  display: block;
}

.custom-select-option {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
}

.custom-select-option:hover {
  background-color: #f1f5f9;
}

.quick-add-item:hover {
  background-color: var(--bg-color);
}