.efc-root,
.efc-root * {
    box-sizing: border-box;
}

.efc-root a {
    text-decoration: none;
}

.efc-launch {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #0074e1;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.efc-launch:hover {
    transform: scale(1.08);
    background: #0074e1;
}

.efc-launch:active {
    transform: scale(.92);
}

.efc-launch:focus {
    outline: none;
    box-shadow: none;
}

.efc-launch:focus-visible {
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 5px #0074e1;
}

.efc-launch::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #0074e1;
    z-index: -1;
    animation: efcRing 2.4s ease-out infinite;
}

.efc-launch.is-open::before {
    animation: none;
    opacity: 0;
}

.efc-ico {
    position: absolute;
    display: flex;
    transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), opacity .25s ease;
}

.efc-ico svg {
    width: 26px;
    height: 26px;
    display: block;
}

.efc-ico-close {
    opacity: 0;
    transform: rotate(-180deg) scale(.4);
}

.efc-launch.is-open .efc-ico-close {
    opacity: 1;
    transform: none;
}

.efc-launch.is-open .efc-ico-chat {
    opacity: 0;
    transform: rotate(180deg) scale(.4);
}

.efc-panel {
    position: fixed;
    right: 20px;
    bottom: 96px;
    z-index: 10000;
    width: 370px;
    max-height: calc(100vh - 120px);
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 20px;
    border: 1px solid rgba(1, 18, 35, .08);
    background: linear-gradient(180deg, #3f97e9 0%, #F5F9FD 70%);
    color: #011223;
    box-shadow: 0 10px 60px rgba(1, 18, 35, .22);
    transform-origin: bottom right;
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px) scale(.6);
    pointer-events: none;
    transition: opacity .25s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1), visibility 0s linear .5s;
    font-family: 'Efuture Text Regular', -apple-system, Arial, sans-serif;
}

.efc-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: opacity .25s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1), visibility 0s;
}

.efc-panel.is-open .efc-in {
    animation: efcUp .55s cubic-bezier(.22, 1, .36, 1) backwards;
    animation-delay: calc(var(--i) * 70ms + 120ms);
}

.efc-head {
    padding: 22px 22px 26px;
    color: #ffffff;
}

.efc-head-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.efc-logo {
    display: block;
    width: 130px;
    height: auto;
}

.efc-avatars {
    display: flex;
}

.efc-avatar {
    width: 38px;
    height: 38px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    overflow: hidden;
    background: #dae4ee;
    position: relative;
    z-index: calc(var(--a) + 1);
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.efc-avatar:first-child {
    margin-left: 0;
}

.efc-avatar:hover {
    transform: translateY(-3px) scale(1.08);
    z-index: 5;
}

.efc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.efc-panel.is-open .efc-avatar {
    animation: efcPop .5s cubic-bezier(.34, 1.8, .64, 1) backwards;
    animation-delay: calc(var(--a) * 90ms + 200ms);
}

.efc-hi,
.efc-help {
    font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif;
    font-size: 28px;
    line-height: 1.2;
}

.efc-hi {
    margin-top: 34px;
    color: rgba(255, 255, 255, .75);
}

.efc-help {
    color: #ffffff;
}

.efc-body {
    padding: 0 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.efc-call {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    background: #011223;
    color: #ffffff;
    overflow: hidden;
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.efc-call:hover,
.efc-call:focus-visible {
    transform: translateY(-3px) scale(1.015);
    color: #ffffff;
}

.efc-call::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .14), transparent);
    transform: skewX(-20deg);
    animation: efcShine 4s ease-in-out infinite 1.2s;
    pointer-events: none;
}

.efc-phone {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0074e1;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.efc-phone svg {
    width: 22px;
    height: 22px;
    display: block;
    animation: efcWiggle 3s ease-in-out infinite 1s;
}

.efc-phone::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #0074e1;
    animation: efcRing 3s ease-out infinite 1s;
}

.efc-call-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.efc-call-title {
    font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
}

.efc-call-sub {
    font-size: 13px;
    line-height: 1.3;
    margin-top: 2px;
    color: rgba(255, 255, 255, .7);
}

.efc-call-number {
    font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif;
    font-size: 15px;
    white-space: nowrap;
}

.efc-label {
    font-size: 12px;
    color: #50667b;
    padding: 6px 4px 0;
}

.efc-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(1, 18, 35, .06);
    overflow: hidden;
}

.efc-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #011223;
    border-top: 1px solid rgba(1, 18, 35, .06);
    transition: background .2s ease;
}

.efc-row:first-child {
    border-top: none;
}

.efc-row:hover,
.efc-row:focus-visible {
    background: #f0f5fa;
    color: #011223;
}

.efc-ic {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #e6f1fc;
    color: #0074e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background .2s ease, color .2s ease;
}

.efc-ic svg {
    width: 20px;
    height: 20px;
    display: block;
}

.efc-row:hover .efc-ic,
.efc-row:focus-visible .efc-ic {
    transform: scale(1.12) rotate(-6deg);
    background: #0074e1;
    color: #ffffff;
}

.efc-row-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.efc-row-title {
    font-family: 'Efuture Text Medium', -apple-system, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.3;
}

.efc-row-sub {
    font-size: 12px;
    line-height: 1.3;
    color: #50667b;
}

.efc-chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #0074e1;
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.efc-row:hover .efc-chevron,
.efc-row:focus-visible .efc-chevron {
    transform: translateX(4px);
}

.efc-foot {
    text-align: center;
    font-size: 12px;
    color: #50667b;
    padding: 6px 0 14px;
}

@keyframes efcUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
}

@keyframes efcPop {
    from {
        opacity: 0;
        transform: scale(.3);
    }
}

