/* Referral programme (module "referrals"): member area, personal pages, floating share button. */

.referrals-fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1030;
    border-radius: 2rem;
    padding: .55rem 1rem;
}

/* Above the chat button of the chatbot module when it is on the same side. */
body:has(.cms-chat-right) .referrals-fab {
    bottom: 5.25rem;
}

@media print {
    .referrals-fab { display: none; }
}

.referrals-code {
    letter-spacing: .05em;
    word-break: break-all;
}

.referrals-code-card {
    border-left: .3rem solid var(--bs-success);
}

.referrals-area .is-copied,
.referrals-area .is-copied:hover {
    color: var(--bs-success);
    border-color: var(--bs-success);
}

.referrals-whatsapp .btn-success {
    font-weight: 600;
}

.referrals-item .card-title a {
    color: inherit;
}
