body {
  background-color: #f8f9fc;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* =====================
   SIDEBAR
===================== */
.sidebar {
  background-color: #fff;
  height: 100vh;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 240px;
  top: 0;
  left: 0;
  padding-top: 30px;
  transition: transform 0.3s ease;
  z-index: 1000;
}

.sidebar h4 {
  font-weight: 700;
  color: #5a5c69;
  text-align: center;
  margin-bottom: 30px;
}

.sidebar a {
  color: #4e73df;
  text-decoration: none;
  display: block;
  padding: 10px 20px;
  border-radius: 8px;
  margin: 5px 15px;
  font-weight: 500;
}

.sidebar a:hover,
.sidebar a.active {
  background-color: #4e73df;
  color: white;
}

/* =====================
   MAIN CONTENT
===================== */
.main-content {
  margin-left: 260px;
  padding: 30px;
  transition: margin-left 0.3s ease;
}

/* =====================
   TOPBAR
===================== */
.topbar {
  background: linear-gradient(to right, #4e73df, #657cf7);
  color: white;
  border-radius: 15px;
  padding: 20px 25px;
}

/* Toggle Button */
#toggleSidebar {
  background: white;
  border: none;
  color: #4e73df;
  font-size: 20px;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

/* =====================
   CARD
===================== */
.card {
  border: none;
  border-radius: 15px;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.02);
}

/* =====================
   MOBILE MODE
===================== */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-260px);
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    padding: 20px;
  }
}
