
/* PWA install UI */
#pwaInstallButton{
    position:fixed;
    right:18px;
    bottom:18px;
    z-index:9998;
    display:none;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:48px;
    padding:0 17px;
    border:0;
    border-radius:14px;
    background:linear-gradient(135deg,#ffcf3f,#ffb300);
    color:#17202a;
    box-shadow:0 12px 30px rgba(0,0,0,.22);
    font-family:inherit;
    font-size:13px;
    font-weight:900;
    cursor:pointer;
}
#pwaInstallButton.show{display:inline-flex}
#pwaInstallButton:hover{transform:translateY(-2px)}

.pwa-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:18px;
    background:rgba(7,28,53,.64);
    backdrop-filter:blur(3px);
}
.pwa-modal.show{display:flex}
.pwa-modal-card{
    width:min(470px,100%);
    position:relative;
    background:#fff;
    border-radius:22px;
    padding:25px;
    box-shadow:0 25px 70px rgba(0,0,0,.28);
}
.pwa-modal-close{
    position:absolute;
    right:12px;
    top:12px;
    width:36px;
    height:36px;
    border:0;
    border-radius:50%;
    background:#f1f5f7;
    color:#365469;
    font-size:20px;
    cursor:pointer;
}
.pwa-modal-icon{
    width:64px;
    height:64px;
    display:grid;
    place-items:center;
    border-radius:18px;
    margin-bottom:15px;
    background:linear-gradient(135deg,#0a315a,#08779d);
    color:#fff;
    font-size:28px;
}
.pwa-modal-card h3{
    margin:0 0 7px;
    color:#173d57;
    font-size:20px;
}
.pwa-modal-card p{
    margin:0;
    color:#748896;
    line-height:1.75;
    font-size:13px;
}
.pwa-steps{
    margin:16px 0 0;
    padding:0;
    list-style:none;
    display:grid;
    gap:9px;
}
.pwa-steps li{
    padding:10px 12px;
    border-radius:10px;
    background:#f6f9fb;
    color:#466173;
    font-size:12px;
    font-weight:700;
}
.pwa-modal-action{
    width:100%;
    min-height:45px;
    margin-top:16px;
    border:0;
    border-radius:11px;
    background:#173d57;
    color:#fff;
    font-family:inherit;
    font-weight:800;
    cursor:pointer;
}
@media(max-width:600px){
    #pwaInstallButton{
        right:12px;
        bottom:12px;
        min-height:44px;
        padding:0 14px;
        font-size:12px;
    }
}
