/* Title + tiny share button inline */
.prj-setlist-title {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.5rem 0;
}

/* ICON-ONLY BUTTON (no border, no background, no circle) */
.prj-share-trigger {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* SVG icon (iPhone-style share) */
.prj-share-icon {
    width: 18px;
    height: 18px;
    display: block;
    fill: #beff01;
    pointer-events: none;
}

.prj-share-trigger:hover .prj-share-icon {
    opacity: 0.8;
}

/* Overlay full screen, panel centered (no bottom sheet) */
.prj-share-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* keep this EXACT selector – this is what centered correctly before */
.prj-share-overlay.prj-share-overlay--open {
    opacity: 1;
    pointer-events: auto;
}

/* Panel */
.prj-share-panel {
    background: #000;
    border-radius: 14px;
    padding: 1.2rem 1.4rem 1.4rem;
    width: 90%;
    max-width: 320px;
    color: #fff;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 18px 40px rgba(0, 0, 0, 0.8);
    position: relative;
}

.prj-share-title {
    margin: 0 0 0.8rem;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #beff01;
}


/* Buttons grid */
.prj-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.prj-share-btn {
    flex: 1 1 calc(50% - 0.4rem);
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0.4rem 0.5rem;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Slight color hints per platform */
.prj-share-facebook { box-shadow: 0 0 0 1px rgba(66, 103, 178, 0.7); }
.prj-share-instagram { box-shadow: 0 0 0 1px rgba(255, 89, 191, 0.9); }
.prj-share-twitter { box-shadow: 0 0 0 1px rgba(29, 161, 242, 0.7); }
.prj-share-whatsapp { box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.7); }
.prj-share-sms { box-shadow: 0 0 0 1px rgba(190, 255, 1, 0.7); }
.prj-share-email { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6); }

.prj-share-copy {
    background: linear-gradient(135deg, #beff01, #ff59bf);
    color: #000;
    box-shadow: none;
}

/* Toast */
.prj-share-toast {
    margin-top: 0.8rem;
    font-size: 0.75rem;
    text-align: center;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    color: #beff01;
}

.prj-share-toast--visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 480px) {
    .prj-share-btn {
        flex: 1 1 100%;
    }
}

/* X only — no border, no circle */
.prj-share-close {
    position: absolute;
    top: 10px;
    right: 12px;

    background: none !important;
    border: none !important;

    color: #ff59bf; /* POPROCKZ pink */
    font-size: 16px;
    line-height: 1;
    font-weight: bold;

    cursor: pointer;
    padding: 0;
    margin: 0;

    transition: opacity 0.15s ease;
}

/* subtle hover fade */
.prj-share-close:hover {
    opacity: 0.7;
}
