.support-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-family: inherit;
}

.support-widget.is-collapsed .support-widget__card,
.support-widget.is-collapsed .support-widget__close {
    display: none;
}

.support-widget__close {
    position: absolute;
    top: -10px;
    right: -10px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #dbe7f5;
    border-radius: 50%;
    background: #fff;
    color: #64748b;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 35, 72, .14);
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.support-widget__close:hover {
    transform: translateY(-1px);
    background: #f8fbff;
    color: #101828;
}

.support-widget__card {
    width: 286px;
    padding: 18px;
    border: 1px solid #dbe7f5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(15, 35, 72, .18);
}

.support-widget__title {
    margin: 0 0 6px;
    color: #101828;
    font-size: 16px;
    font-weight: 800;
}

.support-widget__text {
    margin: 0;
    color: #5f6b7a;
    font-size: 13px;
    line-height: 1.55;
}

.support-widget__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: #229ed9;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(34, 158, 217, .32);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.support-widget.is-collapsed .support-widget__button {
    width: 58px;
    min-width: 58px;
    height: 58px;
    min-height: 58px;
    justify-content: center;
    padding: 0;
}

.support-widget.is-collapsed .support-widget__button > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.support-widget.is-collapsed .support-widget__icon {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, .16);
}

.support-widget.is-collapsed .support-widget__icon svg {
    width: 20px;
    height: 20px;
}

.support-widget__button:hover {
    transform: translateY(-2px);
    background: #168ac2;
    color: #fff;
    box-shadow: 0 16px 34px rgba(34, 158, 217, .38);
}

.support-widget__icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
}

.support-widget__icon svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: currentColor;
}

@media (max-width: 680px) {
    .support-widget {
        right: 14px;
        bottom: 14px;
        left: 14px;
        align-items: stretch;
    }

    .support-widget__close {
        top: -12px;
        right: -4px;
    }

    .support-widget__card {
        display: none;
    }

    .support-widget__button {
        justify-content: center;
        width: 100%;
        min-height: 50px;
    }

    .support-widget.is-collapsed {
        left: auto;
        align-items: flex-end;
    }

    .support-widget.is-collapsed .support-widget__button {
        width: 56px;
        min-width: 56px;
        height: 56px;
        min-height: 56px;
    }
}
