.root {
    position: fixed;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: 0px 5px 10px var(--foreground-muted-color);
    border-radius: 16px;
    overflow: hidden;
    z-index: 1000;
    min-width: 0;
}

.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    cursor: move;
    user-select: none;
    flex-shrink: 0;
}

.title {
    font-size: 1em;
    font-weight: bold;
    color: var(--foreground-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.closeButton {
    cursor: pointer;
    border-radius: 8px;
    flex-shrink: 0;
    padding: 4px;

    svg {
        width: 16px;
        height: 16px;
    }

    &:hover {
        background-color: var(--hover-background-color);
    }
}

.content {
    flex: 1 1 auto;
    overflow: auto;
    min-height: 0;
    margin: 0px 6px 6px 6px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--panel-background-color);
    opacity: 0.9;
}

.resizeHandle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 16px;
    height: 16px;
    cursor: se-resize;
}
