/* T68 — app update window (demo design; MA-ZAL Application shows it with the class "show"). */
.mzs-upd { display: none; position: fixed; inset: 0; z-index: 100000; align-items: center; justify-content: center; padding: 18px; background: rgba(21, 16, 10, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mzs-upd.show { display: flex; }
.mzs-upd__card { width: min(100%, 400px); padding: 24px 22px 16px; border-radius: 22px; background: var(--c-surface, #FFFDF8); color: var(--c-ink, #2B2316); border: 1px solid var(--c-line, #E4D9C3); box-shadow: 0 24px 60px rgba(21, 16, 10, .25); text-align: center; }
.mzs-upd__logo { display: block; margin: 0 auto 10px; }
.mzs-upd__title { margin: 0 0 6px; font-size: 1.2rem; font-weight: 800; }
.mzs-upd__lead { margin: 0 0 14px; font-size: .95rem; line-height: 1.7; color: var(--c-ink-2, #6B604C); }
.mzs-upd__what { margin: 0 0 6px; font-size: .8rem; font-weight: 700; color: var(--c-gold-text, #7E611F); text-align: start; }
.mzs-upd__list { margin: 0 0 16px; padding: 10px 14px; list-style: none; border-radius: 14px; background: var(--c-gold-soft, #EFE4CC); text-align: start; font-size: .9rem; line-height: 1.8; }
.mzs-upd__list li::before { content: "✓"; margin-inline-end: 8px; color: var(--c-gold-text, #7E611F); font-weight: 800; }
.mzs-upd__actions { display: flex; flex-direction: column; gap: 6px; }
.mzs-upd__later { min-height: 44px; border: 0; background: none; font: inherit; font-weight: 700; color: var(--c-ink-2, #6B604C); cursor: pointer; }
.mzs-upd__reset { margin-top: 6px; border: 0; background: none; font: inherit; font-size: .75rem; color: var(--c-ink-2, #6B604C); text-decoration: underline; cursor: pointer; }
.mz-app-updated { position: fixed; inset-inline: 16px; bottom: 100px; z-index: 100000; padding: 12px 16px; border-radius: 14px; background: var(--c-night, #15100A); color: var(--c-on-night, #F3EBDD); text-align: center; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }

/* T1439: the update in progress — a filling bar, the step, the time left, a soft pulse of the logo */
.mzs-upd__prog { display: grid; gap: 6px; margin: 4px 0 10px; }
.mzs-upd__prog[hidden] { display: none; }
.mzs-upd__bar { position: relative; height: 8px; border-radius: 999px; overflow: hidden; background: var(--c-gold-soft, #EFE4CC); }
.mzs-upd__bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--c-gold, #B8963E), var(--c-gold-text, #7E611F), var(--c-gold, #B8963E)); background-size: 200% 100%; transform: scaleX(0); transform-origin: 0 50%; animation: mzs-upd-shine 1.4s linear infinite; }
html[dir="rtl"] .mzs-upd__bar i { transform-origin: 100% 50%; }
.mzs-upd__step { margin: 2px 0 0; font-size: .9rem; font-weight: 700; color: var(--c-ink, #2B2316); }
.mzs-upd__eta { margin: 0; font-size: .82rem; color: var(--c-ink-2, #6B604C); font-variant-numeric: tabular-nums; }
.mzs-upd__card.is-updating .mzs-upd__logo { animation: mzs-upd-pulse 1.6s ease-in-out infinite; }
.mzs-upd__card.is-updating .mzs-upd__list, .mzs-upd__card.is-updating .mzs-upd__what, .mzs-upd__card.is-updating .mzs-upd__reset, .mzs-upd__card.is-updating #mz-toast-close { display: none; }
@keyframes mzs-upd-shine { to { background-position: -200% 0; } }
@keyframes mzs-upd-pulse { 50% { transform: scale(1.08); opacity: .8; } }
@media (prefers-reduced-motion: reduce) { .mzs-upd__bar i, .mzs-upd__card.is-updating .mzs-upd__logo { animation: none; } }
