.sharer__trigger {
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 3;
    opacity: 0;
}

.sharer__trigger__label {
    position: absolute;
    width: 40px;
    height: 40px;
    background: url("/wp-content/themes/master-theme/template-parts/single/sharer/assets/img/share-icon.svg") no-repeat center;
    background-color: var(--clr-cnn);
    border-radius: 50%;
    left: 0;
    z-index: 2;
}

.sharer__trigger ~ .share__post__text {
    position: absolute;
    display: flex;
    align-items: center;
    color: #282828;
    font-size: 14px;
    line-height: 16px;
    margin-top: 12px;
    transition: transform ease .3s, opacity 1s;
    transform: translateX(48px);
}

.single-sharer__list .single-sharer__list__item {
    position: relative;
    width: 40px;
    height: 40px;
    transition: .5s;
    transform: translateX(-280px);
    opacity: 0;
}

.sharer__trigger ~ .single-sharer__list img {
    display: flex;
    border: 1px solid #D0D0D0;
    border-radius: 50%;
    background: #fff;
    width: 40px;
    height: 40px;
    object-fit: scale-down;
}

/* Input Checado */
.sharer__trigger:checked ~ .share__post__text {
    transform: translateX(-100%);
    opacity: 0;
    transition: transform ease .5s, opacity ease .2s;
}

.sharer__trigger:checked ~ .single-sharer__list {
    position: relative;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-left: -48px;
    z-index: 1;
}

.sharer__trigger:checked ~ .single-sharer__list .single-sharer__list__item:first-child {
    margin-left: 56px;
}

.sharer__trigger:checked ~ .single-sharer__list .single-sharer__list__item {
    transform: translateX(0px);
    opacity: 1;
}

.single-sharer__copy__post {
    background: unset;
    border: none;
    padding: 0;
}

.single-sharer__copy__alert {
    position: absolute;
    white-space: nowrap;
    visibility: hidden;
    top: 56px;
    font-size: 14px;
    line-height: 18px;
    left: -90px;
    padding: 16px;
    border: 1px solid #c00;
    border-radius: 4px;
    background-color: #fff;
}

.single-sharer__copy__post:hover ~ .single-sharer__copy__alert {
    visibility: visible;
}

@media(min-width: 1080px) {
    .sharer__trigger ~ .share__post__text {
        display: none;
    }

    .single-sharer__list {
        gap: 16px;
        flex-direction: column;
        height: 40px;
        position: relative;
        left: -48px;
        overflow: visible;
        width: fit-content;
    }

    .single-sharer__list .single-sharer__list__item {
        transform: translateX(0px);
        margin-bottom: -56px;
    }

    .sharer__trigger:checked ~ .single-sharer__list {
        flex-direction: column;
        margin: 0;
        width: 40px;
        flex-wrap: nowrap;
        overflow: visible;
    }

    .sharer__trigger:checked ~ .single-sharer__list .single-sharer__list__item:first-child {
        margin: 0;
    }

    .sharer__trigger:checked ~ .single-sharer__list .single-sharer__list__item {
        margin: 0;
        transform: translateY(-280px);
    }

    .single-sharer__copy__alert {
        left: 56px;
        top: -6px;
    }
}

@media(min-width: 1400px) {
    .single-sharer {
        margin: 0 0 0 -56px;
    }
}

@media only screen and (min-width: 351px) and (max-width: 1080px) {
    .single-sharer {
        height: 74px;
    }
    .single-sharer__copy__alert {
        top: -6px;
        left: 48px;
    }
}

@media(max-width: 351px){
    .single-sharer__copy__alert {
        top: -6px;
        left: 48px;
    }
}

@media(min-width: 351px) and (max-width: 480px) {
    .single-sharer__copy__alert {
        top: -48px;
        left: -64px;
    }
}

.dark__mode .sharer__trigger~.share__post__text {
    color: var(--clr-cnn-grey-4);
}

.dark__mode .single-sharer__copy__alert {
    background-color: var(--clr-cnn-grey-0);
    border-color: var(--clr-cnn-grey-4);
}
