/* --- MLP Popup CSS Start --- */
#mlp-popup-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column-reverse;
}

.mlp-popup {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    /* 🔥 Premium Glass Effect */
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);

    border-radius: 16px;
    padding: 14px 16px;
    width: 330px;

    /* Floating glass shadow */
    box-shadow: 0 8px 32px rgba(0,0,0,0.22);

    font-family: 'Inter', sans-serif;
    cursor: pointer;
    position: relative;
    animation: slideIn 0.35s ease-out;
}

.mlp-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.mlp-header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mlp-badge {
    background: rgba(59,130,246,0.20);
    color: #3B82F6;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 600;
}

.mlp-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827; /* normal dark text */
}

.mlp-time {
    font-size: 11px;
    color: #555; /* regular time color */
    margin-left: auto;
}

.mlp-text {
    margin-top: 2px;
    font-size: 12px;
    color: #333; /* normal readable dark text */
    line-height: 1.3;
}

.mlp-url {
    margin-top: 4px;
    font-size: 12px;
    color: #3B82F6; /* blue link */
    font-weight: 500;
}

.mlp-close {
    position: absolute !important;
    top: 10px;
    right: 10px;

    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;

    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    font-size: 16px;
    color: #333;
    cursor: pointer;

    padding: 0 !important;
    margin: 0 !important;

    /* 🔥 FINAL FIX */
   z-index: 999999999999 !important;  
    pointer-events: auto !important;

    opacity: 0.9;
    transition: 0.2s;
}


.mlp-popup.removing {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .4s ease, transform .4s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
/* --- MLP Popup CSS End --- */