/* ===== Educon ERP — Enterprise Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');
@import url('dropdown.css');
@import url('datepicker.css');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ═══════════════════════════════════════════════════════════════
     ALL color variables are injected dynamically by
     public/js/color-palette.js → DASH_PALETTE + HM_PALETTE.
     Any color change in that file propagates here automatically.
     Only structural (non-color) vars are defined below.
     ═══════════════════════════════════════════════════════════════ */
  --sidebar-width: 240px;
  --sidebar-collapsed-width: 72px;
  --radius: 8px;
  --radius-sm: 6px;
}

body {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  overflow-x: hidden;
}

/* ===== TOP NAVBAR ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background:
    linear-gradient(90deg,
      var(--accent-green),
      var(--hm-blue),
      var(--accent-blue),
      var(--hm-white-overlay85),
      var(--hm-blue),
      var(--accent-green)) no-repeat bottom center / 300% 3px,
    var(--accent-blue);
  background-size: 300% 3px, 100% 100%;
  animation: navBorderGlow 8s ease-in-out infinite;
  display: flex;
  align-items: center;
  padding: 0 24px;
  z-index: 100;
  box-shadow: var(--hm-navbar-shadow);
  gap: 0;
  border-radius: 0 0 18px 18px;
  overflow: visible;
}

@keyframes navBorderGlow {
  0% {
    background-position: 0% 100%, 0 0;
  }

  50% {
    background-position: 100% 100%, 0 0;
  }

  100% {
    background-position: 0% 100%, 0 0;
  }
}

/* Brand / Logo */
.topnav-brand {
  display: flex;
  align-items: center;
  margin-left: 32px;
}

.topnav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--hm-text-bright);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.topnav-logo i {
  color: var(--hm-white-overlay85);
}

/* Navigation Links Container */
.topnav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

/* Individual Link / Dropdown Toggle */
.topnav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  color: var(--hm-white-overlay85);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.topnav-link:hover {
  background: var(--hm-white-overlay12);
  color: var(--hm-text-bright);
}

.topnav-link.active,
.topnav-dropdown.active>.topnav-link {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: 8px;
}

/* Dropdown Container */
.topnav-dropdown {
  position: relative;
}

.topnav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--hm-dropdown-shadow);
  padding: 6px;
  z-index: 200;
  animation: dropdownIn 0.2s ease;
}

@keyframes dropdownIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topnav-dropdown.open>.topnav-dropdown-menu {
  display: block;
}

.topnav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s;
}

.topnav-dropdown-item:hover {
  background: var(--hm-bg-deep);
  color: var(--accent-blue);
}

.topnav-dropdown-item.active {
  background: var(--hm-cyan-muted);
  color: var(--accent-blue);
}

.topnav-dropdown-item i {
  color: var(--text-muted);
}

.topnav-dropdown-item.active i,
.topnav-dropdown-item:hover i {
  color: var(--accent-blue);
}

/* Notification Badge */
.topnav-badge {
  background: var(--accent-red);
  color: var(--hm-text-bright);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
  margin-right: 4px;
}

/* Right-side Actions (search + user) */
.topnav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.topnav-search {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hm-white-overlay75);
  cursor: pointer;
  transition: all 0.2s;
}

.topnav-search:hover {
  background: var(--hm-white-overlay12);
  color: var(--hm-text-bright);
}

.topnav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.topnav-user:hover {
  background: var(--hm-white-overlay10);
}

