/* Sidebar */
.sidebar {
  position: fixed;
  top: 56px;
  left: 0;
  width: 220px;
  height: calc(100vh - 56px);
  background: #212529;
  padding: 1rem 0;
  overflow-y: auto;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.sidebar .nav-link {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s;
}

.sidebar .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-left: 3px solid #0d6efd;
}

.sidebar .nav-link i {
  font-size: 1.1rem;
  width: 1.5rem;
  text-align: center;
}

/* Main content */
.main-content {
  margin-left: 220px;
  margin-top: 56px;
  min-height: calc(100vh - 56px);
  background: #f8f9fa;
}

/* Mobile sidebar */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

@media (max-width: 991.98px) {
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.show {
    transform: translateX(0);
  }
  
  .sidebar-overlay.show {
    display: block;
  }
  
  .main-content {
    margin-left: 0;
  }
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

/* Tables */
.table th {
  font-weight: 600;
  background: #f8f9fa;
}

/* Badges */
.badge {
  font-weight: 500;
}

/* Buttons */
.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.8125rem;
}
