/* Modern Popup Styles */
.modern-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modern-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modern-popup-container {
    background-color: #8D785C;
    border-radius: 12px;
    padding: 30px 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 1000000;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modern-popup-overlay.show .modern-popup-container {
    transform: scale(1);
}

.modern-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.modern-popup-close:hover {
    opacity: 0.7;
}

.modern-popup-close::before,
.modern-popup-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
}

.modern-popup-close::before {
    transform: rotate(45deg);
}

.modern-popup-close::after {
    transform: rotate(-45deg);
}

.modern-popup-content {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    margin: 0;
    padding-right: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .modern-popup-container {
        padding: 25px 30px;
        max-width: 90%;
    }
    
    .modern-popup-content {
        font-size: 16px;
        padding-right: 25px;
    }
    
    .modern-popup-close {
        top: 10px;
        right: 10px;
        width: 25px;
        height: 25px;
    }
}

