/* ═══════════════════════════════════════════════════════════
   SNAPBIO ELEMENTOR WIDGETS
   ═══════════════════════════════════════════════════════════ */

/* ─── Bio Header ─── */
.sb-el-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.sb-el-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.sb-el-avatar-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
}

.sb-el-name {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 6px;
    padding: 0;
}

.sb-el-bio {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

/* ─── Bio Links ─── */
.sb-el-links-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.sb-el-link {
    display: block;
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
    cursor: pointer;
    box-sizing: border-box;
    min-height: 44px;
}

.sb-el-link:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

/* Hover animations */
.sb-el-hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.sb-el-hover-grow:hover {
    transform: scale(1.03);
}

.sb-el-hover-pulse:hover {
    animation: sbElPulse 0.6s ease;
}

@keyframes sbElPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

/* Glass style enhancement */
.sb-el-link-glass {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

/* ─── Bio Social ─── */
.sb-el-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.sb-el-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s, color 0.2s;
    line-height: 1;
}

.sb-el-social a:hover {
    transform: scale(1.15);
}

.sb-el-social a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Background shapes */
.sb-el-social-circle a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.sb-el-social-square a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

/* ─── Bio QR Code ─── */
.sb-el-qr {
    width: 100%;
}

.sb-el-qr svg {
    max-width: 100%;
    height: auto;
}

.sb-el-qr-inner {
    display: inline-block;
    line-height: 0;
}

/* ─── Responsive ─── */
@media (max-width: 480px) {
    .sb-el-link {
        font-size: 15px;
        padding: 12px 16px;
    }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
    .sb-el-link,
    .sb-el-social a {
        transition: none;
    }
    .sb-el-hover-pulse:hover {
        animation: none;
    }
}

/* ─── Print ─── */
@media print {
    .sb-el-social { display: none; }
    .sb-el-link {
        border: 1px solid #ccc !important;
        background: transparent !important;
        color: #000 !important;
    }
}
