/* Promotional Popup Styles */
.promotional-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
    padding: 20px;
    cursor: default;
}

.promotional-popup-overlay.active {
    display: flex;
}

.promotional-popup-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    width: auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
    display: flex;
    flex-direction: column;
}

.promotional-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #F7951E;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(247, 149, 30, 0.4);
}

.promotional-popup-close:hover {
    background-color: #1B3673;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 16px rgba(27, 54, 115, 0.5);
}

.promotional-popup-image {
    width: 100%;
    height: auto;
    max-height: 85vh;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.promotional-popup-image:hover {
    transform: scale(1.02);
}

.promotional-popup-content {
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #1B3673 0%, #2a4a8f 100%);
    color: #fff;
}

.promotional-popup-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    color: #F7951E;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .promotional-popup-overlay {
        padding: 10px;
    }

    .promotional-popup-container {
        max-width: 95%;
        max-height: 85vh;
    }

    .promotional-popup-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }

    .promotional-popup-image {
        max-height: 80vh;
    }

    .promotional-popup-title {
        font-size: 18px;
    }

    .promotional-popup-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .promotional-popup-overlay {
        padding: 5px;
    }

    .promotional-popup-container {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 8px;
    }

    .promotional-popup-close {
        width: 32px;
        height: 32px;
        font-size: 18px;
        top: 8px;
        right: 8px;
    }

    .promotional-popup-image {
        max-height: 85vh;
    }

    .promotional-popup-title {
        font-size: 16px;
    }
}
