html.pwa-standalone body {
    padding-bottom: env(safe-area-inset-bottom);
}

.pwa-action {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 1060;
    display: flex;
    max-width: min(24rem, calc(100vw - 2rem));
    align-items: center;
    gap: .75rem;
    padding: .75rem;
    color: #fff;
    background: #0d3b66;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: .35rem;
    box-shadow: 0 .4rem 1rem rgba(0, 0, 0, .25);
}

.pwa-action[hidden] {
    display: none !important;
}

.pwa-action__message {
    margin: 0;
    font-size: .95rem;
    line-height: 1.3;
}

.pwa-action__button {
    flex: 0 0 auto;
    padding: .35rem .65rem;
    color: #0d3b66;
    font-weight: 600;
    background: #fff;
    border: 0;
    border-radius: .25rem;
}

.pwa-action__button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 575.98px) {
    .modal-dialog {
        display: flex;
        min-height: calc(100% - 1rem);
        margin: .5rem;
        align-items: center;
    }

    .modal-content {
        max-height: calc(100vh - 1rem);
    }

    .modal-body {
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}
