﻿#main-layout-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
}
#mainPageContent {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0; 
}

#customHelpPanel {
    position: sticky;
    top: 5px;
    z-index: 999;
    background-color: #fdfdfd;
    border-left: 3px solid #0d6efd;
    padding: 20px;
    min-width: 300px;
    max-width: 800px;
    width: 400px;
    align-self: flex-start;
    max-height: calc(100vh - 10px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.05);
}

#customHelpPanelResizer {
    width: 8px;
    background-color: #ccc;
    cursor: ew-resize;
    align-self: stretch;
}

.custom-Help-btn-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    opacity: 1 !important;
    appearance: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .custom-Help-btn-close:hover {
        background-color: #333;
        transform: scale(1.1);
    }

#customHelpContent img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em 0;
}

#customHelpPanel {
    transition: width .15s ease;
}

#customHelpPanelResizer {
    cursor: ew-resize;
    width: 6px;
}
