/* Minimized drawer styles */
#drawer.minimized {
  width: 3.5rem !important;
  height: 3.5rem !important;
  right: 0 !important;
  top: 4.5rem !important;
  left: auto !important;
  bottom: auto !important;
  border-radius: 0 0 0.75rem 0.75rem !important; /* Only bottom-left and bottom-right */
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 0.75rem !important;
  border-bottom-left-radius: 0.75rem !important;
  overflow: visible !important;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -4px 4px 24px rgba(0,0,0,0.12); /* Shadow only on left/bottom */
  z-index: 40;
}
#drawer.minimized #drawer-content,
#drawer.minimized .absolute.z-30 {
  display: none !important;
}
#drawer.minimized #drawer-restore-container {
  display: flex !important;
}
#drawer-minimized {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  position: fixed;
  right: 1rem;
  top: 4.5rem;
  z-index: 41;
  background: white;
  border-radius: 0 0 0.75rem 0.75rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border: 1px solid #e5e7eb;
}
#drawer-minimized button {
  font-size: 2rem;
  color: #374151;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}
@media (max-width: 640px) {
  #drawer.minimized {
    right: 0 !important;
    top: 3.5rem !important;
    width: 2.75rem !important;
    height: 2.75rem !important;
  }
  #drawer-minimized button {
    font-size: 1.5rem;
  }
}