@keyframes efcRing {
    0% {
        transform: scale(1);
        opacity: .5;
    }
    80%,
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes efcShine {
    0%,
    70% {
        left: -60%;
    }
    100% {
        left: 130%;
    }
}

@keyframes efcWiggle {
    0%,
    60%,
    100% {
        transform: rotate(0);
    }
    64% {
        transform: rotate(-16deg);
    }
    68% {
        transform: rotate(14deg);
    }
    72% {
        transform: rotate(-12deg);
    }
    76% {
        transform: rotate(10deg);
    }
    80% {
        transform: rotate(0);
    }
}

@media (max-width: 480px) {
    .efc-launch {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }

    .efc-panel {
        right: 12px;
        left: 12px;
        bottom: 84px;
        width: auto;
        max-height: calc(100vh - 100px);
        max-height: calc(100dvh - 100px);
    }

    .efc-hi,
    .efc-help {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .efc-root *,
    .efc-root *::before,
    .efc-root *::after,
    .efc-launch::before {
        animation: none !important;
        transition-duration: .01ms !important;
    }
}

.efc-head-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.efc-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 8px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.efc-close svg {
    width: 100%;
    height: 100%;
    display: block;
}

.efc-close:hover,
.efc-close:focus-visible {
    background: rgba(255, 255, 255, .32);
    transform: rotate(90deg);
    outline: none;
}

.efc-panel.is-open .efc-close {
    animation: efcPop .5s cubic-bezier(.34, 1.8, .64, 1) backwards;
    animation-delay: 470ms;
}

.efc-hi {
    color: #ffffff;
}

.efc-wave {
    display: inline-block;
    transform-origin: 70% 70%;
}

.efc-panel.is-open .efc-wave {
    animation: efcWave 1.6s ease-in-out 600ms;
}

.efc-hi:hover .efc-wave {
    animation: efcWave 1.6s ease-in-out;
}

@keyframes efcWave {
    0%,
    100% {
        transform: rotate(0);
    }
    10% {
        transform: rotate(16deg);
    }
    20% {
        transform: rotate(-8deg);
    }
    30% {
        transform: rotate(16deg);
    }
    40% {
        transform: rotate(-4deg);
    }
    50% {
        transform: rotate(12deg);
    }
    60% {
        transform: rotate(0);
    }
}

@media (max-width: 480px) {
    .efc-head-right {
        gap: 10px;
    }
}

.efc-row:hover .efc-ic,
.efc-row:focus-visible .efc-ic {
    transform: scale(1.12);
}

.efc-panel {
    background: linear-gradient(180deg, #c2e1ff 0%, #F5F9FD 70%);
}

.efc-head,
.efc-hi,
.efc-help {
    color: #011223;
}

.efc-close {
    background: rgba(1, 18, 35, .08);
    color: #011223;
}

.efc-close:hover,
.efc-close:focus-visible {
    background: rgba(1, 18, 35, .16);
}

.efc-launch {
    border-radius: 50% !important;
    min-height: 0 !important;
    min-width: 0 !important;
    line-height: 1 !important;
    box-shadow: 0 6px 24px rgba(0, 116, 225, .35);
    overflow: visible;
}

.efc-launch::before {
    content: none;
    animation: none;
}

.efc-panel {
    border-radius: 20px !important;
}

.efc-close {
    border-radius: 50% !important;
    min-height: 0 !important;
    min-width: 0 !important;
    line-height: 1 !important;
}

.efc-ico-close svg {
    width: 30px;
    height: 30px;
}

.efc-close {
    background: transparent;
}

.efc-close:hover,
.efc-close:focus-visible {
    background: rgba(1, 18, 35, .08);
}

.efc-avatar {
    border-color: transparent;
    background-clip: padding-box;
}

.efc-panel {
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.efc-panel::-webkit-scrollbar {
    display: none;
}

@media (max-height: 760px) {
    .efc-panel.is-open {
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

.efc-call::after {
    content: none;
    animation: none;
}

.efc-row:hover,
.efc-row:focus-visible {
    background: #ffffff;
}

.efc-call-number {
    display: block;
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.3;
    color: #ffffff;
}

.efc-call .efc-chevron {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.efc-call:hover .efc-chevron,
.efc-call:focus-visible .efc-chevron {
    transform: translateX(4px);
}

.efc-avatar {
    border: 0;
}

.efc-avatar:not(:last-child) {
    -webkit-mask: radial-gradient(circle 21px at calc(100% + 9px) 50%, transparent 97%, #000 100%);
    mask: radial-gradient(circle 21px at calc(100% + 9px) 50%, transparent 97%, #000 100%);
}

#efc-root #efc-launch,
#efc-root #efc-launch:hover,
#efc-root #efc-launch:focus,
#efc-root #efc-launch:active {
    width: 52px !important;
    height: 52px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    background-color: #0074e1 !important;
    color: #ffffff !important;
    overflow: visible !important;
}

#efc-root #efc-launch .efc-ico-chat svg {
    width: 24px;
    height: 24px;
}

#efc-root #efc-launch .efc-ico-close svg {
    width: 22px;
    height: 22px;
}

#efc-root #efc-close,
#efc-root #efc-close:hover,
#efc-root #efc-close:focus,
#efc-root #efc-close:active {
    width: 36px !important;
    height: 36px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 8px !important;
    border: 0 !important;
    border-radius: 50% !important;
    line-height: 1 !important;
    color: #011223 !important;
}

#efc-root #efc-close {
    background-color: transparent !important;
}

#efc-root #efc-close:hover,
#efc-root #efc-close:focus-visible {
    background-color: rgba(1, 18, 35, .08) !important;
}

@media (max-width: 480px) {
    #efc-root #efc-launch {
        right: 16px;
        bottom: 16px;
    }
}
