/* ===== Help Side Pane ===== */

#helpSidePane {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background-color: #f8f9fa;
    border-left: 1px solid #dee2e6;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

#helpSidePane.help-pane-open {
    transform: translateX(0);
}

#helpSidePane .help-pane-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #1270a0;
    color: #fff;
}

#helpSidePane .help-pane-header h5 {
    margin: 0;
    font-size: 1rem;
}

#helpSidePane .help-pane-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

#helpSidePane .help-pane-close:hover {
    opacity: 0.75;
}

#helpSidePane .help-pane-body {
    padding: 1rem;
    flex: 1 1 auto;
}

#helpSidePane .help-pane-body h6 {
    color: #1270a0;
    margin-bottom: 0.75rem;
}

#helpSidePane .help-pane-body p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
}

/* Toggle button (floating) */
#helpToggleBtn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #1270a0;
    color: #fff;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

#helpToggleBtn:hover {
    background-color: #0e5a80;
}

#helpToggleBtn:focus {
    outline: 2px solid #258cfb;
    outline-offset: 2px;
}

/* Adjust main content when pane is open (optional, prevents overlap) */
@media (min-width: 992px) {
    body.help-pane-active {
        margin-right: 320px;
        transition: margin-right 0.3s ease;
    }
}

@media (max-width: 575.98px) {
    #helpSidePane {
        width: 100%;
    }
}
