#title-bar {
    position: relative; /* Ensure position context */
}

.qs-help-tab {
    position: absolute; /* Position relative to #main-nav */
    top: 50%; /* Align vertically in the middle */
    transform: translateY(-50%); /* Adjust for vertical centering */
    right: 0; /* Adjust as needed */
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 10px;
    cursor: pointer;
    z-index: 9999;
}

.qs-help-tab {
    display: block; /* Initially visible */
}

.qs-help-tab.hidden {
    display: none; /* Hidden when drawer is open */
}

.qs-help-tab i {
    color: #333;
}

.qs-help-drawer-container {
    position: fixed;
    top: 0;
    right: -30%;
    width: 30%;
    height: 100%;
    background-color: transparent;
    z-index: 9998;
    transition: right 0.3s ease-in-out;
}

.qs-help-drawer-container.open {
    right: 0;
}

.close-tab {
    position: absolute; /* Position relative to #main-nav */
    top: 45px; /* Align vertically in the middle */
    left: 0; /* Adjust as needed */
    padding: 10px 5px;
    cursor: pointer;
    z-index: 1000;
    width: 45px;
}

.close-tab i {
    color: #333;
    display: inline-block;
}

.qs-help-drawer {
    position: relative;
    left: 44px;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    border-left: 1px solid #ccc;
    overflow-y: auto;
    padding: 20px;
}

.qs-help-drawer .nav-tabs {
    flex-shrink: 0; /* Ensure tabs don't shrink */
}

.qs-help-drawer .tab-content {
    flex-grow: 1; /* Allow tab content to grow and fill the available space */
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid #bbb;
}

.qs-help-drawer .tab-pane {
    background-color: #FFFFFF;
    padding: 10px;
    flex-grow: 1; /* Allow tab panes to grow and fill the available space */
    overflow-y: auto; /* Add scroll if content overflows */
    min-height: 100%;
}

.search-input {
    width: calc(100% - 20px);
    padding: 5px;
    margin-bottom: 10px;
}

.results-container {
    max-height: calc(100% - 40px);
    overflow-y: auto;
}

.results-container ul {
    list-style: none;
    padding: 0;
}

.results-container li {
    padding: 5px;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}

.results-container li:hover {
    background-color: #f0f0f0;
}

/* Responsive Design Adjustments */
@media (max-width: 1025px) {

    .qs-help-drawer-container.open {
        width: 50%;
        right: 0;
    }
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {

}

@media (max-width: 767.99px) {

}

