.fxt-paypo-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 1rem;
    padding: .625rem .75rem;
    border: 1px solid #d6e3da;
    border-radius: .75rem;
    background: #f4f8f3;
}

.fxt-paypo-badge__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .65rem;
    min-width: 0;
    color: #233b2e;
    font-size: .9375rem;
    line-height: 1.4;
}

.fxt-paypo-badge__summary img {
    flex: none;
    width: 4.75rem;
    height: auto;
}

.fxt-paypo-badge__link {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 .875rem;
    border-radius: .45rem;
    background: #19603e;
    color: #fff;
    text-decoration: none;
    font-size: .9375rem;
    font-weight: 700;
}

.fxt-paypo-badge__link:hover {
    background: #104b2e;
    color: #fff;
}

.fxt-paypo-badge__link:focus-visible,
.fxt-paypo-badge__close:focus-visible {
    outline: 2px solid #776317;
    outline-offset: 3px;
}

.fxt-paypo-badge__dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    padding: 0;
    width: min(44rem, calc(100% - 2rem));
    max-height: calc(100dvh - 2rem);
    overflow: hidden;
    border: 1px solid #d6d5c8;
    border-radius: .75rem;
    background: #fff;
}

.fxt-paypo-badge__dialog:not([open]) {
    display: none;
}

.fxt-paypo-badge__dialog::backdrop {
    background: rgb(0 0 0 / .55);
}

.fxt-paypo-badge__controls {
    display: flex;
    justify-content: flex-end;
    padding: .4rem .75rem;
}

.fxt-paypo-badge__close {
    min-height: 44px;
    padding: 0 .75rem;
    border: 1px solid #d6d5c8;
    border-radius: .45rem;
    font-weight: 600;
}

.fxt-paypo-badge__details {
    display: block;
    width: 100%;
    height: min(38rem, calc(100dvh - 6rem));
    border: 0;
}
