.fxgp-avs-verification-bar {
    --fxgp-avs-bar-bg: var(--bg-color, #000000);
    --fxgp-avs-bar-text: var(--text-default-color, #e2eef3);
    --fxgp-avs-bar-primary: var(--primary-color, #00a980);
    --fxgp-avs-bar-primary-hover: var(--primary-color-hover, #00bd90);
    align-items: center;
    background: color-mix(in oklab, var(--fxgp-avs-bar-bg) 88%, transparent);
    box-sizing: border-box;
    color: var(--fxgp-avs-bar-text);
    display: flex;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
    gap: 16px;
    justify-content: center;
    left: 0;
    min-height: 84px;
    padding: 24px 50px;
    position: sticky;
    right: 0;
    bottom: 0;
    z-index: 99998;
}

.fxgp-avs-verification-bar.is-hidden {
    display: none;
}

.fxgp-avs-verification-bar-dismissed .fxgp-avs-verification-bar {
    display: none;
}

.fxgp-avs-modal-open {
    overflow: hidden;
}

.fxgp-avs-blocking-modal {
    align-items: center;
    bottom: 0;
    box-sizing: border-box;
    display: flex;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
    justify-content: center;
    left: 0;
    padding: 24px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

.fxgp-avs-blocking-modal.is-hidden {
    display: none;
}

.fxgp-avs-blocking-modal__backdrop {
    backdrop-filter: blur(18px);
    background: rgba(0, 0, 0, 0.72);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.fxgp-avs-blocking-modal__panel {
    align-items: center;
    background: var(--surface-color, #222942);
    border: 1px solid var(--border-color, #3e4970);
    border-radius: var(--specials-corners, 4px);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    color: var(--text-default, var(--text-default-color, #e2eef3));
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: min(100%, 540px);
    padding: 40px 50px;
    position: relative;
    text-align: center;
}

.fxgp-avs-blocking-modal__mark {
    align-items: center;
    background: var(--primary, var(--primary-color, #00a980));
    border-radius: 50%;
    color: var(--surface, #222942);
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    height: 37px;
    justify-content: center;
    line-height: 1;
    width: 37px;
}

.fxgp-avs-blocking-modal__eyebrow,
.fxgp-avs-blocking-modal__title,
.fxgp-avs-blocking-modal__copy {
    margin: 0;
}

.fxgp-avs-blocking-modal__eyebrow {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.fxgp-avs-blocking-modal__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.fxgp-avs-blocking-modal__copy {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
}

.fxgp-avs-blocking-modal__actions {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.fxgp-avs-blocking-modal__confirm-wrap {
    position: relative;
}

.fxgp-avs-blocking-modal__confirm,
.fxgp-avs-blocking-modal__cancel {
    align-items: center;
    border-radius: var(--specials-corners, 4px);
    box-sizing: border-box;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    gap: 8px;
    justify-content: center;
    line-height: 1;
    min-height: 30px;
    padding: 8px 19px;
}

.fxgp-avs-blocking-modal__confirm {
    background: var(--primary, var(--primary-color, #00a980));
    border: 1px solid var(--primary, var(--primary-color, #00a980));
    color: var(--specials-white, #f4f4f4);
    font-weight: 700;
    text-decoration: none;
}

.fxgp-avs-blocking-modal__confirm:hover,
.fxgp-avs-blocking-modal__confirm:focus {
    color: var(--specials-white, #f4f4f4);
    text-decoration: none;
}

.fxgp-avs-blocking-modal__cancel {
    background: var(--surface-color, #222942);
    border: 1px solid var(--primary, var(--primary-color, #00a980));
    color: var(--text-default, var(--text-default-color, #e2eef3));
    font-weight: 400;
    transition: background-color 0.3s ease-in-out;
}
.fxgp-avs-blocking-modal__cancel:hover{
    background-color: var(--primary-color);
}
.fxgp-avs-blocking-modal__confirm:hover{
    filter: brightness(90%);
}
.fxgp-avs-blocking-modal__confirm:focus-visible,
.fxgp-avs-blocking-modal__cancel:focus-visible {
    outline: 2px solid var(--text-default, var(--text-default-color, #e2eef3));
    outline-offset: 3px;
}

.fxgp-avs-blocking-modal__check {
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    display: block;
    height: 5px;
    transform: rotate(-45deg) translateY(-1px);
    width: 10px;
}

.fxgp-avs-blocking-modal__status {
    bottom: -22px;
    color: var(--text-default, var(--text-default-color, #e2eef3));
    font-size: 12px;
    left: 50%;
    line-height: 1.2;
    min-width: max-content;
    position: absolute;
    transform: translateX(-50%);
}

.fxgp-avs-blocking-modal__status.is-error {
    color: var(--error-color, #ff9aa2);
}

.fxgp-avs-blocking-modal__status.is-success {
    color: var(--success-color, #7ff0cf);
}

.fxgp-avs-state-indicator {
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--error-color, #f19113);
    cursor: pointer;
    display: inline-flex;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
    font-size: 8px;
    font-weight: 700;
    gap: 5px;
    line-height: 1;
    padding: 2px 4px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.fxgp-avs-state-indicator:hover,
.fxgp-avs-state-indicator:focus {
    color: var(--error-color, #f19113);
    text-decoration: none;
}

.fxgp-avs-state-indicator:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 2px;
}

.fxgp-avs-state-indicator__dot {
    animation: fxgp-avs-state-pulse 1.4s ease-in-out infinite;
    background: currentColor;
    border-radius: 50%;
    display: block;
    height: 6px;
    width: 6px;
}

@keyframes fxgp-avs-state-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(241, 145, 19, 0.5);
        opacity: 1;
    }

    50% {
        box-shadow: 0 0 0 5px rgba(241, 145, 19, 0);
        opacity: 0.7;
    }
}

.fxgp-avs-verification-bar__content {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: center;
    min-width: 0;
}

.fxgp-avs-verification-bar__badge {
    align-items: center;
    background: var(--fxgp-avs-bar-primary);
    border-radius: 50%;
    color: var(--fxgp-avs-bar-bg);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 700;
    height: 37px;
    justify-content: center;
    line-height: 1;
    width: 37px;
}

.fxgp-avs-verification-bar__message {
    color: var(--fxgp-avs-bar-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

.fxgp-avs-verification-bar__divider {
    background: var(--border-color,rgba(226, 238, 243, 0.45));
    display: block;
    flex: 0 0 auto;
    height: 22px;
    width: 1px;
}

.fxgp-avs-verification-bar__button {
    align-items: center;
    background: var(--fxgp-avs-bar-primary);
    border: 0;
    border-radius: 4px;
    box-shadow: none;
    box-sizing: border-box;
    color: var(--fxgp-avs-bar-text);
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    line-height: 1;
    min-height: 30px;
    padding: 8px 19px;
    text-decoration: none;
    white-space: nowrap;
}

.fxgp-avs-verification-bar__button:hover,
.fxgp-avs-verification-bar__button:focus {
    background: var(--fxgp-avs-bar-primary-hover);
    color: var(--fxgp-avs-bar-text);
    text-decoration: none;
}

.fxgp-avs-verification-bar__button:focus-visible,
.fxgp-avs-verification-bar__close:focus-visible {
    outline: 2px solid var(--fxgp-avs-bar-text);
    outline-offset: 3px;
}

.fxgp-avs-verification-bar__button.is-disabled,
.fxgp-avs-verification-bar__button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.fxgp-avs-verification-bar__check {
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    display: block;
    height: 5px;
    transform: rotate(-45deg) translateY(-1px);
    width: 10px;
}

.fxgp-avs-verification-bar__status {
    color: var(--fxgp-avs-bar-text);
    font-size: 12px;
    line-height: 1.2;
}

.fxgp-avs-verification-bar__status.is-error {
    color: var(--error-color, #ff9aa2);
}

.fxgp-avs-verification-bar__status.is-success {
    color: var(--success-color, #7ff0cf);
}

.fxgp-avs-verification-bar__close {
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    cursor: pointer;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 16px;
    top: 12px;
    width: 28px;
}

.fxgp-avs-verification-bar__close span,
.fxgp-avs-verification-bar__close span::after {
    background: var(--fxgp-avs-bar-text);
    border-radius: 1px;
    content: "";
    display: block;
    height: 3px;
    position: absolute;
    width: 14px;
}

.fxgp-avs-verification-bar__close span {
    transform: rotate(45deg);
}

.fxgp-avs-verification-bar__close span::after {
    transform: rotate(90deg);
}

@media (max-width: 720px) {
    .fxgp-avs-blocking-modal__panel {
        padding: 32px 22px;
    }

    .fxgp-avs-blocking-modal__actions {
        flex-direction: column;
        width: 100%;
    }

    .fxgp-avs-blocking-modal__confirm-wrap {
        width: 100%;
    }

    .fxgp-avs-blocking-modal__confirm,
    .fxgp-avs-blocking-modal__cancel {
        width: 100%;
    }

    .fxgp-avs-verification-bar {
        align-items: stretch;
        min-height: 0;
        padding: 18px 46px 18px 18px;
    }

    .fxgp-avs-verification-bar__content {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: flex-start;
        width: 100%;
    }

    .fxgp-avs-verification-bar__message {
        flex: 1 1 190px;
        line-height: 1.25;
        text-align: left;
        white-space: normal;
    }

    .fxgp-avs-verification-bar__divider {
        display: none;
    }

    .fxgp-avs-verification-bar__button {
        flex: 1 0 100%;
        min-height: 36px;
    }
}
