/* Push opt-in banner (SU_CRM_Push::render_banner). Themes can restyle via .su-push. */
.su-push {
    --su-push-accent: #1d4ed8;
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999990;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 420px;
    padding: 18px 20px;
    background: #fff;
    color: #1e1e1e;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    font-size: 14px;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.su-push[hidden] {
    display: none;
}

.su-push.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.su-push__icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 50%;
    background: var(--su-push-accent);
    color: #fff;
    box-sizing: border-box;
}

.su-push__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.su-push__text {
    flex: 1;
    min-width: 0;
}

.su-push__text strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.su-push__text p {
    margin: 0;
}

.su-push__error {
    margin-top: 8px !important;
    color: #b91c1c;
    font-size: 13px;
}

.su-push__actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 0 0 auto;
}

.su-push__actions button {
    margin: 0;
    padding: 9px 14px;
    border: 0;
    border-radius: 8px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
}

.su-push__accept {
    background: var(--su-push-accent);
    color: #fff;
}

.su-push__accept:disabled {
    opacity: 0.6;
    cursor: wait;
}

.su-push__decline {
    background: transparent;
    color: #50575e;
}

@media (max-width: 600px) {
    .su-push {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
        flex-wrap: wrap;
    }

    .su-push__actions {
        flex-direction: row;
        width: 100%;
        justify-content: flex-end;
    }
}
