#popup-subscription-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#popup-subscription {
    background: white;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

#popup-subscription.desktop {
    display: flex;
    width: 800px;
    height: 500px;
}

#popup-subscription.mobile {
    width: 90%;
    height: 70%;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.popup-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.popup-image {
    flex: 2;
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#popup-subscription.mobile .popup-content {
    padding: 20px;
    overflow-y: auto;
}

#popup-subscription-form {
    margin-top: 20px;
}

#popup-subscription-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#popup-subscription-form button {
    width: 100%;
    padding: 12px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#popup-subscription-form button:hover {
    background: #005a87;
}

#popup-message {
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

@media (max-width: 768px) {
    #popup-subscription.desktop {
        width: 90% !important;
        height: auto !important;
        max-height: 80%;
        flex-direction: column;
    }
    
    .popup-container {
        flex-direction: column;
    }
    
    .popup-image {
        flex: none;
        height: 200px;
    }
}