.beo-push-optin[hidden] {
    display: none !important;
}

.beo-push-optin {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 2147483000;
    font-family: inherit;
}

.beo-push-optin__card {
    position: relative;
    display: flex;
    gap: 13px;
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.18);
    color: #1f2933;
}

.beo-push-optin__icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
}

.beo-push-optin__content {
    min-width: 0;
    flex: 1 1 auto;
}

.beo-push-optin__title {
    display: block;
    margin: 1px 30px 4px 0;
    font-size: 17px;
    line-height: 1.25;
}

.beo-push-optin__body {
    margin: 0 26px 11px 0;
    font-size: 14px;
    line-height: 1.45;
    color: #4b5563;
}

.beo-push-optin__status {
    min-height: 0;
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.35;
    color: #4b5563;
}

.beo-push-optin__status:empty {
    display: none;
}

.beo-push-optin__status.is-error {
    color: #b42318;
}

.beo-push-optin__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.beo-push-optin__allow,
.beo-push-optin__later {
    min-height: 40px;
    border-radius: 10px;
    padding: 9px 14px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.beo-push-optin__allow {
    border: 1px solid var(--beo-push-accent, #8d4319);
    background: var(--beo-push-accent, #a94f1c);
    color: #fff;
}

.beo-push-optin__allow:disabled {
    opacity: 0.65;
    cursor: wait;
}

.beo-push-optin__later {
    border: 1px solid #d8dde3;
    background: #fff;
    color: #374151;
}

.beo-push-optin__close {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6b7280;
    font: inherit;
    font-size: 25px;
    line-height: 34px;
    cursor: pointer;
}

@media (max-width: 420px) {
    .beo-push-optin {
        left: 10px;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
    }

    .beo-push-optin__card {
        padding: 14px;
        border-radius: 16px;
    }

    .beo-push-optin__icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .beo-push-optin__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .beo-push-optin__allow,
    .beo-push-optin__later {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .beo-push-optin * {
        scroll-behavior: auto !important;
    }
}
