/* ============================================================
   Westminster Presbyterian Church — Aurora, IL
   Design stylesheet (design source of truth for the Blazor app)
   Tokens: --wpc-navy, --wpc-gold, --wpc-gold-dark, --wpc-cream
   Fonts:  Playfair Display (display) + Inter (body)
   ============================================================ */

:root {
  --wpc-navy: #1c2b4a;
  --wpc-navy-dark: #141f36;
  --wpc-gold: #c9a227;
  --wpc-gold-dark: #a8861d;
  --wpc-cream: #f7f2e7;
  --wpc-ink: #2b2f36;
  --wpc-body-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wpc-display-font: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; }

body {
  font-family: var(--wpc-body-font);
  color: var(--wpc-ink);
  background: #fff;
  padding-top: 76px; /* fixed navbar offset */
}

/* TinyMCE editing iframe: no fixed navbar there, so replace the offset above. */
body.rich-content { padding: 1rem; }

h1, h2, h3, .display-font {
  font-family: var(--wpc-display-font);
}

.display-font { font-family: var(--wpc-display-font); }

h1:focus {
  outline: none;
}

a { color: var(--wpc-navy); }
a:hover { color: var(--wpc-gold-dark); }

/* Skip link — hidden until keyboard focus */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 2000;
  padding: .5rem 1rem;
  background: var(--wpc-gold);
  color: var(--wpc-navy);
  font-weight: 600;
  border-radius: 0 0 .5rem .5rem;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: var(--wpc-navy); }

/* ---------- Buttons ---------- */

.btn { font-weight: 600; border-radius: 2rem; padding: .55rem 1.5rem; }
.btn-lg { padding: .75rem 2rem; }

.btn-gold {
  background: var(--wpc-gold);
  border: 2px solid var(--wpc-gold);
  color: var(--wpc-navy);
}
.btn-gold:hover, .btn-gold:focus {
  background: var(--wpc-gold-dark);
  border-color: var(--wpc-gold-dark);
  color: #fff;
}

.btn-navy {
  background: var(--wpc-navy);
  border: 2px solid var(--wpc-navy);
  color: var(--wpc-cream);
}
.btn-navy:hover, .btn-navy:focus {
  background: var(--wpc-navy-dark);
  border-color: var(--wpc-navy-dark);
  color: #fff;
}

.btn-outline-navy {
  background: transparent;
  border: 2px solid var(--wpc-navy);
  color: var(--wpc-navy);
}
.btn-outline-navy:hover, .btn-outline-navy:focus {
  background: var(--wpc-navy);
  color: var(--wpc-cream);
}

.btn-outline-cream {
  background: transparent;
  border: 2px solid var(--wpc-cream);
  color: var(--wpc-cream);
}
.btn-outline-cream:hover, .btn-outline-cream:focus {
  background: var(--wpc-cream);
  color: var(--wpc-navy);
}

/* ---------- Navbar ---------- */

.navbar-wpc {
  background: rgba(20, 31, 54, .96);
  backdrop-filter: blur(6px);
  padding-top: .5rem;
  padding-bottom: .5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.navbar-wpc .navbar-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--wpc-display-font);
  font-weight: 600;
  line-height: 1.1;
  color: var(--wpc-cream);
}
.navbar-wpc .navbar-brand img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
}
.navbar-wpc .navbar-brand small {
  font-family: var(--wpc-body-font);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wpc-gold);
}

.navbar-wpc .nav-link {
  color: rgba(247, 242, 231, .85);
  font-weight: 500;
  padding-left: .85rem;
  padding-right: .85rem;
}
.navbar-wpc .nav-link:hover,
.navbar-wpc .nav-link:focus,
.navbar-wpc .nav-link.active {
  color: var(--wpc-gold);
}

