.main-container {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}

.main-navbar {
  position: fixed;
  background: #fff;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  width: -webkit-fill-available;
  z-index: 2;
}

.sidebar {
  position: relative;
  height: 100vh;
  background: #fff;
  border-right: 1px solid #ddd;
  padding-top: 20px;
}

.sidebar-closed {
}

.sidebar a {
  padding: 12px 20px;
  display: block;
  color: #333;
  font-weight: 500;
  border-radius: 8px;
  margin-bottom: 5px;
}

.sidebar a:hover {
  background: #f5e7ff;
  color: #820dfd;
}

.btn-close-sidebar {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffffff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-close-sidebar i {
  font-size: 16px;
  color: #333;
}

.btn-close-sidebar:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}

/* Sidebar menu styling */
.sidebar-menu a {
  display: block;
  padding: 10px 14px;
  margin-bottom: 6px;
  border-radius: 8px;
  color: #444;
  font-size: 15px;
  transition: 0.25s ease;
  text-decoration: none;
}
.sidebar-menu a.active {
  background: #f3e5ff;
  color: #6c63ff;
  font-weight: 600;
}

.sidebar-menu a i {
  margin-right: 8px;
  font-size: 18px;
  color: #6c63ff;
}

.sidebar-menu a:hover {
  background: #f3f0ff;
  color: #6c63ff;
  transform: translateX(4px);
}

/* Daily Points Panel */
.daily-points {
  background: linear-gradient(135deg, #7b2cbf, #5a189a);
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.points-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.points-icon i {
  font-size: 22px;
  color: #fff;
}

@media (max-width: 768px) {
  /* Desktop */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    /* Sesuaikan */
    height: 100vh;
    overflow-y: auto;
    transition: transform 0.5s ease;
    /* animasi */
    transform: translateX(0);
    z-index: 1200;
  }

  .sidebar-closed {
    transform: translateX(-100%);
  }
}
