.nyfc-widget {
    --nyfc-edge: 18px;
    --nyfc-button: 58px;
    position: fixed;
    bottom: calc(var(--nyfc-edge) + env(safe-area-inset-bottom, 0px));
    z-index: 99990;
    margin: 0;
    padding: 0;
    color: #142844;
    text-align: right;
}

.nyfc-widget.nyfc-right {
    right: var(--nyfc-edge);
    right: max(var(--nyfc-edge), env(safe-area-inset-right, 0px));
}

.nyfc-widget.nyfc-left {
    left: var(--nyfc-edge);
    left: max(var(--nyfc-edge), env(safe-area-inset-left, 0px));
}

.nyfc-widget .nyfc-trigger {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    width: var(--nyfc-button);
    height: var(--nyfc-button);
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    background: #145bcc;
    color: #fff;
    box-shadow: 0 6px 22px rgba(15, 70, 159, .32);
    cursor: pointer;
    list-style: none;
}

.nyfc-widget .nyfc-trigger:hover {
    background: #104cac;
}

.nyfc-widget .nyfc-trigger::marker {
    content: '';
}

.nyfc-widget .nyfc-trigger::-webkit-details-marker {
    display: none;
}

.nyfc-widget svg {
    display: block;
    width: 22px;
    height: 22px;
    pointer-events: none;
}

.nyfc-widget .nyfc-trigger svg {
    width: 26px;
    height: 26px;
}

.nyfc-widget .nyfc-trigger-close,
.nyfc-widget[open] .nyfc-trigger-phone {
    display: none;
}

.nyfc-widget[open] .nyfc-trigger-close {
    display: block;
}

.nyfc-widget .nyfc-panel {
    box-sizing: border-box;
    position: absolute;
    bottom: calc(var(--nyfc-button) + 12px);
    width: min(316px, calc(100vw - max(var(--nyfc-edge), env(safe-area-inset-left, 0px)) - max(var(--nyfc-edge), env(safe-area-inset-right, 0px))));
    max-height: calc(100vh - var(--nyfc-button) - 52px);
    max-height: calc(100dvh - var(--nyfc-button) - 52px - env(safe-area-inset-bottom, 0px));
    overflow: auto;
    margin: 0;
    padding: 0;
    border: 1px solid #dbe5f3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(16, 38, 71, .19);
}

.nyfc-widget.nyfc-right .nyfc-panel {
    right: 0;
}

.nyfc-widget.nyfc-left .nyfc-panel {
    left: 0;
}

.nyfc-widget .nyfc-heading {
    margin: 0;
    padding: 14px 16px;
    border-bottom: 1px solid #e4ecf7;
    background: #eff5ff;
    color: #153963;
    font-size: 15px;
    line-height: 1.55;
}

.nyfc-widget .nyfc-links {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 8px;
    list-style: none;
}

.nyfc-widget .nyfc-links li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nyfc-widget .nyfc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 10px;
    color: #172c48;
    font-size: 13px;
    line-height: 1.45;
    text-decoration: none;
}

.nyfc-widget .nyfc-link:hover {
    background: #f0f5fc;
    color: #123a70;
    text-decoration: none;
}

.nyfc-widget .nyfc-link:focus-visible,
.nyfc-widget .nyfc-trigger:focus-visible {
    outline: 2px solid #145bcc;
    outline-offset: 2px;
}

.nyfc-widget .nyfc-icon {
    display: grid;
    flex: 0 0 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    background: #eaf2ff;
    color: #145bcc;
}

.nyfc-widget .nyfc-icon-whatsapp {
    background: #e3f7ec;
    color: #08784c;
}

.nyfc-widget .nyfc-icon-telegram {
    background: #e5f5fc;
    color: #086b94;
}

.nyfc-widget .nyfc-icon-instagram {
    background: #fcebf4;
    color: #a22168;
}

.nyfc-widget .nyfc-link-text {
    display: grid;
    flex: 1;
    min-width: 0;
}

.nyfc-widget .nyfc-number {
    justify-self: start;
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #153963;
    font-size: 14px;
    font-weight: 700;
}

.nyfc-widget .nyfc-arrow {
    font-size: 20px;
    line-height: 1;
    color: #526b88;
}
