/* ==========================================================================
   Construct-Pro ERP — Global Design System
   Premium dark-sidebar, clean content area, modern typography
   ========================================================================== */

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

/* ── CSS Custom Properties ───────────────────────────────────────────────── */
:root {
  /* Brand Palette */
  --brand-900: #0f1623;
  --brand-800: #1a2436;
  --brand-700: #1e2d45;
  --brand-600: #243554;
  --brand-500: #2d4168;
  --brand-400: #3a5580;
  --brand-300: #5272a0;
  --brand-200: #7a99c2;
  --brand-100: #c3d5ee;
  --brand-50:  #edf3fb;

  /* Accent */
  --accent:        #f59e0b;
  --accent-hover:  #d97706;
  --accent-light:  #fef3c7;

  /* Success / Danger / Info */
  --success:  #10b981;
  --danger:   #ef4444;
  --warning:  #f59e0b;
  --info:     #3b82f6;

  /* Neutral */
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Layout */
  --sidebar-width:        260px;
  --sidebar-collapsed-w:  72px;
  --topbar-height:        64px;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 30px rgba(0,0,0,.12);
  --transition:  0.22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset / Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  background: var(--gray-100);
  color: var(--gray-800);
  -webkit-font-smoothing: antialiased;
}

/* ── App Shell ────────────────────────────────────────────────────────────── */
.app-shell {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-width);
  min-height: 100vh;
  background: linear-gradient(180deg, var(--brand-900) 0%, var(--brand-800) 100%);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0; top: 0; bottom: 0;
  z-index: 1000;
  transition: width var(--transition);
  overflow: hidden;
  box-shadow: 4px 0 20px rgba(0,0,0,.25);
}

.sidebar.collapsed { width: var(--sidebar-collapsed-w); }

/* Brand logo area */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  flex-shrink: 0;
}

.sidebar-brand-icon {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245,158,11,.4);
}

.sidebar-brand-icon i {
  color: white;
  font-size: 17px;
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity var(--transition), width var(--transition);
}

.sidebar-brand-text .brand-name {
  font-size: 15px;
  font-weight: 700;
  color: white;
  white-space: nowrap;
  letter-spacing: -.3px;
}

.sidebar-brand-text .brand-sub {
  font-size: 10px;
  color: var(--brand-200);
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
}

.sidebar.collapsed .sidebar-brand-text { opacity: 0; width: 0; }

/* Collapse toggle button */
.sidebar-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  margin: 12px auto;
  border-radius: var(--radius-sm);
  border: none;
  background: rgba(255,255,255,.08);
  color: var(--brand-200);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  flex-shrink: 0;
}

.sidebar-toggle-btn:hover {
  background: rgba(255,255,255,.15);
  color: white;
}

/* Nav scroll area */
.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px 0 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}

.sidebar-scroll::-webkit-scrollbar { width: 4px; }
.sidebar-scroll::-webkit-scrollbar-track { background: transparent; }
.sidebar-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

/* Section labels */
.sidebar-section-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brand-300);
  padding: 16px 20px 6px;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity var(--transition);
}

.sidebar.collapsed .sidebar-section-label { opacity: 0; }

/* Nav items */
.sidebar-nav { list-style: none; margin: 0; padding: 0; }

.sidebar-nav-item { display: flex; flex-direction: column; }

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  margin: 1px 10px;
  border-radius: var(--radius-md);
  color: var(--brand-100);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  position: relative;
}

.sidebar-nav-link i {
  font-size: 15px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  opacity: .8;
  transition: opacity var(--transition), transform var(--transition);
}

.sidebar-nav-link span {
  transition: opacity var(--transition);
}

.sidebar.collapsed .sidebar-nav-link span { opacity: 0; }
.sidebar.collapsed .sidebar-nav-link { justify-content: center; padding: 10px; margin: 1px 8px; }
.sidebar.collapsed .sidebar-nav-link i { width: auto; }

.sidebar-nav-link:hover {
  background: rgba(255,255,255,.09);
  color: white;
}

.sidebar-nav-link:hover i { opacity: 1; transform: scale(1.1); }

.sidebar-nav-link.active {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(245,158,11,.35);
}

.sidebar-nav-link.active i { opacity: 1; }

/* Sidebar footer (user info) */
.sidebar-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-footer-avatar {
  width: 36px; height: 36px;
  background: var(--brand-500);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 13px;
  color: white;
  text-transform: uppercase;
}

.sidebar-footer-info {
  overflow: hidden;
  transition: opacity var(--transition);
}

