@charset "utf-8";
/* CSS Document */

.open-button {
	cursor: pointer;
}


.blur {
        filter: blur(5px);
        transition: filter 0.3s ease;
    }

    /* Hide the viewer by default */
    #dcviewer {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        z-index: 10000;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding: 20px;
        border-radius: 8px;
    }

    #dcviewer.active {
        display: block;
    }

    /* Close button outside the viewer */
    #close-btn {
        display: none;
        position: fixed;
        top: 3%; /* Align with viewer's upper edge */
        right: 8%; /* Align to the viewer's right edge */
        background: red;
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
        text-align: center;
        font-size: 18px;
        line-height: 40px;
        z-index: 10025;
    }

    #close-btn.active {
        display: block;
    }

    /* Fullscreen overlay for closing by clicking outside */
    #overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
    }

    #overlay.active {
        display: block;
    }