@import '_content/KahkeshanDigitalMenu.Shared/KahkeshanDigitalMenu.Shared.hbz48e91a5.bundle.scp.css';

/* /Components/Loading.razor.rz.scp.css */
.loading-wrapper[b-85wbwis9x5] {
  height: 100vh;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
/* /Components/MenuErrorPage.razor.rz.scp.css */
/* ================================
   Menu Error Page
   Responsive + Vazirmatn
================================ */
.menu-error-page[b-t0yp6wwk9e] {
  --error-primary: #5948e8;
  --error-primary-hover: #4938d5;
  --error-text: #292b35;
  --error-muted: #81869a;
  --error-border: #e9ebf3;
  --error-surface: #ffffff;
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  gap: 16px;
  direction: rtl;
  text-align: center;
  font-family: "Vazirmatn", sans-serif !important;
  color: var(--error-text);
  background: radial-gradient(ellipse at 85% 8%, rgba(115, 163, 255, 0.28), transparent 42%), radial-gradient(ellipse at 10% 90%, rgba(153, 132, 255, 0.18), transparent 40%), linear-gradient(145deg, #f7f9ff, #edf2ff);
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

/* Apply font to MudBlazor rendered content.
   ::deep is important inside a .razor.css file. */
.menu-error-page[b-t0yp6wwk9e],
.menu-error-page[b-t0yp6wwk9e]  *,
.menu-error-page[b-t0yp6wwk9e]  *::before,
.menu-error-page[b-t0yp6wwk9e]  *::after {
  font-family: "Vazirmatn", sans-serif !important;
  box-sizing: border-box;
}

/* Preserve icon fonts and SVG icons */
.menu-error-page[b-t0yp6wwk9e]  .mud-icon-root,
.menu-error-page[b-t0yp6wwk9e]  .material-icons,
.menu-error-page[b-t0yp6wwk9e]  .material-symbols-outlined {
  font-family: "Material Icons", "Material Symbols Outlined", sans-serif !important;
}

.menu-error-page[b-t0yp6wwk9e]  svg {
  font-family: initial !important;
}

/* Main content / card */
.menu-error-page .error-content[b-t0yp6wwk9e],
.menu-error-page[b-t0yp6wwk9e]  .mud-card {
  width: 100%;
  max-width: 440px;
  min-width: 0;
  margin-inline: auto;
  border-radius: 22px;
}

/* Card surface */
.menu-error-page[b-t0yp6wwk9e]  .mud-card {
  background: var(--error-surface);
  border: 1px solid rgba(226, 231, 245, 0.9);
  box-shadow: 0 16px 45px rgba(48, 62, 110, 0.08);
  overflow: visible;
}

/* Typography */
.menu-error-page[b-t0yp6wwk9e]  .mud-typography,
.menu-error-page[b-t0yp6wwk9e]  h1,
.menu-error-page[b-t0yp6wwk9e]  h2,
.menu-error-page[b-t0yp6wwk9e]  h3,
.menu-error-page[b-t0yp6wwk9e]  p {
  max-width: 100%;
  color: var(--error-text);
  overflow-wrap: anywhere;
  word-break: normal;
}

.menu-error-page[b-t0yp6wwk9e]  h1,
.menu-error-page[b-t0yp6wwk9e]  h2 {
  line-height: 1.8;
  font-weight: 700;
}

.menu-error-page[b-t0yp6wwk9e]  p {
  line-height: 2;
}

/* Muted / secondary text */
.menu-error-page[b-t0yp6wwk9e]  .mud-typography-caption,
.menu-error-page[b-t0yp6wwk9e]  .mud-secondary-text {
  color: var(--error-muted);
}

/* Buttons */
.menu-error-page[b-t0yp6wwk9e]  .mud-button-root {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.menu-error-page[b-t0yp6wwk9e]  .mud-button-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  white-space: normal;
}

.menu-error-page[b-t0yp6wwk9e]  .mud-button-filled-primary {
  background-color: var(--error-primary);
  color: #fff;
  box-shadow: 0 5px 14px rgba(89, 72, 232, 0.2);
}

.menu-error-page[b-t0yp6wwk9e]  .mud-button-filled-primary:hover {
  background-color: var(--error-primary-hover);
  box-shadow: 0 7px 18px rgba(89, 72, 232, 0.27);
}

.menu-error-page[b-t0yp6wwk9e]  .mud-button-outlined {
  border-width: 1px;
}

/* Icons */
.menu-error-page[b-t0yp6wwk9e]  .mud-icon-root {
  flex-shrink: 0;
}

/* Dividers */
.menu-error-page[b-t0yp6wwk9e]  .mud-divider {
  margin-block: 12px;
  border-color: var(--error-border);
}

/* Alert and status messages */
.menu-error-page[b-t0yp6wwk9e]  .mud-alert {
  max-width: 100%;
  border-radius: 12px;
  text-align: right;
  line-height: 1.9;
}

.menu-error-page[b-t0yp6wwk9e]  .mud-alert-message {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Images */
.menu-error-page img[b-t0yp6wwk9e] {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Links */
.menu-error-page[b-t0yp6wwk9e]  a {
  overflow-wrap: anywhere;
  text-decoration: none;
}

/* Small mobile screens */
@media (max-width: 480px) {
  .menu-error-page[b-t0yp6wwk9e] {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 24px 16px;
    gap: 14px;
  }
  .menu-error-page .error-content[b-t0yp6wwk9e],
  .menu-error-page[b-t0yp6wwk9e]  .mud-card {
    width: 100%;
    max-width: 100%;
    border-radius: 18px;
  }
  .menu-error-page[b-t0yp6wwk9e]  .mud-card-content {
    padding: 16px !important;
  }
  .menu-error-page[b-t0yp6wwk9e]  h1,
  .menu-error-page[b-t0yp6wwk9e]  h2 {
    font-size: 20px;
    line-height: 1.9;
  }
  .menu-error-page[b-t0yp6wwk9e]  .mud-typography-body1 {
    font-size: 13px;
    line-height: 2;
  }
  .menu-error-page[b-t0yp6wwk9e]  .mud-typography-caption {
    font-size: 11px;
    line-height: 1.9;
  }
  .menu-error-page[b-t0yp6wwk9e]  .mud-button-root {
    min-height: 46px;
    padding: 9px 12px;
    font-size: 13px;
  }
}
/* Very narrow mobile screens */
@media (max-width: 360px) {
  .menu-error-page[b-t0yp6wwk9e] {
    padding: 18px 10px;
    gap: 12px;
  }
  .menu-error-page[b-t0yp6wwk9e]  .mud-card-content {
    padding: 12px !important;
  }
  .menu-error-page[b-t0yp6wwk9e]  h1,
  .menu-error-page[b-t0yp6wwk9e]  h2 {
    font-size: 18px;
  }
  .menu-error-page[b-t0yp6wwk9e]  .mud-button-root {
    font-size: 12px;
    padding-inline: 8px;
  }
}
/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .menu-error-page[b-t0yp6wwk9e] {
    min-height: 100dvh;
    justify-content: flex-start;
    padding-block: 16px;
    gap: 12px;
  }
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .menu-error-page *[b-t0yp6wwk9e],
  .menu-error-page *[b-t0yp6wwk9e]::before,
  .menu-error-page *[b-t0yp6wwk9e]::after {
    transition: none !important;
    animation: none !important;
  }
}
