.mn-pwa-status,
.mn-pwa-install {
    position: fixed;
    z-index: 10000;
    box-sizing: border-box;
    box-shadow: 0 0.5rem 1.5rem rgb(0 0 0 / 20%);
    font-family: inherit;
}

.mn-pwa-status {
    top: 1rem;
    left: 50%;
    display: flex;
    max-width: min(36rem, calc(100vw - 2rem));
    padding: 0.75rem 1rem;
    align-items: center;
    gap: 1rem;
    color: white;
    background: #263238;
    border-radius: 0.5rem;
    transform: translateX(-50%);
}

.mn-pwa-install {
    right: 1rem;
    bottom: 1rem;
    display: grid;
    width: min(28rem, calc(100vw - 2rem));
    padding: 1rem;
    gap: 1rem;
    color: #17252b;
    background: white;
    border: 1px solid #d9e1e5;
    border-radius: 0.75rem;
}

.mn-pwa-install p {
    margin: 0.25rem 0 0;
}

.mn-pwa-install-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.mn-pwa-status button,
.mn-pwa-install button {
    padding: 0.55rem 0.85rem;
    color: white;
    background: #0077a1;
    border: 0;
    border-radius: 0.35rem;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.mn-pwa-install button.mn-pwa-secondary {
    color: #37474f;
    background: transparent;
}

.mn-pwa-status[hidden],
.mn-pwa-install[hidden] {
    display: none;
}

@media (max-width: 600px) {
    .mn-pwa-status {
        top: 0.5rem;
    }

    .mn-pwa-install {
        right: 0.5rem;
        bottom: 0.5rem;
        width: calc(100vw - 1rem);
    }
}

@media (display-mode: standalone) {
    .mn-pwa-install {
        display: none;
    }
}
