.affiliates-policy-confirm {
    --policy-display: none;
    --width: 1280px;
    --padding: 40px;
    --footer-height: 72px;
    --heading-font-size: 36px;

    @media (width <= 1360px) {
        --width: 100%;
    }

    @media (width <= 800px) {
        --padding: 20px;
        --heading-font-size: 24px;
    }

    &[data-state="visible"] {
        --policy-display: flex;
    }

    display: var(--policy-display);
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--padding);
    overscroll-behavior: contain;
    overflow-y: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(from #162749 r g b / 0.5);

    .policy-body {
        display: flex;
        flex-direction: column;
        height: 100%;
        width: var(--width);
        overflow: hidden;
        border-radius: 12px;
        background-color: #fff;
    }

    .policy-container {
        position: relative;
        z-index: 99;
        flex: 1;
        overflow-y: auto;
        overscroll-behavior: contain;

        .section-policy-text {
            --section-padding-vertical: 36px;

            &:nth-child(2n+2) {
                --section-background-color: #f7f8fb;
            }

            .section-policy-text-container {
                .policy-text {
                    display: flex;
                    flex-direction: column;
                    align-items: start;
                    justify-content: start;
                    gap: 24px;
                }
            }
        }

        .section-wrapper {
            width: 100%;

            .section-container {
                width: 100%;
            }

            .section-policy-header-container {
                --section-padding-vertical: 40px;
            }
        }

        .text-contact {
            background-color: rgb(from var(--color-da-orange) r g b / 0.15);
        }
    }

    .policy-header {
        position: relative;
        z-index: 100;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        min-height: 64px;
        padding: 0 var(--site-padding-horizontal);
        box-shadow: 0 0 6px rgb(from var(--color-btm-dark-blue) r g b / 0.35);
        background-color: rgb(from var(--color-btm-dark-blue) r g b / 0.05);

        .ui-section-heading {
            --font-size: var(--heading-font-size);
        }

        button {
            margin: 0;
            padding: 0 12px;
            height: 36px;
            font-size: 16px;
            line-height: 1;
            font-weight: 500;
            text-transform: uppercase;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            background-color: transparent;
            transition: background-color .2s linear;
            border: 1px solid #E99335;
            border-radius: 8px;
            font-family: 'IBM Plex Sans', sans-serif;
        }
    }

    .policy-footer {
        position: relative;
        z-index: 100;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 16px;
        padding: 0 var(--site-padding-horizontal);
        min-height: var(--footer-height);
        box-shadow: 0 0 6px rgb(from var(--color-btm-dark-blue) r g b / 0.35);
        background-color: rgb(from var(--color-btm-dark-blue) r g b / 0.05);

        .ui-action-button-arrow {
            --button-height: 48px;
        }
    }
}
