.drawer {
  position: fixed;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  overflow: auto;
  transition: transform 0.3s ease-in-out, visibility 0s 0.3s;
  visibility: hidden;
  pointer-events: none;
}

.drawer.open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .drawer {
    transition: visibility 0s 0.3s;
  }
}

.left {
  top: 0;
  left: 0;
  bottom: 0;
  transform: translateX(-100%);
}

.right {
  top: 0;
  right: 0;
  bottom: 0;
  transform: translateX(100%);
}

.top {
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-100%);
}

.bottom {
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(100%);
}

.open.left {
  transform: translateX(0);
}

.open.right {
  transform: translateX(0);
}

.open.top {
  transform: translateY(0);
}

.open.bottom {
  transform: translateY(0);
}

.fullScreen {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 999;
}

:global(body.drawerOpen) {
  overflow: hidden;
}
