:root {
  --primary: #053db6;
  --primary-dark: #82a9cf;
  --sidebar-bg: #2c3e50;
  --sidebar-hover: #34495e;
  --card-bg: #ffffff;
  --text-color: #ecf0f1;
}

* {
  font-family: "Poppins", sans-serif;
}
.h4 {
  color: white;
}
body {
  padding-top: 64px;
  background: linear-gradient(135deg, #dfe4e9, #d2d7dd);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 64px;
  bottom: 0;
  left: 0;
  width: 260px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar.collapsed {
  width: 80px;
}

.nav-link {
  color: var(--text-color) !important;
  padding: 12px 20px;
  margin: 4px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(8px);
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar.collapsed .nav-text {
  display: none;
}

/* Main Content */
.main-content {
  margin-left: 260px;
  padding: 2rem;
  transition: margin-left 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.sidebar.collapsed + .main-content {
  margin-left: 80px;
}

/* Top Navbar */
.navbar {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Add logo styling */
.navbar-brand {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  margin-right: 8px;
  object-fit: contain;
}

/* Cards */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

/* Custom Scrollbar */
.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 992px) {
  .sidebar {
    width: 80px;
  }

  .main-content {
    margin-left: 80px;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 24px;
  }
}

.sidebar {
  font-size: 0.9rem; /* Smaller font */
}
.sidebar .nav-link {
  padding: 6px 12px;
}
.sidebar .nav-link.active {
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