.navbar-wpc .dropdown-menu {
  background: var(--wpc-navy-dark);
  border: 1px solid rgba(201, 162, 39, .3);
  border-radius: .75rem;
  overflow: hidden;
}
.navbar-wpc .dropdown-item { color: rgba(247, 242, 231, .9); padding: .55rem 1.25rem; }
.navbar-wpc .dropdown-item:hover,
.navbar-wpc .dropdown-item:focus {
  background: var(--wpc-gold);
  color: var(--wpc-navy);
}
.navbar-wpc .dropdown-divider { border-color: rgba(201, 162, 39, .3); }

/* ---------- Heroes ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 76px);
  margin-top: -0px;
  background-size: cover;
  background-position: center;
  color: var(--wpc-cream);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 31, 54, .78),
    rgba(20, 31, 54, .55) 55%,
    rgba(20, 31, 54, .82)
  );
}
.hero > .container { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  color: #fff;
}
.hero .lead {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(247, 242, 231, .92);
}

.hero-sub { min-height: 46vh; }
.hero-sub h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--wpc-cream);
  opacity: .8;
  animation: wpc-bounce 2.2s infinite;
}
.scroll-cue:hover { color: var(--wpc-gold); opacity: 1; }

@keyframes wpc-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ---------- Sections ---------- */

.section { padding: 5rem 0; }

.section-cream { background: var(--wpc-cream); }

.section-navy {
  background: var(--wpc-navy);
  color: rgba(247, 242, 231, .92);
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy a:not(.btn) { color: var(--wpc-gold); }

.section-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--wpc-gold-dark);
  margin-bottom: .5rem;
}
.section-navy .section-label { color: var(--wpc-gold); }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--wpc-navy);
  margin-bottom: .75rem;
}
.section-navy .section-title { color: #fff; }

.gold-rule {
  width: 72px;
  height: 3px;
  margin: 1rem auto 1.5rem;
  background: var(--wpc-gold);
  border: 0;
  opacity: 1;
  border-radius: 2px;
}
.gold-rule.start { margin-left: 0; margin-right: auto; }

/* Check list — gold Font Awesome check in place of the bullet (decorative, hidden from screen readers) */
.list-check {
  list-style: none;
  padding-left: 0;
}
.list-check li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: .85rem;
}
.list-check li::before {
  content: "\f00c";
  content: "\f00c" / "";
  position: absolute;
  left: 0;
  top: .15em;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--wpc-gold-dark);
}

/* ---------- Icon circles ---------- */

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(201, 162, 39, .16);
  color: var(--wpc-gold-dark);
  font-size: 1.5rem;
}
.section-navy .icon-circle {
  background: rgba(201, 162, 39, .18);
  color: var(--wpc-gold);
}

/* ---------- Cards ---------- */

.card-wpc {
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
  background: #fff;
  box-shadow: 0 6px 24px rgba(28, 43, 74, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card-wpc:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(28, 43, 74, .14);
}
.card-wpc .card-img-top {
  height: 180px;
  object-fit: cover;
}
.card-wpc .card-title { font-family: var(--wpc-display-font); color: var(--wpc-navy); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--wpc-navy);
  text-decoration: none;
}
.card-link i { transition: transform .2s ease; }
.card-link:hover { color: var(--wpc-gold-dark); }
.card-link:hover i { transform: translateX(4px); }

/* ---------- Events ---------- */

.event-card { display: flex; gap: 1.1rem; align-items: flex-start; }

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 66px;
  padding: .5rem 0;
  border-radius: .75rem;
  background: var(--wpc-navy);
  color: var(--wpc-cream);
}
.event-date .month {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wpc-gold);
}
.event-date .day {
  font-family: var(--wpc-display-font);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .85rem;
  color: #6b7280;
}

/* ---------- Accordion (weekly schedule) ---------- */

