@import url('/_content/Microsoft.FluentUI.AspNetCore.Components/css/reboot.css');

.content {
  width: 100%;
}

#blazor-error-ui {
  background: var(--colorStatusWarningBackground1, lightyellow);
  color: var(--colorNeutralForeground1);
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  min-height: 48px;
  padding: var(--spacingVerticalS) 3.5rem var(--spacingVerticalS) var(--spacingHorizontalXL);
  position: fixed;
  width: 100%;
  z-index: 1000;
  margin: var(--spacingVerticalXL) 0;
}

  /* A 44px button (app-shell R27), centred on the bar's right end; the bar keeps room for it. */
  #blazor-error-ui .dismiss {
    align-items: center;
    background: none;
    border: 0;
    border-radius: var(--borderRadiusMedium, 4px);
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    height: 44px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
  }

    #blazor-error-ui .dismiss:hover {
      background: var(--colorSubtleBackgroundHover, rgba(0, 0, 0, 0.06));
    }

    #blazor-error-ui .dismiss:focus-visible {
      outline: 2px solid var(--colorStrokeFocus2, currentColor);
    }

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1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4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, var(--colorStatusDangerBackground3);
  padding: var(--spacingVerticalL) var(--spacingHorizontalL) var(--spacingVerticalL) 3.7rem;
  color: var(--colorNeutralForegroundStaticInverted);
}

  .blazor-error-boundary::before {
    content: "An error has occurred. "
  }

.install-banner {
  align-items: center;
  background: var(--colorNeutralBackground1);
  border-top: 1px solid var(--colorNeutralStroke1);
  bottom: 0;
  box-shadow: var(--shadow8);
  color: var(--colorNeutralForeground1);
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacingHorizontalS);
  left: 0;
  padding: var(--spacingVerticalM) var(--spacingHorizontalL);
  position: fixed;
  right: 0;
  z-index: 900;
}

  .install-banner[hidden] {
    display: none;
  }

.install-text {
  display: flex;
  flex: 1 1 200px;
  flex-direction: column;
  gap: var(--spacingVerticalXXS);
  min-width: 0;
}

.install-banner button {
  background: var(--colorBrandBackground);
  border: 0;
  border-radius: var(--borderRadiusMedium);
  color: var(--colorNeutralForegroundOnBrand);
  cursor: pointer;
  font: inherit;
  min-height: 40px;
  padding: var(--spacingVerticalXS) var(--spacingHorizontalL);
}

  .install-banner button[data-dismiss] {
    background: transparent;
    color: var(--colorNeutralForeground1);
  }

  .install-banner button[hidden] {
    display: none;
  }

/* Brand colour (docs/product/branding.md). Fluent derives its brand ramp from the primary set via
   data-theme-color on <body>, but not exactly: in light mode its brand background is #366c89 instead of
   #0E5A7A, and in dark mode its brand text is #5E869F (4.0:1 on Ink, fails AA). Pin the documented values.
   Fluent removes data-theme from <body> in light mode and sets it to "dark" in dark mode. */
body:not([data-theme="dark"]) {
  --colorBrandBackground: #0E5A7A;
  --colorBrandBackgroundHover: #0B4A64;
  --colorBrandBackgroundPressed: #083A4F;
  --colorBrandBackgroundSelected: #0B4A64;
  --colorBrandForeground1: #0E5A7A;
  --colorBrandForeground2: #0E5A7A;
  --colorBrandForegroundLink: #0E5A7A;
  --colorBrandForegroundLinkHover: #0B4A64;
  --colorCompoundBrandForeground1: #0E5A7A;
  --colorBrandStroke1: #0E5A7A;
  --colorCompoundBrandStroke: #0E5A7A;
}

body[data-theme="dark"] {
  --colorBrandBackground: #1C5F7E;
  --colorBrandBackgroundHover: #366C89;
  --colorBrandBackgroundPressed: #143648;
  --colorBrandBackgroundSelected: #11516E;
  --colorBrandForeground1: #4FA6C9;
  --colorBrandForeground2: #4FA6C9;
  --colorBrandForegroundLink: #4FA6C9;
  --colorBrandForegroundLinkHover: #7DC0DC;
  --colorCompoundBrandForeground1: #4FA6C9;
  --colorBrandStroke1: #4FA6C9;
  --colorCompoundBrandStroke: #4FA6C9;
}

/* OmButton Busy: Fluent draws its spinner over the label. Hide the label's ink so only the spinner shows; the text
   keeps the button's width and stays its accessible name. Here, not in OmButton.razor.css: Fluent's button element
   takes no scoped CSS, and FluentButton drops its Style while loading. */
fluent-button[aria-busy="true"] {
  color: transparent;
}

/* Page background behind the app shell (app-shell spec R13): white in light mode, Ink in dark mode
   (docs/product/branding.md), matching the first-paint colours in App.razor. Not a Fluent token. */
body:not([data-theme="dark"]) {
  --pageBackground: var(--colorNeutralBackground1);
}

body[data-theme="dark"] {
  --pageBackground: #13262E;
}

/* The page itself scrolls (app-shell R1, R13). Fluent's default stylesheet fixes <body> to the viewport with
   overflow hidden, for FluentLayout, which scrolled its own content pane; OmAppShell has no such pane, so without
   this nothing scrolls. "html body" outranks Fluent's "body", which is injected after app.css. */
html body {
  height: auto;
  min-height: 100dvh;
  overflow: visible;
  /* The end of the page stays clear of the install banner while it shows (pwa.js sets the inset, T-0202). */
  padding-bottom: var(--om-bottom-inset, 0);
}
