/* Card "Install the app" for phones and tablets - dz_pwa.tpl.html, js/pwa.js */
.pwa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100050; display: flex; justify-content: center; padding: 0 10px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; font-family: Roboto, -apple-system, "Segoe UI", Arial, sans-serif; }
.pwa[hidden] { display: none; }
.pwa *, .pwa *::before, .pwa *::after { box-sizing: border-box; }
.pwa__card { position: relative; width: 100%; max-width: 460px; padding: 18px 18px 14px; border-radius: 20px; background: #fff; color: #123d60; box-shadow: 0 -2px 30px rgba(13, 35, 56, .22), 0 2px 8px rgba(13, 35, 56, .12); pointer-events: auto; transform: translateY(calc(100% + 30px)); opacity: 0; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s; }
.pwa.is-on .pwa__card { transform: none; opacity: 1; }
.pwa__x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; padding: 8px; border: 0; border-radius: 50%; background: transparent; color: #7b8d9c; cursor: pointer; }
.pwa__x:hover { background: #f1f5f8; color: #123d60; }
.pwa__x svg { display: block; width: 20px; height: 20px; }
.pwa__head { display: flex; align-items: center; gap: 14px; padding-right: 30px; }
.pwa__icon { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 14px; box-shadow: 0 2px 8px rgba(13, 35, 56, .15); background: #fff; }
.pwa__title { font-size: 17px; font-weight: 700; line-height: 1.25; }
.pwa__sub { margin-top: 2px; font-size: 13px; color: #6b7f90; }
.pwa__list { margin: 14px 0 0; padding: 0; list-style: none; }
.pwa__list li { position: relative; margin: 6px 0; padding-left: 26px; font-size: 14px; line-height: 1.4; color: #3c5468; }
.pwa__list li::before { content: ""; position: absolute; left: 2px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #e3f1f7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%2319739b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.pwa__ios { display: none; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: #f4f8fb; }
.pwa--ios .pwa__ios { display: block; }
.pwa__step { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; font-size: 14px; line-height: 1.4; color: #3c5468; }
.pwa__n { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: 0 0 auto; margin-top: 0; border-radius: 50%; background: #19739b; color: #fff; font-size: 12px; font-weight: 700; }
.pwa__si { display: inline-block; vertical-align: -6px; width: 22px; height: 22px; margin: 0 2px; padding: 2px; border-radius: 6px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.pwa__btns { display: flex; gap: 10px; margin-top: 16px; }
.pwa__btn { flex: 1 1 0; min-height: 46px; padding: 0 14px; border-radius: 12px; font: 600 15px/1.2 inherit; font-family: inherit; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.pwa__btn--main { border: 1px solid #19739b; background: #19739b; color: #fff; }
.pwa__btn--main:hover { background: #135d7e; border-color: #135d7e; }
.pwa__btn--ghost { flex: 0 0 auto; border: 1px solid #c9d6e3; background: #fff; color: #3c5468; }
.pwa__btn--ghost:hover { border-color: #19739b; color: #19739b; }
/* iPhone/iPad: Safari has no install button - only the steps; shorter list */
.pwa--ios .pwa__list li:nth-child(n+2) { display: none; }
.pwa--ios .pwa__btn--main { display: none; }
.pwa--ios .pwa__btn--ghost { flex: 1 1 0; }
/* tablet: card in the right corner, not across the whole width */
@media (min-width: 700px) {
	.pwa { justify-content: flex-end; padding: 0 20px calc(20px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .pwa__card { transition: none; } }