.accordion-wpc .accordion-item {
  border: 1px solid rgba(28, 43, 74, .12);
  border-radius: .75rem !important;
  overflow: hidden;
  margin-bottom: .75rem;
  background: #fff;
}
.accordion-wpc .accordion-button {
  font-family: var(--wpc-display-font);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--wpc-navy);
  background: #fff;
  box-shadow: none;
}
.accordion-wpc .accordion-button:not(.collapsed) {
  background: var(--wpc-cream);
  color: var(--wpc-navy);
}
.accordion-wpc .accordion-button:focus {
  box-shadow: 0 0 0 .2rem rgba(201, 162, 39, .35);
}
.accordion-wpc .accordion-button:not(.collapsed)::after {
  filter: hue-rotate(190deg) saturate(2);
}

/* ---------- Media ---------- */

.img-rounded {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(28, 43, 74, .16);
}

.ratio-rounded {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(20, 31, 54, .3);
}

/* ---------- Quote ---------- */

.quote-mark {
  font-family: var(--wpc-display-font);
  font-size: 5rem;
  line-height: .6;
  color: var(--wpc-gold);
}

/* ---------- Forms ---------- */

.form-control { border-radius: .6rem; padding: .6rem .9rem; }
.form-control:focus {
  border-color: var(--wpc-gold);
  box-shadow: 0 0 0 .2rem rgba(201, 162, 39, .25);
}
.form-label { font-weight: 600; color: var(--wpc-navy); }

/* ---------- Footer ---------- */

.footer-wpc {
  background: var(--wpc-navy-dark);
  color: rgba(247, 242, 231, .85);
  padding: 4rem 0 1.5rem;
}
.footer-wpc h5 {
  font-family: var(--wpc-display-font);
  color: #fff;
  margin-bottom: 1rem;
}
.footer-wpc ul { list-style: none; padding: 0; margin: 0; }
.footer-wpc ul li { margin-bottom: .5rem; }
.footer-wpc a { color: rgba(247, 242, 231, .85); text-decoration: none; }
.footer-wpc a:hover { color: var(--wpc-gold); }

.footer-social { display: flex; gap: .75rem; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, .5);
  color: var(--wpc-gold);
  font-size: 1.1rem;
  transition: background .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--wpc-gold); color: var(--wpc-navy); }

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(247, 242, 231, .15);
  font-size: .85rem;
  color: rgba(247, 242, 231, .6);
}

/* ---------- Reveal animation ----------
   main.js adds .js to <html>; elements only hide when JS is running,
   so content stays visible if scripts fail.

   Safety net: a pure-CSS fallback animation forces every .reveal element
   visible shortly after paint. If the JS reveal logic never runs (script
   error, render-mode change, IntersectionObserver never firing), the page
   still shows its content instead of appearing blank. */

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  animation: reveal-fallback 0s linear 2.5s forwards;
}
html.js .reveal.visible {
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes reveal-fallback {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { animation: none; }
  .card-wpc, .card-link i { transition: none; }
}

/* ---------- Responsive tweaks ---------- */

@media (max-width: 991.98px) {
  .navbar-wpc .navbar-collapse {
    padding: 1rem 0;
  }
  .navbar-wpc .nav-link { padding-left: 0; padding-right: 0; }
}

@media (max-width: 767.98px) {
  body { padding-top: 68px; }
  .section { padding: 3.5rem 0; }
  .hero { min-height: 78vh; }
}

/* ---------- Administration ---------- */

body:has(.admin-shell) {
  padding-top: 0;
  background: var(--wpc-cream);
}

.admin-shell {
  display: flex;
  min-height: 100vh;
  background: var(--wpc-cream);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  z-index: 1030;
  display: flex;
  flex: 0 0 264px;
  flex-direction: column;
  width: 264px;
  height: 100vh;
  color: var(--wpc-cream);
  background: var(--wpc-navy-dark);
  box-shadow: 4px 0 18px rgba(20, 31, 54, .16);
  transition: width .2s ease, flex-basis .2s ease;
}

.admin-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: .75rem 1rem;
  border-bottom: 1px solid rgba(201, 162, 39, .25);
}

