.pwa-install-banner {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1095;
    display: flex;
    width: min(26rem, calc(100vw - 2rem));
    gap: 0.875rem;
    padding: 1rem 2.75rem 1rem 1rem;
    color: #13213c;
    background: #fff;
    border: 1px solid #e1e6f0;
    border-radius: 1rem;
    box-shadow: 0 1rem 2.5rem rgba(25, 39, 80, 0.18);
    animation: pwa-install-enter 220ms ease-out;
}

.pwa-install-banner[hidden],
.pwa-connection-status[hidden] {
    display: none !important;
}

.pwa-install-banner__icon {
    flex: 0 0 3.25rem;
    width: 3.25rem;
    height: 3.25rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7eaf2;
    border-radius: 0.875rem;
}

.pwa-install-banner__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pwa-install-banner__content {
    min-width: 0;
}

.pwa-install-banner__title {
    display: block;
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    line-height: 1.35;
}

.pwa-install-banner__message {
    margin: 0 0 0.75rem;
    color: #667085;
    font-size: 0.8125rem;
    line-height: 1.5;
}

.pwa-install-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pwa-install-banner__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-grid;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    color: #667085;
    background: transparent;
    border: 0;
    border-radius: 50%;
    place-items: center;
}

.pwa-install-banner__close:hover,
.pwa-install-banner__close:focus-visible {
    color: #27338f;
    background: #f0f2f8;
}

.pwa-connection-status {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 1096;
    padding: 0.625rem 1rem;
    color: #fff;
    background: #263244;
    border-radius: 999px;
    box-shadow: 0 0.75rem 2rem rgba(25, 39, 80, 0.2);
    font-size: 0.8125rem;
    font-weight: 600;
    transform: translateX(-50%);
}

.pwa-connection-status.is-online {
    background: #147a52;
}

@keyframes pwa-install-enter {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 575.98px) {
    .pwa-install-banner {
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
        width: auto;
    }

    .pwa-connection-status {
        bottom: 1rem;
        max-width: calc(100vw - 2rem);
        text-align: center;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    .pwa-install-banner {
        animation: none;
    }
}

