/* ===============================
   MENU BUTTON
================================ */
#menuBtn {
  position: fixed;
  top: 14px;
  left: 14px;
  font-size: 32px;
  z-index: 1001;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0,0,0,0.05);
  transition: background 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

#menuBtn:hover {
  background: rgba(0,0,0,0.1);
}

#menuBtn:active {
  transform: scale(0.92);
}

/* ===============================
   SIDE MENU PANEL
================================ */
#sideMenu {
  position: fixed;
  top: 0;
  left: -270px;
  width: 260px;
  height: 100vh;
  background: #1a1a1a;
  color: #f1f1f1;
  padding: 24px 20px;
  transition: left 0.35s ease;
  z-index: 1002;
  box-shadow: 4px 0 20px rgba(0,0,0,0.4);
}

#sideMenu.open {
  left: 0;
}

/* ===============================
   SIDE MENU LINKS
================================ */
#sideMenu a {
  display: block;
  padding: 12px 14px;
  margin-bottom: 6px;
  color: #f1f1f1;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

#sideMenu a:hover {
  background: rgba(255,255,255,0.08);
}

#sideMenu a:active {
  background: rgba(255,255,255,0.15);
}

/* ===============================
   OVERLAY
================================ */
#menuOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

#menuOverlay.show {
  opacity: 1;
  pointer-events: auto;
}
#toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 2000;
}

/* 보여질 때 */
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

/* 상태별 색상 */
#toast.success { background: #2e7d32; }
#toast.error   { background: #c62828; }
#toast.info    { background: #333; }
