/* ========================================
   Popup Styles - ThemeMantra
   ======================================== */

.thememantra-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.85) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

.thememantra-popup-content {
    background: white !important;
    border-radius: 12px !important;
    max-width: 600px !important;
    width: 100% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    position: relative !important;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5) !important;
}

.thememantra-popup-inner {
    padding: 50px 30px 30px !important;
}

.thememantra-popup-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: #f44336 !important;
    color: white !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    z-index: 10000 !important;
    outline: none !important;
    padding: 0 !important;
    line-height: 1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    pointer-events: auto !important;
}

.thememantra-popup-close:hover {
    background: #d32f2f !important;
    transform: rotate(90deg) scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.thememantra-popup-close:active {
    transform: rotate(90deg) scale(0.95) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

.thememantra-popup-close i {
    pointer-events: auto !important;
    user-select: none !important;
}

.thememantra-popup-image {
    margin-bottom: 20px !important;
    text-align: center !important;
    width: 100% !important;
}

.thememantra-popup-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: 8px !important;
}

.thememantra-popup-title {
    font-size: 28px !important;
    font-weight: bold !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    line-height: 1.3 !important;
}

.thememantra-popup-description {
    font-size: 16px !important;
    color: #666 !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

.thememantra-popup-button {
    display: block !important;
    background: #4CAF50 !important;
    color: white !important;
    padding: 14px 30px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 250px !important;
}

.thememantra-popup-button:hover {
    background: #45a049 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3) !important;
    color: white !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .thememantra-popup-inner {
        padding: 40px 20px 20px !important;
    }
    
    .thememantra-popup-title {
        font-size: 22px !important;
    }
    
    .thememantra-popup-description {
        font-size: 14px !important;
    }
}
