#pwa-install-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 20px;
    z-index: 999999;

    max-width: 520px;
    margin: 0 auto;

    direction: rtl;

    background: rgba(20, 20, 20, 0.97);
    color: #fff;

    border-radius: 20px;
    padding: 14px;

    box-shadow:
        0 12px 40px rgba(0,0,0,.28);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    font-family: inherit;

    animation: pwa-slide-up .35s ease;
}

.pwa-install-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pwa-install-icon {
    width: 54px;
    height: 54px;

    border-radius: 14px;

    object-fit: cover;

    flex-shrink: 0;
}

.pwa-install-info {
    min-width: 0;
    flex: 1;
}

.pwa-install-title {
    font-size: 15px;
    font-weight: 700;

    margin-bottom: 4px;
}

.pwa-install-description {
    font-size: 12px;

    opacity: .72;

    line-height: 1.8;
}

.pwa-install-actions {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: 11px;
}

.pwa-install-btn {
    border: 0;

    border-radius: 10px;

    padding: 9px 18px;

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    background: #fff;

    color: #111;
}

.pwa-install-close {
    border: 0;

    background: transparent;

    color: rgba(255,255,255,.65);

    cursor: pointer;

    padding: 8px 10px;

    font-family: inherit;

    font-size: 12px;
}


/* iOS guide */

#pwa-ios-guide {
    position: fixed;

    inset: 0;

    z-index: 1000000;

    background: rgba(0,0,0,.55);

    display: flex;

    align-items: flex-end;

    justify-content: center;

    padding: 16px;

    direction: rtl;
}

.pwa-ios-box {
    width: 100%;

    max-width: 520px;

    background: #fff;

    color: #111;

    border-radius: 24px;

    padding: 22px;

    animation: pwa-slide-up .3s ease;
}

.pwa-ios-title {
    font-size: 17px;

    font-weight: 800;

    margin-bottom: 14px;
}

.pwa-ios-step {
    font-size: 14px;

    line-height: 2.1;

    margin-bottom: 5px;
}

.pwa-ios-done {
    width: 100%;

    border: 0;

    background: #111;

    color: #fff;

    border-radius: 12px;

    padding: 12px;

    margin-top: 16px;

    font-family: inherit;

    font-weight: 700;

    cursor: pointer;
}


@keyframes pwa-slide-up {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (min-width: 768px) {

    #pwa-install-banner {
        left: auto;
        right: 24px;
        bottom: 24px;
        width: 420px;
    }

}