html,
body {
  font-family: "Vazirmatn", Tahoma, sans-serif;
}

h1:focus {
  outline: none;
}

/* تا زمان بار شدن WebAssembly؛ پس از رندر اتاق پنهان می‌شود. */
.rp-boot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  color: #475569;
  font-size: 1.1rem;
}

.rp-app ~ .rp-boot {
  display: none;
}

.rp-inline-form {
  display: inline;
}

/*
  پنل در عرض کمتر از breakpoint md در MudBlazor (960px): drawer ایستا نیمی از صفحه موبایل را می‌گرفت.
  تنها پیوندش (داشبورد) در نوار بالا هم هست، پس پنهان می‌شود و محتوا کل عرض را می‌گیرد.
*/
@media (max-width: 959.98px) {
  .rp-panel-drawer {
    display: none !important;
  }

  .rp-panel-layout .mud-main-content {
    margin-inline: 0 !important;
  }
}

#blazor-error-ui {
  color-scheme: light only;
  position: fixed;
  bottom: 0;
  inset-inline-start: 0;
  z-index: 1000;
  display: none;
  box-sizing: border-box;
  width: 100%;
  padding: 0.6rem 1.25rem 0.7rem;
  background: lightyellow;
  box-shadow: 0 -1px 2px rgb(0 0 0 / 20%);
}

#blazor-error-ui .dismiss {
  position: absolute;
  top: 0.5rem;
  inset-inline-end: 0.75rem;
  cursor: pointer;
}

.blazor-error-boundary {
  padding: 1rem;
  color: white;
  background: #b32121;
}

.blazor-error-boundary::after {
  content: "خطایی رخ داد.";
}
