/**
 * PMN Landing Page - Full Screen Overlay Styles
 */

/* Full Screen Overlay */
#pmn-landing-fullscreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2147483647; /* Maximum z-index */
    overflow: hidden;
}

#pmn-landing-fullscreen.pmn-fullscreen-active {
    display: block !important;
}

/* Full Screen Wrapper */
.pmn-fullscreen-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Content Container */
.pmn-fullscreen-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.pmn-fullscreen-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.pmn-fullscreen-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Inner HTML content */
.pmn-fullscreen-inner {
    width: 100%;
    height: 100%;
    overflow: auto;
}

/* Close Button */
.pmn-fullscreen-close {
    position: fixed !important;
    cursor: pointer;
    z-index: 2147483647 !important;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 4px;
}

.pmn-fullscreen-close:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Close Button Positions */
.pmn-close-top-right {
    top: 20px !important;
    right: 20px !important;
}

.pmn-close-top-left {
    top: 20px !important;
    left: 20px !important;
}

.pmn-close-bottom-right {
    bottom: 20px !important;
    right: 20px !important;
}

.pmn-close-bottom-left {
    bottom: 20px !important;
    left: 20px !important;
}

/* Body lock when fullscreen */
body.pmn-fullscreen-open {
    overflow: hidden !important;
}

/* Hide other elements when fullscreen */
body.pmn-fullscreen-open > *:not(#pmn-landing-fullscreen):not(script):not(style):not(link) {
    visibility: hidden !important;
}

/* Responsive */
@media (max-width: 768px) {
    .pmn-close-top-right,
    .pmn-close-top-left {
        top: 10px !important;
    }

    .pmn-close-top-right,
    .pmn-close-bottom-right {
        right: 10px !important;
    }

    .pmn-close-top-left,
    .pmn-close-bottom-left {
        left: 10px !important;
    }

    .pmn-close-bottom-right,
    .pmn-close-bottom-left {
        bottom: 10px !important;
    }
}
