/* ══════════════════════════════════════════════════════════════════
   Soul Into Art – Parrainage : styles frontend
   Préfixe : .sia-referral-
   ══════════════════════════════════════════════════════════════════ */

/* ── Bloc de partage ─────────────────────────────────────────────── */
.sia-referral-share {
    background: #ffffff;
    border: 1px solid #e8e8ef;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    font-family: inherit;
}

.sia-referral-share__title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: #1A1F71;
}

.sia-referral-share__desc {
    margin: 0 0 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Ligne code de parrainage */
.sia-referral-share__code-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f6f7ff;
    border: 1px dashed #c5c9e8;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.sia-referral-share__code-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #888;
    white-space: nowrap;
}

.sia-referral-share__code-value {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: 700;
    color: #1A1F71;
    letter-spacing: .12em;
    background: none;
    border: none;
    padding: 0;
}

/* Boutons */
.sia-referral-share__buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sia-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: opacity .15s ease, transform .1s ease;
    white-space: nowrap;
}

.sia-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
}

.sia-btn:active {
    transform: translateY(0);
}

.sia-btn--whatsapp {
    background: #25D366;
    color: #ffffff;
}

.sia-btn--email {
    background: #1A1F71;
    color: #ffffff;
}

.sia-btn--copy {
    background: #f0f0f7;
    color: #1A1F71;
}

.sia-btn--copy.is-copied {
    background: #00DDC0;
    color: #ffffff;
}

/* ── Notice remise active ────────────────────────────────────────── */
.sia-referral-discount {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f0fdf9;
    border-left: 4px solid #00DDC0;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin: 16px 0;
    font-size: 14px;
    color: #1A1F71;
    line-height: 1.5;
}

.sia-referral-discount__icon {
    font-size: 20px;
    flex-shrink: 0;
}

.sia-referral-discount__text strong {
    color: #00aa90;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .sia-referral-share {
        padding: 18px 16px;
    }

    .sia-referral-share__buttons {
        flex-direction: column;
    }

    .sia-btn {
        justify-content: center;
        width: 100%;
    }
}
