/**
 * PCS Social Proof Widget Styles
 */

/* Default Style */
.pcs-social-proof {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    margin: 20px 0;
}

.pcs-social-proof-default {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pcs-sp-icon {
    font-size: 36px;
    line-height: 1;
}

.pcs-sp-content {
    flex: 1;
}

.pcs-sp-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.pcs-sp-label {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 4px;
}

.pcs-sp-live-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Minimal Style */
.pcs-social-proof-minimal {
    font-size: 14px;
    color: #666;
    padding: 10px;
    text-align: center;
}

.pcs-sp-count {
    font-weight: 700;
    font-size: 18px;
    color: #0073aa;
}

/* Badge Style */
.pcs-social-proof-badge {
    display: inline-block;
}

.pcs-sp-badge-inner {
    background: #0073aa;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3);
    text-align: center;
}

.pcs-sp-badge-inner strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.pcs-sp-badge-inner span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    opacity: 0.9;
}

/* Animation */
.pcs-animated .pcs-sp-number,
.pcs-animated .pcs-sp-count,
.pcs-animated .pcs-sp-badge-inner strong {
    transition: transform 0.3s ease, color 0.3s ease;
}

.pcs-animated.pcs-updating .pcs-sp-number,
.pcs-animated.pcs-updating .pcs-sp-count,
.pcs-animated.pcs-updating .pcs-sp-badge-inner strong {
    transform: scale(1.1);
    color: #4ade80;
}

/* Responsive */
@media (max-width: 480px) {
    .pcs-social-proof-default {
        flex-direction: column;
        text-align: center;
    }

    .pcs-sp-number {
        font-size: 28px;
    }
}
