/* Fungivita PWA install */

#pwa-install-block {
    display: none !important;
}

#pwa-install-block.pwa-hidden {
    display: none !important;
}

@media (max-width: 767px) {
    #pwa-install-block:not(.pwa-hidden) {
        display: block !important;
    }
}

.pwa-install {
    margin: 18px 0 24px;
    padding: 30px 22px 32px;
    border: 1px solid #dce9d9;
    border-radius: 16px;
    background: #f5f9f2;
    text-align: center;
}

.pwa-install-title {
    margin: 0 0 10px;
    color: #145b37;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.25;
}

.pwa-install-text {
    max-width: 540px;
    margin: 0 auto 22px;
    color: #3f4a42;
    font-size: 16px;
    line-height: 1.5;
}

#pwa-install-button {
    appearance: none;
    border: 0;
    border-radius: 10px;
    padding: 14px 30px;
    background: #08733f;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(8, 115, 63, .18);
}

#pwa-install-button:active {
    transform: translateY(1px);
}

/* install instruction modals */

.pwa-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    inset: 0;
    padding: 18px;
    background: rgba(15, 35, 23, .58);
    align-items: center;
    justify-content: center;
}

.pwa-modal.pwa-modal-visible {
    display: flex;
}

.pwa-modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 30px 24px 26px;
    border-radius: 18px;
    background: #fff;
    color: #29332c;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .24);
}

.pwa-modal-close {
    position: absolute;
    top: 8px;
    right: 13px;
    border: 0;
    padding: 2px 6px;
    background: transparent;
    color: #667168;
    font-size: 31px;
    line-height: 1;
    cursor: pointer;
}

.pwa-modal-title {
    margin: 0 28px 12px 0;
    color: #145b37;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.pwa-modal-text {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.45;
}

.pwa-modal-steps > div {
    margin: 0 0 13px;
    font-size: 15px;
    line-height: 1.45;
}

.pwa-modal-steps > div:last-child {
    margin-bottom: 0;
}
