@property --fx-call-accent {
    syntax: "<color>";
    inherits: true;
    initial-value: #4b7e42;
}

.fx-call-button {
    --fx-call-bg: #1f693f;
    --fx-call-accent: #4b7e42;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px 10px 10px;
    background-color: var(--fx-call-bg);
    color: #ffffff !important;
    border: 3px solid var(--fx-call-accent);
    box-sizing: border-box;
    font-family: var(--e-global-typography-914118a-font-family), Sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-radius: 999px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.18),
        0 2px 6px rgba(0, 0, 0, 0.08);
    transition:
        --fx-call-accent 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease,
        opacity 0.3s ease,
        visibility 0.3s ease;
    cursor: pointer;
    will-change: transform, opacity;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    pointer-events: none;
}

.fx-call-button.fx-call-button--visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.fx-call-button:visited,
.fx-call-button:active,
.fx-call-button:focus {
    color: #ffffff !important;
    text-decoration: none;
}

.fx-call-button:focus-visible {
    outline: 2px solid var(--fx-call-accent);
    outline-offset: 3px;
}

.fx-call-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    color: var(--fx-call-accent);
    border-radius: 50%;
    transition: color 0.3s ease;
}

.fx-call-button__icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.fx-call-button__text {
    display: inline-block;
}

.fx-call-button__text--full {
    display: none;
}

@media (min-width: 768px) {
    .fx-call-button__text--full {
        display: inline-block;
    }

    .fx-call-button__text--short {
        display: none;
    }

    .fx-call-button:hover {
        animation: fx-call-button-leaf-cycle 6s linear infinite;
        box-shadow:
            0 12px 28px rgba(0, 0, 0, 0.22),
            0 4px 8px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }
}

@keyframes fx-call-button-leaf-cycle {
    0% {
        --fx-call-accent: #4b7e42;
    }
    20% {
        --fx-call-accent: #b6cc6d;
    }
    40% {
        --fx-call-accent: #ecd665;
    }
    60% {
        --fx-call-accent: #fbb759;
    }
    80% {
        --fx-call-accent: #ed8956;
    }
    100% {
        --fx-call-accent: #4b7e42;
    }
}
