/* ── Push notification prompt ─────────────────────────────────── */
.ef-push-prompt {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 400px;
    background: #fff;
    border: 1px solid #e0d4eb;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(75, 37, 109, 0.15);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: efSlideUp 0.3s ease-out;
}

.ef-push-prompt__icon {
    font-size: 1.5rem;
    color: var(--ef-brand, #4B256D);
}

.ef-push-prompt__text strong {
    display: block;
    font-size: 0.95rem;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.ef-push-prompt__text p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
}

.ef-push-prompt__actions {
    display: flex;
    gap: 0.5rem;
}

.ef-push-prompt__btn {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

.ef-push-prompt__btn:active {
    opacity: 0.8;
}

.ef-push-prompt__btn--enable {
    background: var(--ef-brand, #4B256D);
    color: #fff;
}

.ef-push-prompt__btn--dismiss {
    background: #f0ecf3;
    color: #666;
}

/* ── Install banner ───────────────────────────────────────────── */
.ef-install-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 400px;
    background: var(--ef-brand, #4B256D);
    color: #fff;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(75, 37, 109, 0.25);
    z-index: 10000;
    animation: efSlideUp 0.3s ease-out;
    font-size: 0.9rem;
    font-weight: 500;
}

.ef-install-banner__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.ef-install-banner__btn {
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.ef-install-banner__btn:active {
    opacity: 0.8;
}

.ef-install-banner__btn--add {
    background: #fff;
    color: var(--ef-brand, #4B256D);
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
}

.ef-install-banner__btn--close {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    padding: 0 0.25rem;
    line-height: 1;
}

/* ── Shared animation ─────────────────────────────────────────── */
@keyframes efSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
