.generic-modal-visible {
    overflow: hidden;
}
body.generic-modal-visible {
    position: relative;
}

body.generic-modal-visible::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.60);
    z-index: 999; /* Ensure it appears behind the modal but above everything else */
}
.bodyclass #prepare_generic {
    position: fixed; /* Ensure the modal stays in place during scrolling */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust the position to account for its own dimensions */
    opacity: 0; /* Initially hidden */
    visibility: hidden; /* Initially hidden */
    transition: opacity 0.3s ease-in-out; /* Smooth transition for opacity */
    z-index: 1000; /* Ensure it appears above other elements */
    background: #fff; /* Optional: Set a background color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Optional: Add a shadow for better visibility */
    max-width: 90%; /* Optional: Limit width for responsiveness */
    width: 768px; /* Optional: Set a default width */
    height: 368px;
}

.bodyclass #prepare_generic .quantum-modal__dialog {
    max-width: 768px;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    max-height: 124vh;
    padding: 80px 48px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--Color-text-color, #000);
    background: #FFF;
    text-align: center;
}
.bodyclass #prepare_generic .quantum-modal__dialog .modal-title {
    margin-bottom: 16px;
    color: #72246C;
text-align: center;
font-family: "ff-good-web-pro-condensed";
font-size: 38px;
font-style: normal;
font-weight: 600;
line-height: 1.2; /* 73.684% */
}
.bodyclass #prepare_generic .quantum-modal__dialog .modal-actions {
    justify-content: center;
    padding-top: 0;
}

.bodyclass .quantum-modal#prepare_generic .quantum-modal__close.quantum-button--tertiary .quantum-icon {
    background: var(--www-ravicti-com-linear-persian-green-pine-green, linear-gradient(180deg, #00ADA6 0%, #00746E 100%));
    color: #fff;
    padding: 10px 10px;
    width: 60px;
    height: 60px;
    right: -8px;
    top: -8px;
}

@media(max-width:767px){
    .bodyclass #prepare_generic .quantum-modal__dialog {
        padding: 80px 16px;
        transform: translate(-50%, -30%);
    }
}