.fbpd-banner {
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 40px;
    z-index: 9999;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease, transform .5s ease, visibility .5s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.fbpd-banner * {
    box-sizing: border-box;
}

.fbpd-banner--show {
    opacity: 1;
    visibility: visible;
}

.fbpd-banner__container {
    display: flex;
    justify-content: flex-start;
    padding: 0 20px;
}

.fbpd-banner__row {
    position: relative;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0px 6px 35px 0px rgba(29, 29, 31, .08);
    padding: 15px;
    max-width: 485px;
}

.fbpd-banner__title {
    color: #1d1d1f;
    font-size: 28px;
    font-weight: 600;
    line-height: 100%;
    margin-bottom: 20px;
}

.fbpd-banner__info {
    position: relative;
    z-index: 2;
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 500;
    line-height: 128.571%;
    margin-bottom: 10px;
}

.fbpd-banner__info a,
.fbpd-banner__info span {
    display: inline-block;
    opacity: .75;
    font-weight: 800;
    line-height: 18px;
    text-decoration-line: underline !important;
    color: #1d1d1f;
}

.fbpd-banner__btn {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    border-radius: 20px;
    border: 1px solid transparent;
    padding: 10px 20px;
    min-height: 36px;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, opacity .3s ease;
}

.fbpd-banner__actions {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.fbpd-banner__row--with-image .fbpd-banner__actions {
    padding-right: 55px;
}

.fbpd-banner__btn--accept {
    color: #ffffff;
    background-color: #483db5;
}

.fbpd-banner__btn--accept:hover {
    background-color: #9c95ff;
}

.fbpd-banner__btn--reject-outline {
    color: #483db5;
    background-color: transparent;
    border-color: #483db5;
}

.fbpd-banner__btn--reject-outline:hover {
    background-color: #f2f0ff;
}

.fbpd-banner__btn--reject-fill {
    color: #483db5;
    background-color: #f2f0ff;
}

.fbpd-banner__btn--reject-fill:hover {
    background-color: #e4e1ff;
}

.fbpd-banner__btn--reject-text {
    color: #483db5;
    background-color: transparent;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: underline;
}

.fbpd-banner__btn--reject-text:hover {
    color: #7166d8;
}

.fbpd-banner__btn:focus-visible {
    outline: 3px solid rgba(72, 61, 181, .35);
    outline-offset: 2px;
}

.fbpd-banner__img {
    position: absolute;
    right: 0;
    bottom: 0;
    line-height: 0;
}

/* --- расположение --- */

.fbpd-banner--bottom-right {
    left: 50%;
    transform: translateX(100px);
}
.fbpd-banner--bottom-right.fbpd-banner--show {
    transform: translateX(-50%);
}
.fbpd-banner--bottom-right .fbpd-banner__container {
    justify-content: flex-end;
}

.fbpd-banner--bottom-left {
    left: 50%;
    transform: translateX(-150%);
}
.fbpd-banner--bottom-left.fbpd-banner--show {
    transform: translateX(-50%);
}
.fbpd-banner--bottom-left .fbpd-banner__container {
    justify-content: flex-start;
}

.fbpd-banner--bottom-full {
    left: 0;
    transform: translateY(20px);
}
.fbpd-banner--bottom-full.fbpd-banner--show {
    transform: translateY(0);
}
.fbpd-banner--bottom-full .fbpd-banner__container {
    justify-content: center;
}
.fbpd-banner--bottom-full .fbpd-banner__row {
    max-width: none;
    width: 100%;
}

.fbpd-banner--top-full {
    left: 0;
    bottom: auto;
    top: 0;
    transform: translateY(-20px);
}
.fbpd-banner--top-full.fbpd-banner--show {
    transform: translateY(0);
}
.fbpd-banner--top-full .fbpd-banner__container {
    justify-content: center;
}
.fbpd-banner--top-full .fbpd-banner__row {
    max-width: none;
    width: 100%;
}

@media (max-width: 1024px) {
    .fbpd-banner {
        bottom: 40px;
    }
    .fbpd-banner--top-full {
        bottom: auto;
    }
}

@media (max-width: 640px) {
    .fbpd-banner--bottom-right,
    .fbpd-banner--bottom-left {
        bottom: 80px;
        left: 50%;
        transform: translate(-50%, 100px);
    }
    .fbpd-banner--bottom-right.fbpd-banner--show,
    .fbpd-banner--bottom-left.fbpd-banner--show {
        transform: translate(-50%, 0px);
    }
    .fbpd-banner--bottom-right .fbpd-banner__container,
    .fbpd-banner--bottom-left .fbpd-banner__container {
        justify-content: center;
    }
    .fbpd-banner__row {
        padding: 15px;
        max-width: 100%;
    }
    .fbpd-banner__title {
        font-size: 24px;
    }
    .fbpd-banner__info {
        padding-right: 30px;
    }
    .fbpd-banner__row--with-image .fbpd-banner__actions {
        padding-right: 45px;
    }
    .fbpd-banner__actions {
        align-items: stretch;
    }
    .fbpd-banner__btn {
        flex: 1 1 auto;
    }
}
