#sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 132, 150, 1), rgb(0, 150, 136));
  z-index: 0;
}

.sidebar-header {
  background: rgba(0, 132, 150, 1);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.auth-login-page {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.35),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.25),
      transparent 45%
    ),
    linear-gradient(180deg, #006d77, #83c5be);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* ===================================================== */
/* PANEL: MENU SERING DIBUKA (slide-out, samain warna menu) */
/* ===================================================== */
.menu-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 60, 68, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1045;
}

.menu-panel-overlay.show {
  opacity: 1;
  visibility: visible;
}

.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 320px;
  max-width: 85vw;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  color: #eaf7fa;

  /* warna disamakan dengan menu (sidebar), tapi transparan */
  background: linear-gradient(
    180deg,
    rgba(0, 132, 150, 0.82),
    rgba(0, 150, 136, 0.82)
  );
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.22);

  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.menu-panel.show {
  transform: translateX(0);
}

.menu-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.menu-panel-title {
  margin: 0;
  font-weight: 600;
  color: #ffffff;
}

.menu-panel-sub {
  margin: 2px 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.menu-panel-close {
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.menu-panel-close:hover {
  background: rgba(255, 255, 255, 0.26);
}

.menu-panel-empty {
  margin: 14px 18px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
}

.menu-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
}

/* item menu di dalam panel */
.menu-panel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, transform 0.15s ease;
}

.menu-panel-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}

.menu-panel-item .mp-rank {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  color: #008496;
}

.menu-panel-item .mp-label {
  display: block;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.menu-panel-item .mp-meta {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.menu-panel-item .mp-count {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}
