/**
 * Social Proof Popup Styling
 * Geo-targeted notification popups for purchase social proof
 * 
 * @package Ghost_Boost_Shopee
 */

.ghost-boost-social-proof {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 320px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.ghost-boost-social-proof--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ghost-boost-social-proof__content {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.ghost-boost-social-proof__icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f87171;
    border-radius: 50%;
}

.ghost-boost-social-proof__text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    color: #1f2937;
    font-weight: 500;
}

.ghost-boost-social-proof__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ghost-boost-social-proof__close:hover {
    background: #f3f4f6;
    color: #4b5563;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .ghost-boost-social-proof {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .ghost-boost-social-proof__content {
        padding: 12px;
    }
    
    .ghost-boost-social-proof__text {
        font-size: 13px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .ghost-boost-social-proof__content {
        background: #1f2937;
        border-color: #374151;
    }
    
    .ghost-boost-social-proof__text {
        color: #f9fafb;
    }
    
    .ghost-boost-social-proof__close {
        color: #6b7280;
    }
    
    .ghost-boost-social-proof__close:hover {
        background: #374151;
        color: #9ca3af;
    }
}
