/* Social Guanxi - stili condivisi (solo elementi realmente riusabili).
   Riutilizza font/pattern Guanxi esistenti. */

:root {
    --gx-social-max: 680px;
    --gx-social-radius: 16px;
    --gx-social-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --gx-social-accent: #667eea;
    --gx-social-muted: #6b7280;
    --gx-social-border: #e5e7eb;
    --gx-social-bg: #f3f4f6;
}

.gx-social-card {
    background: #fff;
    border-radius: var(--gx-social-radius);
    box-shadow: var(--gx-social-shadow);
    padding: 24px;
}

.gx-social-avatar {
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    overflow: hidden;
    flex-shrink: 0;
}
.gx-social-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.gx-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #d1fae5;
    color: #065f46;
    font-size: 13px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    vertical-align: middle;
}

.gx-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s, background 0.2s;
}
.gx-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.gx-btn--primary {
    background: var(--gx-social-accent);
    color: #fff;
}
.gx-btn--outline {
    background: #fff;
    color: var(--gx-social-accent);
    border-color: var(--gx-social-accent);
}

.gx-social-stat {
    text-align: center;
    min-width: 72px;
}
.gx-social-stat .gx-social-stat-num {
    font-size: 20px;
    font-weight: 700;
    display: block;
}
.gx-social-stat .gx-social-stat-label {
    font-size: 12px;
    color: var(--gx-social-muted);
}

.gx-social-container {
    max-width: var(--gx-social-max);
    margin: 24px auto;
    padding: 0 16px;
}

/* Mobile-first: le pagine social sono a colonna singola */
@media (max-width: 720px) {
    .gx-social-card { padding: 16px; border-radius: 12px; }
    .gx-social-container { margin: 12px auto; }
}