.sidebar-footer-info .user-name {
  font-size: 13px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-footer-info .user-role {
  font-size: 10.5px;
  color: var(--brand-200);
  white-space: nowrap;
}

.sidebar.collapsed .sidebar-footer-info { opacity: 0; width: 0; }

/* ── Main Content Area ────────────────────────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: margin-left var(--transition);
  min-height: 100vh;
}

.sidebar.collapsed ~ .main-content { margin-left: var(--sidebar-collapsed-w); }

/* ── Top Header ───────────────────────────────────────────────────────────── */
.top-header {
  height: var(--topbar-height);
  background: white;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.top-header .breadcrumb {
  font-size: 13px;
  margin: 0;
}

.top-header .breadcrumb-item a {
  color: var(--gray-400);
  text-decoration: none;
}

.top-header .breadcrumb-item.active { color: var(--gray-700); font-weight: 600; }

/* Header right actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-icon-btn {
  width: 38px; height: 38px;
  border: none;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
  position: relative;
}

.header-icon-btn:hover { background: var(--gray-200); color: var(--gray-700); }

.header-badge {
  position: absolute;
  top: 5px; right: 5px;
  width: 8px; height: 8px;
  background: var(--danger);
  border-radius: 50%;
  border: 2px solid white;
}

.header-user-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
  color: var(--gray-700);
}

.header-user-btn:hover { background: var(--gray-200); }

.header-user-avatar {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-400));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 12px;
}

.header-user-name {
  font-size: 13px;
  font-weight: 600;
}

/* ── Content Wrapper ──────────────────────────────────────────────────────── */
.content-wrapper {
  padding: 28px 28px 40px;
  flex: 1;
}

/* ── Flash Alerts ─────────────────────────────────────────────────────────── */
.flash-container { margin-bottom: 20px; }

.alert {
  border: none;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
}

.alert-danger {
  background: #fee2e2;
  color: #991b1b;
}

.alert-warning {
  background: #fef3c7;
  color: #92400e;
}

/* ── Cards ────────────────────────────────────────────────────────────────── */
.card {
  border: 1px solid var(--gray-200) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: box-shadow var(--transition);
}

.card:hover { box-shadow: var(--shadow-md) !important; }

.card-header {
  background: white !important;
  border-bottom: 1px solid var(--gray-200) !important;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  padding: 16px 20px !important;
}

.card-body { padding: 20px !important; }

.card-footer {
  background: var(--gray-50) !important;
  border-top: 1px solid var(--gray-200) !important;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg) !important;
  padding: 12px 20px !important;
}

/* Stat / KPI cards */
.stat-card {
  border-radius: var(--radius-lg) !important;
  border: none !important;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg) !important; }

.stat-card .stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.stat-card .stat-value {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-size: 12.5px;
  opacity: .75;
  font-weight: 500;
}

/* ── Tables ───────────────────────────────────────────────────────────────── */
.table {
  font-size: 13.5px;
}

.table thead th {
  background: var(--gray-50) !important;
  color: var(--gray-500);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 16px;
  white-space: nowrap;
}

.table td {
  padding: 13px 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.table tbody tr:last-child td { border-bottom: none; }

.table-hover tbody tr:hover td {
  background: var(--brand-50);
}

.table tfoot th {
  padding: 12px 16px;
  font-size: 13px;
  background: var(--gray-50) !important;
  border-top: 2px solid var(--gray-200);
}

/* ── Forms ────────────────────────────────────────────────────────────────── */
.form-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.form-control, .form-select {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 9px 13px;
  font-size: 13.5px;
  color: var(--gray-800);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: white;
}

.form-control:focus, .form-select:focus {
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px rgba(50,81,128,.12);
  outline: none;
}

.form-control::placeholder { color: var(--gray-400); }

textarea.form-control { resize: vertical; min-height: 80px; }

.form-text {
  font-size: 11.5px;
  color: var(--gray-400);
  margin-top: 4px;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 18px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  line-height: 1.4;
}

.btn-sm { padding: 6px 13px; font-size: 12px; }
.btn-lg { padding: 12px 24px; font-size: 15px; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-500) 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(30,45,69,.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-600) 100%);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(30,45,69,.35);
}

.btn-success {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(16,185,129,.25);
}

.btn-success:hover { background: linear-gradient(135deg, #047857 0%, #059669 100%); color: white; }

.btn-danger {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(239,68,68,.25);
}

.btn-danger:hover { background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%); color: white; }

.btn-outline-primary {
  border: 1.5px solid var(--brand-400) !important;
  color: var(--brand-500);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--brand-50);
  color: var(--brand-700);
  border-color: var(--brand-600) !important;
}

.btn-outline-secondary {
  border: 1.5px solid var(--gray-300) !important;
  color: var(--gray-600);
  background: transparent;
}

.btn-outline-secondary:hover { background: var(--gray-100); color: var(--gray-800); }

.btn-outline-danger {
  border: 1.5px solid #fca5a5 !important;
  color: #dc2626;
  background: transparent;
}