.admin-brand a {
  display: flex;
  align-items: center;
  gap: .75rem;
  overflow: hidden;
  color: var(--wpc-cream);
  font-family: var(--wpc-display-font);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.admin-brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--wpc-gold);
  border-radius: 50%;
  color: var(--wpc-gold);
  font-size: 1.25rem;
}

.admin-sidebar-toggle {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: .5rem;
  color: var(--wpc-cream);
  background: transparent;
}

.admin-sidebar-toggle:hover,
.admin-sidebar-toggle:focus-visible {
  color: var(--wpc-navy);
  background: var(--wpc-gold);
}

.admin-navigation {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 1rem;
}

.admin-nav-list {
  display: grid;
  gap: .35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.admin-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  gap: .9rem;
  padding: .65rem .85rem;
  border: 0;
  border-radius: .65rem;
  color: rgba(247, 242, 231, .88);
  background: transparent;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
}

.admin-nav-link i {
  flex: 0 0 22px;
  width: 22px;
  color: var(--wpc-gold);
  font-size: 1.05rem;
  text-align: center;
}

.admin-nav-link:hover,
.admin-nav-link:focus-visible {
  color: #fff;
  background: rgba(201, 162, 39, .16);
}

.admin-nav-link.active {
  color: var(--wpc-navy-dark);
  background: var(--wpc-gold);
}

.admin-nav-link.active i { color: var(--wpc-navy-dark); }
.admin-signout { margin-top: auto; }

.admin-shell.is-sidebar-collapsed .admin-sidebar {
  flex-basis: 82px;
  width: 82px;
}

.admin-shell.is-sidebar-collapsed .admin-brand {
  flex-direction: column;
  min-height: 128px;
  gap: .5rem;
  padding-inline: .5rem;
}

.admin-shell.is-sidebar-collapsed .admin-nav-label { display: none; }
.admin-shell.is-sidebar-collapsed .admin-navigation { padding-inline: .75rem; }
.admin-shell.is-sidebar-collapsed .admin-nav-link { justify-content: center; padding-inline: .5rem; }
.admin-shell.is-sidebar-collapsed .admin-sidebar-toggle i { transform: rotate(180deg); }

.admin-shell.is-sidebar-collapsed .admin-nav-link:hover::after,
.admin-shell.is-sidebar-collapsed .admin-nav-link:focus-visible::after {
  position: absolute;
  left: calc(100% + .75rem);
  z-index: 1080;
  padding: .4rem .65rem;
  border-radius: .4rem;
  content: attr(title);
  color: var(--wpc-cream);
  background: var(--wpc-navy-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  font-size: .82rem;
  white-space: nowrap;
}

.admin-workspace {
  flex: 1;
  min-width: 0;
}

.admin-main {
  width: 100%;
  max-width: 1440px;
  min-height: 100vh;
  padding: clamp(1.25rem, 3vw, 3rem);
  margin: 0 auto;
}

.admin-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: .65rem 1rem;
  color: var(--wpc-cream);
  background: var(--wpc-navy-dark);
}

.admin-mobile-brand {
  color: var(--wpc-cream);
  font-family: var(--wpc-display-font);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
}

.admin-mobile-brand:hover { color: var(--wpc-gold); }

.admin-offcanvas {
  color: var(--wpc-cream);
  background: var(--wpc-navy-dark);
}

.admin-offcanvas .offcanvas-header { border-bottom: 1px solid rgba(201, 162, 39, .25); }
.admin-offcanvas .admin-navigation { min-height: 100%; padding: 0; }

.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.admin-feature-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding: 1.25rem;
  border: 1px solid rgba(28, 43, 74, .12);
  border-radius: .9rem;
  color: var(--wpc-ink);
  background: #fff;
  box-shadow: 0 6px 20px rgba(28, 43, 74, .07);
  text-decoration: none;
}

