/* Social Proof Notification Styles */

.social-proof-notification {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.sp-notification-content {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
    position: relative;
}

.sp-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
    color: white;
}

.sp-icon.order {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sp-icon.signup {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.sp-icon.deposit {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.sp-icon.review {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.sp-details {
    flex: 1;
    min-width: 0;
}

.sp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.sp-header strong {
    font-size: 14px;
    color: #1a202c;
    font-weight: 600;
}

.sp-location {
    font-size: 12px;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 3px;
}

.sp-location i {
    font-size: 12px;
}

.sp-message {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.4;
    margin-bottom: 8px;
}

.sp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.sp-time {
    font-size: 11px;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sp-time i {
    font-size: 12px;
}

.sp-amount {
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
    background: #f7fafc;
    padding: 3px 8px;
    border-radius: 4px;
}

.sp-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    color: #cbd5e0;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: color 0.2s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-close:hover {
    color: #718096;
}

/* Visitor Badge */
.social-proof-visitor-badge {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.social-proof-visitor-badge i {
    font-size: 16px;
}

/* Animations */
@keyframes pulse-gentle {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-proof-notification {
        max-width: calc(100% - 32px) !important;
        width: calc(100% - 32px) !important;
    }

    .sp-notification-content {
        padding: 12px;
    }

    .sp-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .sp-header strong {
        font-size: 13px;
    }

    .sp-message {
        font-size: 12px;
    }

    .social-proof-visitor-badge {
        font-size: 11px !important;
        padding: 8px 12px !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .social-proof-notification {
        background: #2d3748;
    }

    .sp-header strong {
        color: #f7fafc;
    }

    .sp-message {
        color: #e2e8f0;
    }

    .sp-location {
        color: #cbd5e0;
    }

    .sp-time {
        color: #a0aec0;
    }

    .sp-amount {
        background: #4a5568;
        color: #a5b4fc;
    }
}

/* Bulk Activity Notifications */
.sp-notification-content.sp-bulk {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 20%, #ff6a00 100%);
    color: white;
    border-radius: 12px;
}

.sp-notification-content.sp-bulk .sp-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.sp-notification-content.sp-bulk .sp-header strong {
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.sp-notification-content.sp-bulk .sp-message {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.sp-notification-content.sp-bulk .sp-footer {
    color: rgba(255, 255, 255, 0.85);
}

.sp-notification-content.sp-bulk .sp-time i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.sp-bulk-count {
    display: block;
    font-size: 16px;
    line-height: 1.4;
}

.sp-icon.bulk_order {
    background: rgba(255, 255, 255, 0.25);
}

.sp-icon.bulk_signup {
    background: rgba(255, 255, 255, 0.25);
}

.sp-icon.bulk_deposit {
    background: rgba(255, 255, 255, 0.25);
}

/* Print - hide notifications */
@media print {
    .social-proof-notification,
    .social-proof-visitor-badge {
        display: none !important;
    }
}
