:root {
  --admin-primary: #0D47A1;
  --admin-secondary: #2E7D32;
  --admin-success: #4CAF50;
  --admin-warning: #FF9800;
  --admin-danger: #F44336;
  --admin-info: #2196F3;
  --admin-light: #F8F9FA;
  --admin-dark: #333333;
  --admin-sidebar-bg: #FFFFFF;
  --admin-sidebar-text: #566a7f;
}

.bg-menu-theme {
  background-color: var(--admin-sidebar-bg) !important;
}
.bg-menu-theme .menu-link {
  color: var(--admin-sidebar-text) !important;
}
.bg-menu-theme .menu-link:hover, .bg-menu-theme .menu-link:focus {
  background-color: rgba(13, 71, 161, 0.08) !important;
  color: var(--admin-primary) !important;
}
.bg-menu-theme .menu-link.active {
  background-color: var(--admin-primary) !important;
  color: white !important;
}
.bg-menu-theme .menu-header-text {
  color: var(--admin-primary) !important;
  font-weight: 600;
}

.admin-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(13, 71, 161, 0.08);
  transition: all 0.3s ease;
  padding: 20px;
}
.admin-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(13, 71, 161, 0.12);
}

.dashboard-stat-card {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-left: 4px solid var(--admin-primary);
}
.dashboard-stat-card .stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.dashboard-stat-card .stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--admin-primary);
}
.dashboard-stat-card .stat-label {
  color: #6c757d;
  font-weight: 500;
}
.dashboard-stat-card .stat-trend {
  font-size: 0.875rem;
}
.dashboard-stat-card .stat-trend.positive {
  color: var(--admin-success);
}
.dashboard-stat-card .stat-trend.negative {
  color: var(--admin-danger);
}

.alert-card {
  border-left: 4px solid;
}
.alert-card.alert-warning {
  border-left-color: var(--admin-warning);
  background: rgba(255, 152, 0, 0.05);
}
.alert-card.alert-danger {
  border-left-color: var(--admin-danger);
  background: rgba(244, 67, 54, 0.05);
}
.alert-card.alert-info {
  border-left-color: var(--admin-info);
  background: rgba(33, 150, 243, 0.05);
}

.btn-admin-primary {
  background: linear-gradient(135deg, var(--admin-primary) 0%, #1565C0 100%);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
}
.btn-admin-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.3);
  color: white;
}

.btn-admin-secondary {
  background: linear-gradient(135deg, var(--admin-secondary) 0%, #388E3C 100%);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
}
.btn-admin-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
  color: white;
}

.quick-actions .action-btn {
  border: 2px solid;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.quick-actions .action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.layout-navbar {
  background: white !important;
  box-shadow: 0 2px 8px rgba(13, 71, 161, 0.08);
}
.layout-navbar .navbar-nav .nav-link {
  color: var(--admin-sidebar-text) !important;
}
.layout-navbar .navbar-nav .nav-link:hover {
  color: var(--admin-primary) !important;
}

.app-brand .app-brand-text {
  background: linear-gradient(135deg, var(--admin-primary) 0%, var(--admin-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.menu-inner::-webkit-scrollbar {
  width: 4px;
}

.menu-inner::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.menu-inner::-webkit-scrollbar-thumb {
  background: var(--admin-primary);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .admin-card {
    margin-bottom: 1rem;
  }
  .dashboard-stat-card {
    text-align: center;
  }
}
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
