/* =========================================================
   AZ-MANN PWA INSTALL PROMPT
   ========================================================= */

.pwa-install-prompt {
    display: none;

    position: fixed;
    z-index: 99999;

    left: 14px;
    right: 14px;
    bottom: 14px;

    background: #ffffff;

    border: 1px solid rgba(30, 42, 58, .12);
    border-radius: 20px;

    padding: 18px;

    box-shadow: 0 12px 40px rgba(0, 0, 0, .20);

    direction: rtl;

    animation: azPwaSlideUp .35s ease-out;
}

.pwa-install-content {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 15px;
}

.pwa-install-icon {
    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    border-radius: 14px;

    object-fit: cover;
}

.pwa-install-text {
    display: flex;
    flex-direction: column;
    gap: 5px;

    padding-left: 20px;
}

.pwa-install-text strong {
    color: #1e2a3a;

    font-size: 15px;
    font-weight: 800;

    line-height: 1.6;
}

.pwa-install-text span {
    color: #6b7280;

    font-size: 12px;
    line-height: 1.8;
}

.pwa-install-button {
    width: 100%;

    border: none;
    border-radius: 12px;

    padding: 12px 16px;

    background: #1e2a3a;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

.pwa-install-button:active {
    transform: scale(.98);
}

.pwa-install-close {
    position: absolute;

    top: 7px;
    left: 9px;

    width: 30px;
    height: 30px;

    border: none;
    background: transparent;

    color: #9ca3af;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;
}

.pwa-ios-button {
    display: none;

    width: 100%;

    margin-top: 9px;

    border: none;
    background: transparent;

    color: #6b7280;

    font-family: inherit;
    font-size: 12px;

    cursor: pointer;
}

@keyframes azPwaSlideUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* Desktop: never show */
@media (min-width: 769px) {

    .pwa-install-prompt {
        display: none !important;
    }

}

@keyframes azPwaSuccess {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}