/* Web app install / notification bar */
.sr-pwa-bar {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 1080;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    background: #1f2937;
    color: #fff;
    font: 0.95rem/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
    transform: translateY(100%);
    transition: transform 0.25s ease;
}

.sr-pwa-bar-show {
    transform: none;
}

.sr-pwa-bar-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1 1 240px;
}

.sr-pwa-bar-text span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

.sr-pwa-bar-actions {
    display: flex;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.sr-pwa-bar button {
    border: 0;
    border-radius: 0.4rem;
    padding: 0.5rem 0.9rem;
    font: inherit;
    cursor: pointer;
}

.sr-pwa-bar-action {
    background: #fff;
    color: #1f2937;
    font-weight: 600;
}

.sr-pwa-bar-later {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
}