.btn-outline-danger:hover { background: #fee2e2; color: #b91c1c; }

.btn-secondary {
  background: var(--gray-200);
  color: var(--gray-700);
}

.btn-secondary:hover { background: var(--gray-300); color: var(--gray-900); }

/* ── Badges ───────────────────────────────────────────────────────────────── */
.badge {
  font-weight: 600;
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 20px;
  letter-spacing: .2px;
}

.badge.bg-success    { background: #d1fae5 !important; color: #065f46 !important; }
.badge.bg-danger     { background: #fee2e2 !important; color: #991b1b !important; }
.badge.bg-warning    { background: #fef3c7 !important; color: #92400e !important; }
.badge.bg-primary    { background: var(--brand-100) !important; color: var(--brand-700) !important; }
.badge.bg-secondary  { background: var(--gray-200) !important; color: var(--gray-700) !important; }
.badge.bg-info       { background: #dbeafe !important; color: #1e40af !important; }

/* ── Pagination ───────────────────────────────────────────────────────────── */
.pagination {
  margin: 0;
  gap: 4px;
}

.page-link {
  border-radius: var(--radius-md) !important;
  border: 1.5px solid var(--gray-200) !important;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 13px;
  transition: all var(--transition);
}

.page-link:hover { background: var(--brand-50); color: var(--brand-600); border-color: var(--brand-200) !important; }
.page-item.active .page-link {
  background: var(--brand-600) !important;
  border-color: var(--brand-600) !important;
  color: white;
  box-shadow: 0 2px 8px rgba(30,45,69,.25);
}

/* ── Modals ───────────────────────────────────────────────────────────────── */
.modal-content {
  border: none !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: 0 25px 60px rgba(0,0,0,.2) !important;
  overflow: hidden;
}

.modal-header {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200) !important;
  padding: 18px 24px !important;
}

.modal-title { font-weight: 700; font-size: 16px; color: var(--gray-800); }

.modal-body { padding: 24px !important; }

.modal-footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200) !important;
  padding: 16px 24px !important;
  gap: 8px;
}

/* ── Progress Bar ─────────────────────────────────────────────────────────── */
.progress {
  border-radius: 20px;
  background: var(--gray-200);
  height: 8px;
  overflow: hidden;
}

.progress-bar {
  border-radius: 20px;
  transition: width .6s ease;
}

/* ── Dropdown ─────────────────────────────────────────────────────────────── */
.dropdown-menu {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  font-size: 13px;
}

.dropdown-item {
  border-radius: var(--radius-md);
  padding: 9px 14px;
  color: var(--gray-700);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background var(--transition);
}

.dropdown-item:hover { background: var(--brand-50); color: var(--brand-700); }
.dropdown-item i { width: 16px; text-align: center; color: var(--gray-400); }

.dropdown-divider { border-color: var(--gray-200); margin: 6px 0; }
.dropdown-header { color: var(--gray-400); font-size: 11px; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; padding: 6px 14px; }

/* ── Page Title row ───────────────────────────────────────────────────────── */
.page-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.4px;
  margin: 0;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.app-footer {
  background: white;
  border-top: 1px solid var(--gray-200);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-400);
}

/* ── Auth / Login ─────────────────────────────────────────────────────────── */
.auth-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 50%, var(--brand-800) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-wrapper::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,.15) 0%, transparent 70%);
  border-radius: 50%;
}

.auth-wrapper::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(50,81,128,.3) 0%, transparent 70%);
  border-radius: 50%;
}

.auth-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 32px 80px rgba(0,0,0,.3);
  position: relative;
  z-index: 1;
}

.auth-card .auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}

.auth-card .auth-logo-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(30,45,69,.4);
}

.auth-card .auth-logo-icon i { color: var(--accent); font-size: 22px; }

.auth-card .auth-logo-text .title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  letter-spacing: -.4px;
}

.auth-card .auth-logo-text .sub {
  font-size: 11px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 2px;
}

/* ── Utility ──────────────────────────────────────────────────────────────── */
.text-primary { color: var(--brand-600) !important; }
.bg-primary   { background: var(--brand-600) !important; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.font-monospace { font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: 12.5px; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 64px 32px;
  color: var(--gray-400);
}

.empty-state i { font-size: 42px; margin-bottom: 16px; opacity: .4; display: block; }
.empty-state h6 { font-size: 15px; font-weight: 600; color: var(--gray-500); margin-bottom: 6px; }
.empty-state p { font-size: 13px; margin: 0; }

/* ── Mobile Responsive ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: var(--sidebar-width) !important;
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0 !important;
  }

  .content-wrapper {
    padding: 20px 16px 32px;
  }

  .top-header { padding: 0 16px; }

  .auth-card {
    padding: 32px 24px;
    margin: 16px;
  }
}

/* ── Smooth page animations ───────────────────────────────────────────────── */
.content-wrapper > * {
  animation: fadeInUp .3s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Tooltip-style title for collapsed sidebar items ─────────────────────── */
.sidebar.collapsed .sidebar-nav-link {
  position: relative;
}