.admin-feature-link:hover {
  border-color: var(--wpc-gold);
  color: var(--wpc-navy);
}

.admin-feature-link > span:nth-child(2) { flex: 1; }
.admin-feature-link strong { display: block; color: var(--wpc-navy); }
.admin-feature-link small { display: block; margin-top: .2rem; color: #6b7280; }

.admin-feature-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--wpc-navy);
  background: rgba(201, 162, 39, .22);
}

.admin-search {
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.admin-search > .small { display: inline-block; margin-top: .5rem; }

.admin-table-wrap,
.admin-form-panel,
.admin-detail-panel,
.admin-danger-zone,
.admin-empty-state {
  padding: 1.5rem;
  border: 1px solid rgba(28, 43, 74, .1);
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 6px 20px rgba(28, 43, 74, .06);
}

.admin-table thead th {
  border-bottom-color: rgba(28, 43, 74, .18);
  color: var(--wpc-navy);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.admin-table tbody tr:last-child > * { border-bottom: 0; }

.admin-role-badge {
  margin: .12rem;
  color: var(--wpc-navy);
  background: rgba(201, 162, 39, .24);
}

.admin-status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .88rem;
  font-weight: 600;
}

.admin-status.is-success { color: #197145; }
.admin-status.is-warning { color: #8a6300; }
.admin-status.is-danger { color: #a12622; }

.admin-empty-state {
  padding-block: 3rem;
  color: #6b7280;
  text-align: center;
}

.admin-empty-state > i { margin-bottom: 1rem; color: var(--wpc-gold-dark); font-size: 2rem; }
.admin-form-panel { max-width: 920px; }
.admin-field-group { padding-top: 1.25rem; margin-top: 1.25rem; border-top: 1px solid rgba(28, 43, 74, .12); }
.admin-confirmation { margin-top: 1.5rem; margin-bottom: 0; }
.admin-detail-panel { max-width: 760px; }
.admin-detail-panel dt { color: var(--wpc-navy); }
.admin-danger-zone { max-width: 920px; margin-top: 2rem; border-color: rgba(166, 38, 34, .3); }

.page-link { color: var(--wpc-navy); }
.page-link:hover { color: var(--wpc-navy-dark); background: rgba(201, 162, 39, .18); }
.page-item.active .page-link { border-color: var(--wpc-navy); background: var(--wpc-navy); }

.admin-shell :focus-visible {
  outline: 3px solid var(--wpc-gold);
  outline-offset: 3px;
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .admin-main { min-height: calc(100vh - 68px); }
}

@media (max-width: 767.98px) {
  body:has(.admin-shell) { padding-top: 0; }
  .admin-page-header { align-items: flex-start; flex-direction: column; }
  .admin-page-header > .d-flex { width: 100%; flex-wrap: wrap; }
  .admin-table-wrap { padding: .5rem; }
  .admin-form-panel, .admin-detail-panel, .admin-danger-zone { padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .admin-sidebar,
  .admin-sidebar-toggle i { transition: none; }
}

/* ---------- 404 / Not Found ---------- */

.not-found-section { min-height: 70vh; display: flex; align-items: center; }

.not-found-content {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.not-found-image {
  width: 100%;
  /* max-width: 420px; */
  height: auto;
  /*margin: 0 auto 1.5rem;*/
 /* border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(28, 43, 74, 0.15);*/
}

.not-found-content .btn:focus-visible {
  outline: 3px solid var(--wpc-navy);
  outline-offset: 3px;
}

@media (max-width: 767.98px) {
  .not-found-section { min-height: 60vh; padding: 3.5rem 0; }
  .not-found-image { max-width: 280px; }
}

/* Blazor shows this banner by setting display: block when a circuit error occurs. */
#blazor-error-ui {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1080;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  color: #4d3d02;
  background: #ffffe0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
}

#blazor-error-ui .dismiss {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  cursor: pointer;
}
