/* AlphaWells shared behavior: the left-edge resize strip that wwwroot/js/shared/aw-drawer-resize.js
   inserts into every drawer carrying data-aw-resizable (drawer-resize spec section 5.2). */

.aw-drawer-resize-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 8px;
    cursor: ew-resize;
    z-index: 1101; /* above drawer content, including the map viewers' z-index 1100 header */
    background: transparent;
    touch-action: none;
}

.aw-drawer-resize-handle::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: transparent;
    transition: background-color 120ms ease;
}

.aw-drawer-resize-handle:hover::after,
.aw-drawer-resize-handle:focus-visible::after,
.aw-drawer-resize-handle.is-dragging::after {
    background: var(--teal, #2BA4AB);
}

.aw-drawer-resize-handle:focus-visible {
    outline: 2px solid var(--teal, #2BA4AB);
    outline-offset: -2px;
}

.aw-drawer-resize-off > .aw-drawer-resize-handle {
    display: none;
}

body.aw-drawer-resizing,
body.aw-drawer-resizing * {
    cursor: ew-resize !important;
    user-select: none !important;
}

body.aw-drawer-resizing iframe {
    pointer-events: none;
}
