html, body { margin: 0; overflow-x: hidden; }
.vc-page { padding-top: 16px; padding-bottom: 24px; padding-inline: 12px; }
/* 44px minimum touch targets (spec, section 7). */
.vc-touch, .mud-button-root.vc-touch { min-height: 44px; min-width: 44px; }
.vc-num { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.vc-card { height: 100%; }

#blazor-error-ui {
    background: #fff3cd; bottom: 0; box-shadow: 0 -1px 2px rgba(0,0,0,.2); display: none;
    left: 0; padding: .6rem 1.25rem .7rem 1.25rem; position: fixed; width: 100%; z-index: 2000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; left: .75rem; top: .5rem; }

/* Users screen */
.vc-warn { border-inline-start: 4px solid var(--mud-palette-warning); }
.vc-wrap { overflow-wrap: anywhere; }
.vc-secret { letter-spacing: .08em; user-select: all; overflow-wrap: anywhere; }
.vc-grow { flex: 1 1 0; }
@media (max-width: 599px) {
  .vc-nav-text { display: none; }
  .mud-appbar .mud-button-root { min-width: 44px; padding-inline: 8px; }
  .mud-appbar .mud-button-icon-start { margin-inline: 0; }
}
.vc-bad td { color: var(--mud-palette-error); }
.vc-sql { display: block; font-size: .8rem; overflow-wrap: anywhere; white-space: pre-wrap; text-align: left; opacity: .85; }

/* Sign-in page: plain HTML (server-rendered form), no MudBlazor. */
.vc-login { max-width: 360px; margin: 10vh auto 0; padding: 24px 20px; font-family: Roboto, "Segoe UI", Tahoma, sans-serif;
  display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.vc-login img { align-self: center; }
.vc-login h1 { font-size: 1.35rem; text-align: center; color: #1C3A62; margin: 0 0 8px; }
.vc-login form { display: flex; flex-direction: column; gap: 14px; }
.vc-login label { display: flex; flex-direction: column; gap: 6px; font-size: .95rem; color: #333; }
.vc-login input { min-height: 44px; padding: 8px 12px; font-size: 1rem; border: 1px solid #b8c0cc; border-radius: 6px; }
.vc-login input:focus { outline: 2px solid #1F6B82; outline-offset: 1px; }
.vc-login button { min-height: 48px; font-size: 1.05rem; color: #fff; background: #1C3A62; border: 0; border-radius: 6px; cursor: pointer; }
.vc-login-error { margin: 0; padding: 10px 12px; color: #8a1c1c; background: #fdecea; border-radius: 6px; }
.vc-login-note { margin: 0; font-size: .8rem; color: #666; text-align: center; }
.validation-message { color: #8a1c1c; font-size: .85rem; }
