/* Additions to the mockup stylesheet (iris.css), limited to elements the mockup does not contain. */
.shell { min-height: 100vh; }

/* Screens of later stages: visible, not clickable (spec 08, adaptation 3). */
.navitem.disabled { opacity: .42; cursor: not-allowed; }
.navitem.disabled:hover { background: transparent; }

/* Sanitized HTML body, rendered only inside a sandboxed frame. */
.htmlframe { width: 100%; min-height: 360px; border: 1px solid var(--line); border-radius: 10px; margin-top: 14px; background: #fff; }

/* Login page in the mockup visual language. */
.authpage { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: var(--bg); }
.authcard { width: 420px; max-width: 100%; padding: 30px 28px; }
.authcard h1 { font-size: 22px; margin: 22px 0 4px; }
.authbrand { display: flex; align-items: center; gap: 12px; }
.authbrand .brandname { color: var(--ink); }
.authbrand .brandby { color: var(--muted); }
.authcard input { width: 100%; }
.authcard.wide { width: 560px; }
.authcard h1:focus:not(:focus-visible) { outline: none; }
.enroll { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: start; }
.enroll .qr { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.enroll .qr svg { width: 100%; height: auto; display: block; }
.recoverycodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; text-align: center; letter-spacing: 1px; }
@media (max-width: 560px) { .enroll { grid-template-columns: 1fr; } .enroll .qr { max-width: 200px; } }

.spinner { width: 22px; height: 22px; border: 3px solid #cfd0f9; border-top-color: var(--primary); border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; }

#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 300; background: #fff6f6; color: var(--red); padding: 12px 20px; border-top: 1px solid #f3dce0; font-size: 13px; }
#blazor-error-ui .reload { margin-left: 8px; font-weight: 600; }

/* Sync status in the inbox heading: amber when an account failed its last sync. */
.statusline .dot.warn{color:#c58a3c}
