/* ===============================
   SIDEBAR OVERLAY
=============================== */
.sidebar-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
  z-index: 9000;
}

.sidebar-overlay.active{
  opacity: 1;
  pointer-events: auto;
}

/* ===============================
   SIDEBAR BASE
=============================== */
.sidebar{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15,15,15,0.88);
  backdrop-filter: blur(18px);

  opacity: 0;
  transform: translateX(-60px);
  pointer-events: none;

  transition:
    opacity .45s ease,
    transform .5s cubic-bezier(.22,.61,.36,1);

  overflow: hidden;
}

.sidebar.open{
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

/* ===============================
   INNER LAYOUT（左右分割）
=============================== */
.sidebar-inner{
  width: 100%;
  height: 100%;
  display: flex;   /* ← 핵심 */
}

/* ===============================
   LEFT : MENU AREA
=============================== */
.sidebar-body{
  width: 40%;
  padding: 100px 48px 60px;
  overflow-y: auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar-body::-webkit-scrollbar{
  width: 6px;
}
.sidebar-body::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,0.25);
  border-radius: 3px;
}

.sidebar-menu{
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li{
  font-size: 22px;
  letter-spacing: 5px;
  padding: 20px 0;
  cursor: pointer;
  color: #fff;
}

/* ===============================
   LEFT FOOTER
=============================== */
.sidebar-footer{
  margin-top: 40px;
  font-size: 14px;
  letter-spacing: 4px;
  opacity: .6;
}

/* ===============================
   RIGHT : IMAGE / LOGO
=============================== */
.sidebar-header{
  width: 60%;
  height: 100%;
}

.sidebar-header img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===============================
   MENU TOGGLE
=============================== */
#menu-toggle{
  position: fixed;
  top: 20px;
  left: 12px;
  z-index: 20000;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: #fff;

  font-size: 14px;
  letter-spacing: 3px;
  border-radius: 6px;
  cursor: pointer;
}

.menu-icon span{
  background: #ffffff;
}

.sidebar,
.sidebar-overlay,
#menu-toggle{
  position: fixed;
  isolation: isolate;
}

.sidebar-inner{
  display: flex !important;
}

.sidebar-body{
  width: 40% !important;
}

.sidebar-header{
  width: 60% !important;
}
