/* PopPop Social Proof Notifications */

#poppop {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 99999;
    pointer-events: none;
}

.poppop-toast {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
    padding: 14px 20px 14px 16px;
    max-width: 340px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: poppop-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    cursor: default;
}

.poppop-toast.poppop-out {
    animation: poppop-out 0.3s ease forwards;
}

.poppop-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.poppop-icon-download {
    background: #eff6ff;
    color: #2563eb;
}

.poppop-icon-visit {
    background: #f0fdf4;
    color: #16a34a;
}

.poppop-icon-install {
    background: #fefce8;
    color: #ca8a04;
}

.poppop-icon-review {
    background: #fdf2f8;
    color: #db2777;
}

.poppop-body {
    flex: 1;
    min-width: 0;
}

.poppop-text {
    font-size: 13.5px;
    font-weight: 500;
    color: #0f172a;
    line-height: 1.4;
    margin: 0;
}

.poppop-text strong {
    font-weight: 700;
}

.poppop-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    font-size: 12px;
    color: #94a3b8;
}

.poppop-meta .poppop-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
}

.poppop-verified {
    color: #10b981;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.02em;
}

.poppop-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 14px;
    cursor: pointer;
    padding: 2px;
    line-height: 1;
    transition: color 0.15s;
}

.poppop-close:hover {
    color: #64748b;
}

.poppop-toast {
    position: relative;
}

@keyframes poppop-in {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes poppop-out {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
}

@media (max-width: 480px) {
    #poppop {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .poppop-toast {
        max-width: none;
    }
}
