/* ==========================================
   UIREBIT SHARE BUTTONS
   Branded colors and icons
   ========================================== */

.uirebit-share {
    margin: 36px 0;
    padding: 22px 0;

    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
}


/* BUTTON CONTAINER */

.uirebit-share__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}


/* BASE BUTTON */

.uirebit-share__buttons .uirebit-share__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 43px;
    padding: 10px 16px;

    border: 1px solid transparent;
    border-radius: 7px;

    background: var(--share-bg, #475569);
    color: var(--share-color, #ffffff);

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;

    text-align: center;
    text-decoration: none;

    box-shadow: none;
    cursor: pointer;

    transition:
        filter 0.15s ease,
        transform 0.15s ease;
}


/* ICONS */

.uirebit-share__button svg {
    display: block;
    width: 18px;
    height: 18px;

    flex-shrink: 0;
}


/* FACEBOOK */

.uirebit-share__buttons .uirebit-share__button--facebook {
    --share-bg: #1877F2;
    --share-color: #ffffff;
}


/* X */

.uirebit-share__buttons .uirebit-share__button--x {
    --share-bg: #000000;
    --share-color: #ffffff;
}


/* WHATSAPP */

.uirebit-share__buttons .uirebit-share__button--whatsapp {
    --share-bg: #25D366;
    --share-color: #063b1b;
}


/* COPY LINK */

.uirebit-share__buttons .uirebit-share__button--copy {
    --share-bg: #475569;
    --share-color: #ffffff;
}


/* NATIVE SHARE */

.uirebit-share__buttons .uirebit-share__button--native {
    --share-bg: #A34D3E;
    --share-color: #ffffff;
}


/* HOVER */

.uirebit-share__buttons .uirebit-share__button:hover {
    background: var(--share-bg, #475569);
    color: var(--share-color, #ffffff);

    filter: brightness(0.90);
    transform: translateY(-1px);

    text-decoration: none;
}


/* KEYBOARD FOCUS */

.uirebit-share__buttons .uirebit-share__button:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}


/* NATIVE SHARE HIDDEN BY DEFAULT */

.uirebit-share__buttons .uirebit-share__native {
    display: none;
}


/* MOBILE */

@media (max-width: 767px) {

    .uirebit-share--native-supported
    .uirebit-share__buttons
    .uirebit-share__native {
        display: inline-flex;
    }

    .uirebit-share__buttons {
        gap: 8px;
    }

    .uirebit-share__buttons .uirebit-share__button {
        min-height: 44px;
        padding: 10px 13px;
    }

}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .uirebit-share__buttons .uirebit-share__button {
        transition: none;
    }

    .uirebit-share__buttons .uirebit-share__button:hover {
        transform: none;
    }

}

/* SHARE CALL TO ACTION */

.uirebit-share__title {
    margin: 0 0 20px;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    color: #252525;
}