/* Desktop */
.presentationBtn {
    display: inline-block; /* or your normal display */
}

/* presentation mode style */
/* ===== Imaging Review / X-ray comparison page ===== */

.xray-compare-page {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 30px);
    background: #fff;
    border: 1px solid #ccc;
}

.xray-compare-topbar {
    padding: 6px 12px;
    background: #e9e9e9;
    border-bottom: 1px solid #ccc;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.xray-compare-layout {
    flex: 1;
    display: flex;
    min-height: 0;
}

/* ---- Sidebars ---- */
.xray-sidebar {
    width: 160px;
    flex: 0 0 160px;
    overflow: hidden; /* prevent whole sidebar scrolling */
    border-right: 1px solid #ccc;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
}

.xray-sidebar-right {
    border-right: none;
    border-left: 1px solid #ccc;
}

/* Sidebar title */
.xray-sidebar-label {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-align: center;
    margin: 8px 0 6px;
}


/* Thumbnail container */
.thumb-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-right: 4px;
}


/* Larger thumbnails */
.thumb-item {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border: 2px solid #bbb;
    border-radius: 6px;
    background: #f7f7f7;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumb-list::-webkit-scrollbar {
    width: 6px;
}

.thumb-list::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 10px;
}

.thumb-list::-webkit-scrollbar-track {
    background: #eee;
}

/* ---- Middle comparison panels ---- */
.xray-compare-panel {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-right: 1px solid #ccc;
    background: #fafafa;
    overflow: hidden;
}
.xray-compare-panel:last-of-type {
    border-right: none;
}

.panel-placeholder {
    color: #999;
    font-size: 14px;
}

.compare-img {
    width: 96%;
    height: 96%;
    object-fit: contain;
}

/* Mobile */
@media (max-width: 576px) {
    .presentationBtn {
        display: none !important;
    }
}