/*
 * OneBirdie app (PWA): install banner.
 * Everything is prefixed .ob-pwa- so nothing here can touch the site's own styles.
 */
.ob-pwa-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 1040; /* under Bootstrap modals (1055) and SweetAlert, over page content */
    max-width: 460px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px 12px 14px;
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #e3e6e3;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .16);
    font-family: Roboto, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
}
.ob-pwa-banner.ob-pwa-show {
    transform: translateY(0);
    opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
    .ob-pwa-banner { transition: none; }
}
.ob-pwa-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
}
.ob-pwa-text {
    flex: 1 1 auto;
    min-width: 0;
}
.ob-pwa-title {
    display: block;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 1px;
}
.ob-pwa-sub {
    display: block;
    color: #5c5c5c;
}
.ob-pwa-share {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: -3px;
    margin: 0 1px;
    color: #007aff; /* iOS share-button blue, so it is recognisable */
}
.ob-pwa-install {
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    padding: 9px 18px;
    background: #2D9D53;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.ob-pwa-install:hover,
.ob-pwa-install:focus-visible {
    background: #1f7a3e;
}
.ob-pwa-close {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    margin-left: -4px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #5c5c5c;
    font-size: 22px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
}
.ob-pwa-close:hover,
.ob-pwa-close:focus-visible {
    background: #f0f2f0;
    color: #1a1a1a;
}
.ob-pwa-install:focus-visible,
.ob-pwa-close:focus-visible {
    outline: 3px solid rgba(45, 157, 83, .35);
    outline-offset: 2px;
}
