.back-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-popup-modal {
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.back-popup-close {
    position: absolute;
    top: 6px;
    right: 9px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    z-index: 1;
    line-height: 1;
    transition: color 0.2s ease;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-popup-close:hover {
    color: #333;
}

.back-popup-content {
    padding: 40px 30px 30px;
    text-align: center;
}

.back-popup-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.back-popup-image-mobile {
    display: none;
}

.back-popup-image-desktop {
    display: block;
}

.back-popup-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px;
    line-height: 1.4;
}

.back-popup-message {
    font-size: 16px;
    color: #666;
    margin: 0 0 25px;
    line-height: 1.6;
}

.back-popup-button {
    display: inline-block;
    background: linear-gradient(45deg, #4660e9, #6b7ff0);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(70, 96, 233, 0.3);
}

.back-popup-button:hover {
    background: linear-gradient(45deg, #3550d9, #5568e5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70, 96, 233, 0.4);
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 600px) {
    .back-popup-modal {
        width: 95%;
        margin: 20px;
    }
    
    .back-popup-content {
        padding: 30px 20px 20px;
    }
    
    .back-popup-title {
        font-size: 20px;
    }
    
    .back-popup-message {
        font-size: 14px;
    }
    
    .back-popup-button {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .back-popup-image-desktop {
        display: none;
    }
    
    .back-popup-image-mobile {
        display: block;
    }
}