.sidebar {
  width: 250px;
  height: calc(100vh - 56px); /* Account for top navbar */
  position: fixed;
  top: 56px; /* Below navbar */
  left: 0;
  background-color: #ffffff;
  border-right: 1px solid #e0e0e0;
  color: #333333;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 1000;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-header h1 {
  font-size: 18px;
  font-weight: 600;
  color: #333333;
}

.sidebar-actions {
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.sidebar-actions .btn-primary {
  width: 100%;
  background-color: #007bff;
}

.sidebar-nav {
  padding: 16px 0;
  border-bottom: 1px solid #e0e0e0;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #333333;
  text-decoration: none;
  transition: all 0.2s;
  gap: 12px;
}

.nav-item:hover {
  background-color: #e0e0e0;
  color: #007bff;
}

.nav-item.active {
  background-color: #e0e0e0;
  color: #007bff;
}

.nav-item i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.sidebar-section {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
}

.sidebar-section h3 {
  font-size: 12px;
  text-transform: uppercase;
  color: #6c757d;
  margin-bottom: 12px;
  font-weight: 600;
}

.recent-list {
  list-style: none;
}

.recent-list li {
  padding: 8px 0;
  color: #333333;
  cursor: pointer;
  font-size: 13px;
}

.recent-list li:hover {
  color: #007bff;
}

.recent-list li[data-report-id] {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-list li.recent-empty {
  color: #9ca3af;
  cursor: default;
  font-style: italic;
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid #e0e0e0;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: #333333;
  text-decoration: none;
  font-size: 13px;
}

.footer-link:hover {
  color: #007bff;
}

.footer-link i {
  font-size: 16px;
}

.user-block {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px;
  background-color: #f8f9fa;
  border-radius: 4px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #007bff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.username {
  font-size: 13px;
  color: #333333;
}
