/* Dashboard Layout - Full Width */
.dashboard-container {
  display: flex;
  min-height: calc(100vh - 80px);
  background-color: #f8f9fa;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Sidebar Styles */
.dashboard-sidebar {
  width: 280px;
  background: rgb(169 180 189 / 58%);
  color: #333;
  padding: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.sidebar-header {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.3);
}

.sidebar-header h5 {
  color: #333;
  font-weight: 600;
  margin: 0;
}

.sidebar-menu {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  min-height: calc(100% - 80px);
}

.menu-section {
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
}

.menu-section-title {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #666;
  margin-bottom: 0.25rem;
}

/* Sidebar Navigation Links */
.dashboard-sidebar .nav-link {
  color: #333;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 0;
  cursor: pointer;
  pointer-events: auto;
}

.dashboard-sidebar .nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
}

.dashboard-sidebar .nav-link.active {
  background: rgba(0, 0, 0, 0.08);
  color: #000;
  font-weight: 500;
}

.dashboard-sidebar .nav-link i {
  width: 20px;
  text-align: center;
}

.dashboard-sidebar .badge {
  font-size: 0.7rem;
}

.dashboard-sidebar .text-white-50 {
  color: #666 !important;
}

/* Collapsible Menu Styling - Simple */
.dashboard-sidebar .nav-link[data-bs-toggle="collapse"] {
  cursor: pointer;
}

.dashboard-sidebar .nav-link[data-bs-toggle="collapse"] .fa-chevron-down {
  font-size: 0.75rem;
}

.dashboard-sidebar .collapse .nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #555;
}

.dashboard-sidebar .collapse .nav-link:hover {
  background: rgba(0, 0, 0, 0.03);
  color: #000;
}

.dashboard-sidebar .collapse .nav-link.active {
  color: #000;
  font-weight: 500;
}

/* Dashboard Content */
.dashboard-content {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  max-width: 100%;
}

.dashboard-header {
  margin-bottom: 2rem;
}

.dashboard-header h2 {
  color: #0e3880;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Dashboard Tabs */
.dashboard-tabs {
  border-bottom: 2px solid #e0e0e0;
}

.dashboard-tabs .nav-link {
  color: #666;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 1rem 1.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dashboard-tabs .nav-link:hover {
  color: #0e3880;
  border-bottom-color: #0e3880;
  background: transparent;
}

.dashboard-tabs .nav-link.active {
  color: #0e3880;
  border-bottom-color: #0e3880;
  background: transparent;
}

.dashboard-tabs .nav-link i {
  opacity: 0.7;
}

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

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.5rem;
  color: white;
}

.stat-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #2c3e50;
}

.stat-content p {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.stat-content small {
  font-size: 0.8rem;
}

/* Activity List */
.activity-list {
  max-height: 400px;
  overflow-y: auto;
}

.activity-item {
  display: flex;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
}

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

.activity-icon {
  margin-right: 1rem;
  padding-top: 0.25rem;
}

.activity-icon i {
  font-size: 0.5rem;
}

.activity-content {
  flex: 1;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .dashboard-container {
    flex-direction: column;
  }

  .dashboard-sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .dashboard-content {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .stat-content h3 {
    font-size: 1.5rem;
  }
}
