#map-graph-container {
    width: 100%;
    min-width: 0;
    height: 100%;
}

#map-panel .leaflet-container {
    width: 100% !important;
    height: 100% !important;
}

#map-panel,
#right-panel {
    height: 100%;
    min-height: 0;
}

#resize-handle,
#road-resize-handle,
#road-prio-resize-handle,
#road-ranking-resize-handle {
    flex-shrink: 0;
    width: 14px;
    margin: 0 2px;
    cursor: col-resize;
    align-self: stretch;
    border-radius: 4px;
    background: #dee2e6;
    position: relative;
    transition: background 0.15s;
    min-height: 60px;
}

#resize-handle::after,
#road-resize-handle::after,
#road-prio-resize-handle::after,
#road-ranking-resize-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 40px;
    border-left:  2px solid #adb5bd;
    border-right: 2px solid #adb5bd;
    border-radius: 2px;
}

#resize-handle:hover,
#resize-handle.dragging,
#road-resize-handle:hover,
#road-resize-handle.dragging,
#road-prio-resize-handle:hover,
#road-prio-resize-handle.dragging,
#road-ranking-resize-handle:hover,
#road-ranking-resize-handle.dragging {
    background: #adb5bd;
}

#resize-handle.dragging::after,
#road-resize-handle.dragging::after,
#road-prio-resize-handle.dragging::after,
#road-ranking-resize-handle.dragging::after {
    border-color: #495057;
}

#graph-resize-handle,
#delay-rolling-resize-handle,
#delay-stop-resize-handle {
    height: 12px;
    margin: 2px 4px 0;
    cursor: row-resize;
    border-radius: 4px;
    background: #dee2e6;
    position: relative;
    transition: background 0.15s;
}

#graph-resize-handle::after,
#delay-rolling-resize-handle::after,
#delay-stop-resize-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 4px;
    border-top: 2px solid #adb5bd;
    border-bottom: 2px solid #adb5bd;
    border-radius: 2px;
}

#graph-resize-handle:hover,
#graph-resize-handle.dragging,
#delay-rolling-resize-handle:hover,
#delay-rolling-resize-handle.dragging,
#delay-stop-resize-handle:hover,
#delay-stop-resize-handle.dragging {
    background: #adb5bd;
}

#graph-resize-handle.dragging::after,
#delay-rolling-resize-handle.dragging::after,
#delay-stop-resize-handle.dragging::after {
    border-color: #495057;
}

#signaler-split {
    width: 100%;
    min-width: 0;
    height: calc(100vh - 236px);
    min-height: 420px;
    display: flex;
    align-items: stretch;
    gap: 0;
}

#signaler-map-wrap {
    width: 64%;
    min-width: 320px;
    height: 100%;
    min-height: 0;
    flex: 0 0 auto;
}

#signaler-map-wrap .leaflet-container {
    width: 100% !important;
    height: 100% !important;
}

#signaler-resize-handle {
    flex-shrink: 0;
    width: 12px;
    margin: 0 8px;
    cursor: col-resize;
    align-self: stretch;
    border-radius: 4px;
    background: #e9ecef;
    position: relative;
    transition: background 0.15s;
    min-height: 60px;
}

#signaler-resize-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 40px;
    border-left: 2px solid #adb5bd;
    border-right: 2px solid #adb5bd;
    border-radius: 2px;
}

#signaler-resize-handle:hover,
#signaler-resize-handle.dragging {
    background: #cfd6dd;
}

#signaler-resize-handle.dragging::after {
    border-color: #495057;
}
