﻿.resizable-container {
    display: flex;
    position: relative;
    /* pointer-events is handled via inline style in the razor file */
}

.dock-right {
    flex-direction: row;
    justify-content: flex-end;
}

.dock-bottom {
    flex-direction: column;
    justify-content: flex-end;
}

.dock-left {
    flex-direction: row;
}

.dock-top {
    flex-direction: column;
}

.panel-content {
    overflow: hidden;
    flex-shrink: 0;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Added slight shadow for "floating" look */
}

    .panel-content.is-animating {
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

.panel-body {
    padding: 10px;
    height: 100%;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.control-group {
    display: flex;
    position: relative;
}

.resize-handle {
    background-color: #ddd;
    transition: background-color 0.2s;
}

.horizontal .resize-handle {
    width: 2px;
    height: 100%;
    cursor: col-resize;
}

.vertical .resize-handle {
    height: 2px;
    width: 100%;
    cursor: row-resize;
}

.resize-handle:hover {
    background-color: #007bff;
}

.btn-toggle-floating {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    border: 1px solid #0056b3;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Centering Logic */
.horizontal .btn-toggle-floating {
    top: 50%;
    left: 1px;
    transform: translate(-50%, -50%);
}

.vertical .btn-toggle-floating {
    left: 50%;
    top: 1px;
    transform: translate(-50%, -50%);
}

.drag-overlay {
    position: fixed;
    inset: 0;
    cursor: grabbing;
    background: transparent;
}
