body {
  background-color: #f8f9fa;
}

.brand-logo {
  color: #0d6efd;
}

.divider-text {
  position: relative;
  text-align: center;
  color: #6c757d;
}

.divider-text::before,
.divider-text::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background-color: #dee2e6;
}

.divider-text::before {
  left: 0;
}

.divider-text::after {
  right: 0;
}

.card {
  border-radius: 1rem;
}

.form-control, .form-select {
  padding: 0.75rem 1rem;
}

.btn {
  padding: 0.75rem 1rem;
}

.btn-outline-dark:hover {
  background-color: #f8f9fa;
  color: #212529;
  border-color: #dee2e6;
}

.btn img {
  object-fit: contain;
}
:root {
  --sidebar-width: 260px;
}

/* Add these new styles for dark mode and menu toggle */
[data-bs-theme="dark"] {
  --bs-body-bg: #1a1a1a;
  --bs-body-color: #e0e0e0;
}

[data-bs-theme="dark"] .sidebar,
[data-bs-theme="dark"] .stat-card,
[data-bs-theme="dark"] .top-header {
  background: #242424;
  border-color: #333;
}

[data-bs-theme="dark"] .nav-link {
  color: #a0a0a0;
}

[data-bs-theme="dark"] .nav-link:hover {
  background: #333;
  color: #fff;
}

[data-bs-theme="dark"] .search-box {
  background: #333;
}

[data-bs-theme="dark"] .btn-light {
  background: #333;
  border-color: #444;
  color: #e0e0e0;
}

[data-bs-theme="dark"] .btn-light:hover {
  background: #444;
  color: #fff;
}

/* Menu toggle styles */
.sidebar {
  transition: transform 0.3s ease;
}

.sidebar.collapsed {
  transform: translateX(-100%);
}

.main-content {
  transition: margin-left 0.3s ease;
}

.main-content.expanded {
  margin-left: 0;
}

/* Dark mode icon styles */
.fa-sun {
  display: inline-block;
}

.fa-moon {
  display: none;
}

[data-bs-theme="dark"] .fa-sun {
  display: none;
}

[data-bs-theme="dark"] .fa-moon {
  display: inline-block;
}

.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  padding: 1rem;
  background: #fff;
  border-right: 1px solid #eee;
}

.main-content {
  margin-left: var(--sidebar-width);
}

.top-header {
  height: 70px;
  border-bottom: 1px solid #eee;
}

.nav-link {
  color: #64748b;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link:hover {
  background: #f8fafc;
  color: #0f172a;
}

.nav-section {
  margin-bottom: 1.5rem;
}

.nav-header {
  font-size: 0.75rem;
  color: #94a3b8;
  padding: 0.5rem 1rem;
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #eee;
}

.stat-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.percentage {
  font-size: 0.875rem;
}

.percentage.up {
  color: #10b981;
}

.percentage.down {
  color: #ef4444;
}

.search-box {
  background: #f8fafc;
  border-radius: 8px;
  padding: 0.5rem 1rem;
}

.logo {
  font-weight: bold;
  font-size: 1.25rem;
}

/*------ table css start -------*/
.card {
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border-radius: 0.5rem;
}

.card-header {
  border-bottom: 1px solid #e9ecef;
}

.table {
  margin-bottom: 0;
}

.dataTables_wrapper .dataTables_length select {
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid #dee2e6;
  background-color: #fff;
}

.dataTables_wrapper .dataTables_filter input {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 1px solid #dee2e6;
  background-color: #fff;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 0.375rem 0.75rem;
  margin-left: 0.125rem;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #e9ecef;
  border-color: #dee2e6;
  color: #000 !important;
}

.dataTables_wrapper .dataTables_info {
  font-size: 0.875rem;
  color: #6c757d;
}
/*------ table css end -------*/