/*
Theme Name: Pixel-Theme New Modern Child
Theme URI: https://www.rtl-theme.com/?p=240975/
Template: pixel-theme2
Author: amirparvaneh
Author URI: https://www.rtl-theme.com/author/amirparvaneh/products/
Description: قالب فروش فایل و اشتراک پیکسل
Version: 5.0.1742744221
Updated: 2025-03-23 19:07:01

*/

/* Notation Modal */

			
.notation-modal {
    display: none; /* Hidden by default */
    position: fixed;
/*     top: var(--wp-admin-bar-height, 0); Dynamic top distance */
	 top: 0px; 
    left: 0;
    width: 100vw;
    height: 100%; 
/* 	height: calc(100vh);  */
    bottom: 0px; /* Ensure the modal extends to the bottom */
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999; /* Ensure modal is above everything */
    justify-content: center;
    align-items: center;
}


.notation-modal-content {
    position: relative;
    width: 100vw;
/*     height: calc(100vh); /* Full height minus admin bar */ 
	height:100%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.notation-title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: hsl(0, 0%, 30%); /* Dark gray background */
    height: 50px;
    width: 100%;
    border-bottom: 1px solid #ddd;
}

.notation-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff; /* White text for better contrast */
}

.notation-close-button {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: white;
    border: none;
    font-size: 40px;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.notation-iframe {
    width: 100vw;
    height: calc(100vh); /* Full viewport height minus admin bar + title */
    border: none;
}
			
			/*Hide And visible*/
			/* Default hidden state for modal */
.modal-hidden {
    display: none !important; /* Fully hidden */
}

/* Hidden state with visibility for animations */
.modal-hidden-opacity {
    opacity: 0;
    pointer-events: none; /* Prevent interaction */
    transition: opacity 0.3s ease-in-out;
}

/* Visible state */
.modal-visible {
    display: flex; /* Use flex for centering content */
    opacity: 1;
    pointer-events: auto; /* Allow interaction */
    transition: opacity 0.3s ease-in-out;
}
/* Disable scrolling */
.no-scroll {
    overflow: hidden;
    touch-action: none; /* Prevent touch gestures */
}


