.gfft {
    display: inline-flex;
    vertical-align: middle;
    margin-inline-start: 0.35rem;
}

.gform_wrapper .gfft-label {
    display: inline-block;
    min-width: 44px;
    min-height: 44px;
    margin:0!important;
    padding:0;
}

.gfft-trigger,
.gfft-panel .gfft-close {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #D51466;
    cursor: pointer;
    line-height: 1;
    box-shadow: none;
}

.gfft-trigger span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font: bold 16px Georgia, serif;
}

.gfft-trigger:hover {
    opacity: 0.5;
}

.gfft-trigger:focus-visible,
.gfft-panel .gfft-close:focus-visible {
    outline: 3px solid #1673c9;
    outline-offset: 2px;
}

.gfft-panel {
    --gfft-red: #D51466;

    box-sizing: border-box;
    position: fixed;
    z-index: 2147483000;
    display: block;
    width: 320px;
    max-width: calc(100vw - 24px);
    padding: 20px 54px 20px 20px;
    border: 0;
    border-radius: 10px;
    background: var(--gfft-red);
    color: #fff;
    box-shadow: 0 6px 24px #0003;
    text-align: start;
}

.gfft-panel::before {
    content: '';
    position: absolute;
    left: var(--gfft-arrow, 24px);
    top: -8px;
    border-inline: 8px solid transparent;
    border-bottom: 8px solid var(--gfft-red);
    transform: translateX(-50%);
}

.gfft-panel[data-above]::before {
    top: auto;
    bottom: -8px;
    border-bottom: 0;
    border-top: 8px solid var(--gfft-red);
}

.gfft-panel .gfft-close {
    position: absolute;
    top: 3px;
    right: 3px;
    color: #fff;
    font: 28px/1 system-ui, sans-serif;
}

.gfft-panel .gfft-close:hover {
    background: #ffffff24;
}

.gfft-panel .gfft-close:focus-visible {
    outline-color: #fff;
    outline-offset: -4px;
}

.gfft-message {
    display: block;
    overflow: auto;
    max-height: min(55vh, 380px);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-weight: 400;
}

.gfft-trigger[hidden],
.gfft-panel[hidden] {
    display: none !important;
}

@media (forced-colors: active) {
    .gfft-panel,
    .gfft-trigger {
        border: 2px solid CanvasText;
    }
}