.app-drawer-toggle {
  box-shadow: var(--bs-app-sidebar-base-toggle-btn-box-shadow) !important;
  background-color: var(--bs-app-sidebar-base-toggle-btn-bg-color) !important;
  border: 1px solid var(--bs-app-sidebar-base-border-color) !important;
}

.drawer {
  overflow: unset !important;
}

#gwire_drawer > .content > [wire\:id] {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#gwire_drawer > .content {
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1), transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 1;
  transform: scale(1);
  transform-origin: center 12%;
}

#gwire_drawer > .content.gwire-stack-under {
  position: absolute !important;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
}

#gwire_drawer > .content.gwire-swap-hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  #gwire_drawer > .content {
    transition: none;
  }
  #gwire_drawer > .content.gwire-swap-hidden {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }
}
.gwire-loading-overlay-backdrop {
  backdrop-filter: blur(4px);
  z-index: 1100;
}

.gwire-global-drawer-pending-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(var(--bs-body-bg-rgb, 255, 255, 255), 0.72);
  backdrop-filter: blur(4px);
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.gwire-global-drawer-pending-overlay--visible {
  opacity: 1;
}
.gwire-global-drawer-pending-overlay__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 20rem;
  text-align: center;
}
.gwire-global-drawer-pending-overlay__message {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--bs-gray-700, #5e6278);
}

.gwire-url-drawer-wait-toast {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem !important;
  left: auto !important;
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: min(22rem, 100vw - 2rem);
  padding: 1rem 1.15rem 1rem 1rem;
  border-radius: var(--bs-border-radius, 0.475rem);
  background: var(--bs-body-bg, #fff);
  border: 1px solid var(--bs-border-color, #e4e6ef);
  box-shadow: 0 0.35rem 1.25rem rgba(24, 28, 50, 0.08);
  pointer-events: auto;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, -0.75rem, 0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.gwire-url-drawer-wait-toast--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.gwire-url-drawer-wait-toast__progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bs-gray-200, #eff2f5);
}
.gwire-url-drawer-wait-toast__progress-bar {
  height: 100%;
  width: 100%;
  background: var(--bs-primary, #009ef7);
  transition: width 1s linear;
}
.gwire-url-drawer-wait-toast__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(var(--bs-primary-rgb, 0, 158, 247), 0.1);
}
.gwire-url-drawer-wait-toast__content {
  min-width: 0;
  flex: 1 1 auto;
}
.gwire-url-drawer-wait-toast__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--bs-gray-900, #181c32);
  margin-bottom: 0.15rem;
}
.gwire-url-drawer-wait-toast__message {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--bs-gray-600, #7e8299);
}
.gwire-url-drawer-wait-toast__close {
  flex-shrink: 0;
  align-self: flex-start;
  margin: -0.15rem -0.15rem 0 0;
}

.gwire-stack-breadcrumb {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--bs-border-color, #e4e6ef);
  background: var(--bs-body-bg, #fff);
  font-size: 11px;
  line-height: 18px;
  color: var(--bs-gray-600, #7e8299);
  pointer-events: none;
  white-space: nowrap;
  max-width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gwire-stack-breadcrumb .gwire-crumb-active {
  color: var(--bs-gray-900, #181c32);
  font-weight: 600;
}
.gwire-stack-breadcrumb .gwire-crumb-sep {
  opacity: 0.5;
}

#gwire_drawer .gwire-drawer-bracket-toggle-wrap .toggles {
  right: 100% !important;
  left: -20px !important;
  margin-left: -11px;
}
#gwire_drawer .gwire-drawer-bracket-toggle-wrap .toggles > svg,
#gwire_drawer .gwire-drawer-bracket-toggle-wrap .toggles > i {
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

#gwire_drawer .layout-drawer-prototype .discussion-panel.discussion-panel--chat .gwire-drawer-bracket-toggle-wrap.discussion-panel--chat-rail-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  width: 0;
  pointer-events: none;
  z-index: 10;
}

#gwire_drawer .layout-drawer-prototype .discussion-panel.discussion-panel--chat:not(.discussion-panel--chat--collapsed) .discussion-panel--chat-rail-wrap .toggles {
  margin-left: -12px;
  pointer-events: auto;
}

@media (min-width: 641px) {
  #gwire_drawer .layout-drawer-prototype .discussion-panel.discussion-panel--chat.discussion-panel--chat--collapsed .gwire-drawer-bracket-toggle-wrap.discussion-panel--chat-rail-wrap {
    left: auto !important;
    right: 0 !important;
  }
  #gwire_drawer .layout-drawer-prototype .discussion-panel.discussion-panel--chat.discussion-panel--chat--collapsed .discussion-panel--chat-rail-wrap .toggles {
    left: -20px !important;
    right: 100% !important;
    margin-left: -11px;
    pointer-events: auto;
  }
}
