/* ===== Base Styles ===== */
:root {
  --primary: #4e73df;
  --primary-dark: #2e59d9;
  --secondary: #858796;
  --success: #1cc88a;
  --info: #36b9cc;
  --warning: #f6c23e;
  --danger: #e74a3b;
  --light: #f8f9fc;
  --dark: #5a5c69;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
}



/* ===== Sidebar ===== */
.sidebar {
  height: 100vh;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.sidebar .nav-link {
  color: rgba(0, 110, 161, 0.8);
  padding: 0.75rem 1rem;
  margin-bottom: 0.25rem;
}

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

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

/* ===== Dashboard Cards ===== */
.card {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1.5rem 0 rgba(58, 59, 69, 0.2);
}

.card-header {
  background-color: #f8f9fc;
  border-bottom: 1px solid #e3e6f0;
}

/* ===== Stats Cards ===== */
.stat-card {
  border-left: 0.25rem solid var(--primary);
}

.stat-card .card-body {
  padding: 1rem 1.5rem;
}

.stat-card-icon {
  font-size: 2rem;
  opacity: 0.3;
}

/* ===== Dark Mode ===== */
[data-bs-theme="dark"] {
  --primary: #6a4c93;
  --primary-dark: #4d3668;
  
  body {
    background-color: #1a1a2e;
    color: #e2e8f0;
  }
  
  .card {
    background-color: #16213e;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(0, 0, 0, 0.3);
  }
  
  .card-header {
    background-color: #1e293b;
    border-bottom-color: #2d3748;
  }
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .sidebar {
    height: auto;
    position: static;
  }
  
  .stat-card .card-body {
    padding: 1rem;
  }
}

.navbarContent{
  display: flex;
}