.topnav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hm-white-overlay20);
  color: var(--hm-text-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.topnav-username {
  color: var(--hm-white-overlay90);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.topnav-logout {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.2s;
  background: none;
  border: none;
  font-family: inherit;
}

.topnav-logout:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

/* ===== MAIN & HEADER ===== */
.main {
  margin-top: 60px;
  margin-right: 0;
  margin-left: 0;
  flex: 1;
  min-height: calc(100vh - 60px);
  transition: none;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.page-header {
  padding: 16px 32px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
}

.breadcrumbs a:hover {
  color: var(--accent-blue);
}

.breadcrumbs .current {
  color: var(--text-primary);
  font-weight: 700;
}

.breadcrumbs-separator {
  font-size: 10px;
}

.search-trigger {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: text;
  color: var(--text-muted);
  min-width: 250px;
  transition: border-color .2s;
}

.search-trigger:hover {
  border-color: var(--accent-blue);
}

.search-shortcut {
  background: var(--bg-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-family: monospace;
  border: 1px solid var(--border);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--border);
  padding-right: 16px;
  cursor: pointer;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: bold;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-info .name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.user-info .role {
  font-size: 11px;
  color: var(--text-muted);
}

.content {
  padding: 32px;
  flex: 1;
}

/* ===== CARDS & STATS ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  transition: all .3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 125, 136, 0.08);
  border-color: rgba(2, 125, 136, 0.3);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.stat-card .stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-card .stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 125, 136, 0.06);
  color: var(--accent-blue);
}

.stat-body {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.stat-card .stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.stat-growth {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}

.stat-growth.up {
  background: rgba(0, 214, 127, 0.08);
  color: #059A5B;
}

.stat-growth.down {
  background: rgba(239, 68, 68, 0.08);
  color: #B91C1C;
}

/* ===== TABLES (Enterprise Clean) ===== */
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.table-header {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.table-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.table-filters {
  display: flex;
  gap: 12px;
  align-items: center;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: right;
}

thead th {
  padding: 18px 24px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--border);
  background: #F8FAFB;
  font-weight: 600;
}

tbody td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: middle;
  color: var(--text-primary);
}

tbody tr {
  transition: background .2s ease;
  cursor: default;
}

tbody tr:hover {
  background: #F1F5F9;
}

tbody tr:nth-child(even) {
  background: #FBFCFD;
}

/* Zebra */
tbody tr:last-child td {
  border-bottom: none;
}

/* Dropdown Actions Menu (3 dots) */
.row-actions {
  position: relative;
  text-align: center;
}

.btn-more {
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.btn-more:hover {
  background: var(--border);
  color: var(--text-primary);
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 160px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--hm-dropdown-shadow-sm);
  z-index: 50;
  display: none;
  padding: 4px 0;
  text-align: right;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}

.dropdown-item:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.dropdown-item.danger {
  color: var(--accent-red);
}

.dropdown-item.danger:hover {
  background: var(--hm-red-accent-overlay10);
}

/* ===== BADGES ===== */
.badge-status {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
}

.badge-green {
  background: rgba(0, 214, 127, 0.08);
  color: #059A5B;
  border-color: rgba(0, 214, 127, 0.2);
}

.badge-yellow {
  background: rgba(245, 158, 11, 0.08);
  color: #D97706;
  border-color: rgba(245, 158, 11, 0.2);
}

.badge-red {
  background: rgba(239, 68, 68, 0.06);
  color: #B91C1C;
  border-color: rgba(239, 68, 68, 0.15);
}

.badge-blue {
  background: rgba(2, 125, 136, 0.06);
  color: #027D88;
  border-color: rgba(2, 125, 136, 0.15);
}

.badge-purple {
  background: rgba(139, 92, 246, 0.06);
  color: #7C3AED;
  border-color: rgba(139, 92, 246, 0.15);
}

.badge-gray {
  background: rgba(148, 163, 184, 0.1);
  color: #64748B;
  border-color: rgba(148, 163, 184, 0.2);
}

.badge-gold {
  background: rgba(245, 158, 11, 0.08);
  color: #D97706;
  border-color: rgba(245, 158, 11, 0.2);
}

.badge-cyan {
  background: rgba(2, 125, 136, 0.06);
  color: #027D88;
  border-color: rgba(2, 125, 136, 0.15);
}

.badge-pink {
  background: rgba(236, 72, 153, 0.06);
  color: #BE185D;
  border-color: rgba(236, 72, 153, 0.15);
}

/* ===== GLOBAL SEARCH OVERLAY ===== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: var(--hm-slate-dark-overlay80);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(8px);
  padding-top: 10vh;
}

.search-overlay.show {
  display: flex;
  animation: fadeIn .2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.search-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 90%;
  max-width: 600px;
  box-shadow: 0 20px 40px var(--hm-black-overlay40);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.search-input-wrapper i {
  color: var(--text-muted);
  width: 24px;
  height: 24px;
}

.search-input-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 18px;
  padding: 0 16px;
  font-family: inherit;
  font-weight: 500;
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 8px 0;
  display: none;
}

.search-results.has-data {
  display: block;
}

.search-category {
  padding: 8px 20px;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background .2s;
  border-left: 2px solid transparent;
}

.search-item:hover,
.search-item.highlight {
  background: var(--bg-hover);
  border-left-color: var(--accent-blue);
}

.search-item-info {
  flex: 1;
}

.search-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.search-item-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.search-empty {
  padding: 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.search-hints {
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  background: var(--hm-black-overlay10);
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: var(--text-muted);
  justify-content: center;
}

.search-hints span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.search-hints kbd {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
}


/* ===== BUTTONS ===== */
.btn {
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  transition: all .2s;
}

.btn-primary {
  background: var(--accent-blue);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--accent-blue-dark);
}

.btn-success {
  background: var(--accent-green);
  color: #FFFFFF;
}

.btn-success:hover {
  background: var(--accent-green-dark);
}

.btn-danger {
  background: var(--accent-red);
  color: #FFFFFF;
}

.btn-danger:hover {
  background: var(--accent-red-dark);
}

.btn-warning {
  background: var(--accent-orange);
  color: #FFFFFF;
}

.btn-warning:hover {
  background: var(--accent-orange-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.btn-sm {
  padding: 5px 10px;
  font-size: 11px;
}

.btn-icon {
  padding: 6px;
  width: 30px;
  height: 30px;
  justify-content: center;
}

.btn-icon i {
  width: 16px;
  height: 16px;
}

/* ===== INPUTS ===== */
.input,
select.input {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border .2s;
}

.input:focus {
  border-color: var(--accent-blue);
}

.input-sm {
  padding: 5px 10px;
  font-size: 12px;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--hm-black-overlay70);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn .25s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(.95) translateY(10px);
  }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-start;
  gap: 8px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group .input {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  animation: toastIn .3s ease;
  min-width: 280px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.toast-success {
  background: var(--accent-green);
}

.toast-error {
  background: var(--accent-red);
}

.toast-info {
  background: var(--accent-blue);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
}

/* ===== PIPELINE (Leads) ===== */
.pipeline-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.pipeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 1px 3px var(--hm-black-overlay10);
}

.pipeline-card:hover {
  transform: translateY(-2px);
  border-color: var(--hm-white-overlay10);
}

.pipeline-card.active-filter {
  border-color: var(--accent-blue);
  background: var(--bg-card-hover);
  box-shadow: inset 0 2px 0 var(--accent-blue);
}

.pipeline-card .pipe-val {
  font-size: 24px;
  font-weight: 800;
}

.pipeline-card .pipe-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== MISC ===== */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-muted);
}

.empty-state i {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: .4;
}

.empty-state p {
  font-size: 15px;
  font-weight: 500;
}

.action-btns {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.class-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
}

.class-A {
  color: var(--accent-gold);
  border-color: var(--hm-gold-overlay30);
}

.class-B {
  color: var(--accent-blue-light);
  border-color: var(--hm-blue-overlay30);
}

.class-C {
  color: var(--accent-green-light);
  border-color: var(--hm-green-overlay30);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .sidebar {
    height: auto;
    flex-wrap: wrap;
    padding: 8px 12px;
  }

  .topnav-links {
    display: none;
  }

  .topnav-brand {
    margin-left: 0;
  }

  .main {
    margin-top: 56px;
  }

  .page-header {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .search-trigger {
    flex: 1;
    min-width: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pipeline-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}