﻿/*.viewer-container {
    position: relative;
    width: 100%;
    height: calc(100% - 50px);
    overflow: hidden;
    background: #f5f5f5;
    cursor: grab;
}*/

  /*  .viewer-container:active {
        cursor: grabbing;
    }

.viewer-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    transition: transform 0.1s ease-out;
}
*/
/*.controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}*/

.controls button {
        margin: 0 5px;
        padding: 5px 10px;
    }
#documentViewer {
    width: 100%;
    height: 100%;
}
.k-window-titlebar.k-hstack {
    padding: 5px !important;
}
/*.office-viewer {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
}

    .office-viewer iframe {
        width: 100%;
        height: 100%;
        border: none;
    }*/
/*.pdf-viewer {
    width: 100%;
    height: 100%;
    overflow: auto;
    background: #525659;
}

#pdfContainer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100%;
    padding: 10px;
}

    #pdfContainer canvas {
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
        background: white;
    }*/
/*
.view-control-button {
    padding: 8px;
    background: none;
    border: none;
    font-size: 16px;
    color: var(--button-color, #007BFF);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 4px;
}*/

.view-control-button:hover {
    color: var(--button-hover-color, #0056b3);
}

.view-control-button i {
    font-size: 18px;
}

/* Styles for Image Viewer */
/*.image-viewer {
    position: relative;
    background: #f2f2f2;*/ /* Light gray background for visibility, matching PDF viewer */
    /*width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}*/

    /* Toolbar Styling */
    /*.image-viewer .controls {
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(255, 255, 255, 0.5);*/ /* Semi-transparent toolbar */
        /*padding: 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        position: sticky;*/ /* Ensures the toolbar stays at the top */
        /*top: 0;
        z-index: 10;*/ /* Keeps the toolbar above other elements */
    /*}*/

        /* Button Styling */
        /*.image-viewer .controls button {
            margin: 0 5px;
            padding: 8px;
            border: none;
            background-color: rgba(0, 123, 255, 0.1);*/ /* Semi-transparent button */
            /*cursor: pointer;
            font-size: 14px;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            transition: background-color 0.3s ease, transform 0.2s ease;
        }

            .image-viewer .controls button:hover {
                border: solid 1px rgba(0, 123, 255, 0.3);
                background-color: rgba(239, 242, 244, 0.7);
                transform: scale(1.1);
            }

            .image-viewer .controls button i {
                font-size: 18px;
                color: black;
            }*/

    /* Viewer Container */
    /*.image-viewer .viewer-container {
        flex-grow: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        background: #f2f2f2;*/ /* Matches light gray background for better image visibility */
        /*position: relative;
        padding: 10px;*/ /* Adds padding around the image to make boundaries more visible */
        /*border: 1px solid #ccc;*/ /* optional border to highlight the viewer */
        /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/ /* Subtle shadow for better contrast */
    /*}*/

    /* Image Styling */
    /*.image-viewer .viewer-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;*/ /* Ensures the image fits within the boundaries */
        /*border: 1px solid #ccc;*/ /* Highlights the image boundary */
        /*border-radius: 4px;*/ /* Rounded corners for smoother look */
        /*z-index: 1;*/ /* Keeps the image below the toolbar */
    /*}*/

    /* Prevent Image Overflow */
    /*.image-viewer .viewer-container img {
        position: relative;
    }*/
/*.image-viewer {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
}

    .image-viewer .controls {
        display: flex;
        gap: 5px;
        padding: 10px;
        background: #f5f5f5;
        border-bottom: 1px solid #ddd;
    }

        .image-viewer .controls button {
            padding: 8px;
            border: none;
            background-color: white;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.2s;
        }

            .image-viewer .controls button:hover {
                background-color: #e9ecef;
            }*/

/* Important: Override Fancybox default styles for embedded mode */
/*.fancybox-container {
    position: relative !important;
}

    .fancybox-container .fancybox__container {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: transparent !important;
    }

    .fancybox-container .fancybox__content {
        padding: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
    }*/