/*
|--------------------------------------------------------------------------
| SHARE BUTTON
|--------------------------------------------------------------------------
*/

.arvich-share {
    width: 100%;
    margin-top: 18px;
    text-align: center;
}

.arvich-share-button {
    min-height: 48px;
    padding: 12px 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border: 1px solid #dce2e8;
    border-radius: 14px;

    background: #ffffff;
    color: #171a1f;

    font: inherit;
    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.arvich-share-button:hover {
    border-color: #0071e3;

    box-shadow:
        0 8px 24px rgba(0, 113, 227, .10);
}

.arvich-share-button:active {
    transform: scale(.98);
}


/*
|--------------------------------------------------------------------------
| BODY
|--------------------------------------------------------------------------
*/

body.arvich-share-open {
    overflow: hidden;
}


/*
|--------------------------------------------------------------------------
| OVERLAY
|--------------------------------------------------------------------------
*/

.arvich-share-overlay {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, .52);
}


/*
|--------------------------------------------------------------------------
| POPUP
|--------------------------------------------------------------------------
*/

.arvich-share-popup {
    position: relative;

    width: 100%;
    max-width: 560px;

    padding: 30px;

    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, .22);
}


/*
|--------------------------------------------------------------------------
| CLOSE
|--------------------------------------------------------------------------
*/

.arvich-share-popup__close {
    position: absolute;

    top: 12px;
    right: 14px;

    width: 38px;
    height: 38px;

    border: 0;

    background: transparent;
    color: #6b7280;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;
}


/*
|--------------------------------------------------------------------------
| TITLE
|--------------------------------------------------------------------------
*/

.arvich-share-popup__title {
    margin-bottom: 25px;
    padding-right: 40px;

    color: #111827;

    font-size: 23px;
    font-weight: 800;
}


/*
|--------------------------------------------------------------------------
| SOCIAL GRID
|--------------------------------------------------------------------------
*/

.arvich-share-socials {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 12px;
}


/*
|--------------------------------------------------------------------------
| SOCIAL BUTTON
|--------------------------------------------------------------------------
*/

.arvich-share-social {
    min-width: 0;

    padding: 14px 5px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border: 1px solid #e5e7eb;
    border-radius: 16px;

    background: #ffffff;

    font: inherit;

    cursor: pointer;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.arvich-share-social:hover {
    transform: translateY(-2px);

    border-color: #cbd5e1;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .08);
}


/*
|--------------------------------------------------------------------------
| ICON
|--------------------------------------------------------------------------
*/

.arvich-share-social__icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    font-size: 25px;
    font-weight: 800;
}


/*
|--------------------------------------------------------------------------
| NAME
|--------------------------------------------------------------------------
*/

.arvich-share-social__name {
    max-width: 100%;

    overflow: hidden;
    text-overflow: ellipsis;

    color: #374151;

    font-size: 12px;
    font-weight: 700;
}


/*
|--------------------------------------------------------------------------
| PLATFORM COLORS
|--------------------------------------------------------------------------
*/

.arvich-share-facebook
.arvich-share-social__icon {
    background: #1877f2;
}

.arvich-share-instagram
.arvich-share-social__icon {
    background: #c13584;
}

.arvich-share-threads
.arvich-share-social__icon {
    background: #000000;
}

.arvich-share-tiktok
.arvich-share-social__icon {
    background: #111111;
}

.arvich-share-youtube
.arvich-share-social__icon {
    background: #ff0000;
}


/*
|--------------------------------------------------------------------------
| COPY BUTTON
|--------------------------------------------------------------------------
*/

.arvich-share-copy {
    width: 100%;
    min-height: 48px;

    margin-top: 20px;
    padding: 12px 18px;

    border: 1px solid #dce2e8;
    border-radius: 13px;

    background: #f8fafc;
    color: #111827;

    font: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}


/*
|--------------------------------------------------------------------------
| STATUS
|--------------------------------------------------------------------------
*/

.arvich-share-popup__status {
    min-height: 20px;

    margin-top: 12px;

    color: #008f58;

    font-size: 14px;
    font-weight: 700;

    text-align: center;
}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .arvich-share-button {
        width: 100%;
    }

    .arvich-share-overlay {
        align-items: flex-end;
        padding: 10px;
    }

    .arvich-share-popup {
        max-width: 100%;

        padding:
            26px
            16px
            18px;

        border-radius: 22px;
    }

    .arvich-share-popup__title {
        font-size: 21px;
    }

    .arvich-share-socials {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}