.neptune-contact-popup {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
}

.neptune-contact-popup--right_middle {
    right: 16px;
    top: 95%;
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
}

.neptune-contact-popup--right_bottom {
    right: 16px;
    top: auto;
    bottom: 22px;
    left: auto;
    transform: none;
}

.neptune-contact-popup--left_middle {
    left: 16px;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

.neptune-contact-popup--left_bottom {
    left: 16px;
    right: auto;
    top: auto;
    bottom: 22px;
    transform: none;
}

.neptune-contact-popup__trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    border-radius: 999px;
    background: var(--main-background-color);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
}

.neptune-contact-popup__trigger:hover,
.neptune-contact-popup__trigger:focus {
    background: var(--main-background-color);
    transform: scale(1.05);
    text-decoration: none;
    color: #fff;
}

.neptune-contact-popup__icon {
    display: flex;
    width: 32px;
    height: 32px;
}

.neptune-contact-popup__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.neptune-contact-popup__text {
    position: absolute;
    right: 76px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    background: var(--main-background-color);
    color: #fff;
    font-family: var(--main-font), sans-serif;
    font-size: 14px;
    line-height: 1.2;
    padding: 8px 11px;
    border-radius: 6px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.neptune-contact-popup--left_middle .neptune-contact-popup__text,
.neptune-contact-popup--left_bottom .neptune-contact-popup__text {
    left: 76px;
    right: auto;
    transform: translateY(-50%) translateX(-8px);
}

.neptune-contact-popup__trigger:hover .neptune-contact-popup__text,
.neptune-contact-popup__trigger:focus .neptune-contact-popup__text,
.neptune-contact-popup__trigger:focus-visible .neptune-contact-popup__text {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 767px) {
    .neptune-contact-popup {
        right: 10px;
        bottom: 16px;
        top: auto;
        left: auto;
        transform: none;
    }

    .neptune-contact-popup__trigger {
        width: 58px;
        height: 58px;
    }

    .neptune-contact-popup__text {
        display: none;
    }
}
