/* ── NexusPoint Social Share Component ── */
.np-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 14px;
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 12px;
    position: relative;
}

.np-share__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #360C16;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.np-share__buttons {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.np-share__btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(0,0,0,0.10);
    background: #fff;
    color: #360C16;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    line-height: 1;
}

.np-share__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    border-color: transparent;
    color: #fff;
}

.np-share__btn--facebook:hover { background: #1877F2; }
.np-share__btn--x:hover       { background: #000; }
.np-share__btn--linkedin:hover { background: #0A66C2; }
.np-share__btn--whatsapp:hover { background: #25D366; }
.np-share__btn--email:hover    { background: #EA4335; }
.np-share__btn--pinterest:hover{ background: #E60023; }
.np-share__btn--copy:hover     { background: #360C16; color: #fff; }
.np-share__btn--copy.copied    { background: #198754 !important; border-color: #198754 !important; color: #fff !important; }
.np-share__btn--native:hover   { background: #581827; color: #fff; }

.np-share__copied-msg {
    font-size: 0.75rem;
    font-weight: 600;
    color: #198754;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.25s ease;
    pointer-events: none;
    white-space: nowrap;
}

.np-share__copied-msg.show {
    opacity: 1;
    transform: translateY(0);
}

/* Dark variant for hero sections */
.np-share--hero {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
}
.np-share--hero .np-share__label { color: #fff; }
.np-share--hero .np-share__btn {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.22);
    color: #fff;
}
.np-share--hero .np-share__btn:hover { background: #fff; color: #360C16; }
.np-share--hero .np-share__btn--facebook:hover { background: #1877F2; color: #fff; }
.np-share--hero .np-share__btn--x:hover { background: #000; color: #fff; }
.np-share--hero .np-share__btn--linkedin:hover { background: #0A66C2; color: #fff; }
.np-share--hero .np-share__btn--whatsapp:hover { background: #25D366; color: #fff; }
.np-share--hero .np-share__copied-msg { color: #7CFFB2; }

/* Compact variant for job cards */
.np-share--compact {
    padding: 6px 10px;
    gap: 6px;
}
.np-share--compact .np-share__btn { width: 32px; height: 32px; font-size: 0.85rem; }
.np-share--compact .np-share__label { font-size: 0.70rem; }

/* Inline variant — ultra-compact icon-only row for listing cards */
.np-share--inline {
    padding: 0;
    background: transparent;
    border: none;
    gap: 6px;
}
.np-share--inline .np-share__label { display: none; }
.np-share--inline .np-share__buttons { gap: 5px; }
.np-share--inline .np-share__btn { width: 30px; height: 30px; font-size: 0.82rem; border-width: 1px; }
.np-share--inline .np-share__copied-msg { font-size: 0.70rem; }

/* Listing card footer integration */
.listing-card-share {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.listing-card-share__label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6c757d;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 576px) {
    .np-share { padding: 8px 10px; }
    .np-share__label { font-size: 0.72rem; }
    .np-share__btn { width: 34px; height: 34px; }
}
