.eg-fcb,
.eg-fcb * {
    box-sizing: border-box;
}

.eg-fcb {
    --eg-fcb-green: #123f37;
    --eg-fcb-green-hover: #0c332d;
    --eg-fcb-gold: #d7b46a;
    position: fixed;
    z-index: 99990;
    right: 26px;
    bottom: 26px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-height: 62px;
    max-width: calc(100vw - 32px);
    padding: 8px 23px 8px 9px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: linear-gradient(135deg, #174a40 0%, var(--eg-fcb-green) 58%, #0e352e 100%);
    box-shadow:
        0 13px 32px rgba(11, 43, 37, .23),
        0 4px 10px rgba(11, 43, 37, .12),
        inset 0 1px 0 rgba(255, 255, 255, .15);
    color: #fff !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
    -webkit-tap-highlight-color: transparent;
}

.eg-fcb::before {
    position: absolute;
    top: 0;
    left: 24%;
    width: 42%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
    content: "";
    pointer-events: none;
}

.eg-fcb:hover,
.eg-fcb:focus-visible {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #1a5146 0%, var(--eg-fcb-green-hover) 100%);
    box-shadow:
        0 17px 38px rgba(11, 43, 37, .29),
        0 6px 14px rgba(11, 43, 37, .14),
        inset 0 1px 0 rgba(255, 255, 255, .18);
    color: #fff !important;
    text-decoration: none !important;
}

.eg-fcb:focus-visible {
    outline: 3px solid var(--eg-fcb-gold);
    outline-offset: 4px;
}

.eg-fcb--left {
    right: auto;
    left: 26px;
}

.eg-fcb__icon {
    display: inline-flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255,255,255,.19), rgba(255,255,255,.09));
    color: #fff;
    box-shadow: inset 0 1px 2px rgba(255,255,255,.10);
    font-size: 17px;
    transition: background .22s ease, transform .22s ease;
}

.eg-fcb:hover .eg-fcb__icon {
    transform: scale(1.06);
    background: rgba(255,255,255,.22);
}

.eg-fcb__label {
    display: block;
    overflow: hidden;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .eg-fcb {
        right: 15px;
        bottom: max(15px, env(safe-area-inset-bottom));
        min-height: 56px;
        gap: 10px;
        padding: 7px 18px 7px 8px;
        font-size: 13px;
    }

    .eg-fcb--left {
        right: auto;
        left: 15px;
    }

    .eg-fcb__icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eg-fcb,
    .eg-fcb__icon {
        transition: none;
    }
}
