/**
 * Error pages – 404, 500, 503 – Mantine-style NothingFoundBackground (standalone, no navbar)
 */
html, body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
}
[data-mantine-color-scheme=dark] body {
  background: #121212;
  color: #fff;
}
[data-mantine-color-scheme=light] body {
  background: #f1f3f5;
  color: #212529;
}
.dashboard-page-wrap { flex: 1; min-height: 100vh; display: flex; flex-direction: column; }
.authguards_container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.authguards_container--full { max-width: none; }
.dashboard-container { padding: 1rem 0; }

.error-page-root {
  padding-top: 80px;
  padding-bottom: 80px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-page-inner {
  position: relative;
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}
.error-page-image {
  position: absolute;
  inset: 0;
  opacity: 0.75;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.error-page-image svg {
  width: 100%;
  max-width: 362px;
  height: auto;
  margin: 0 auto;
  display: block;
}
.error-page-content {
  padding-top: 200px;
  position: relative;
  z-index: 1;
}
@media (max-width: 576px) {
  .error-page-content {
    padding-top: 120px;
  }
}
.error-page-title {
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 0.5rem 0;
}
.error-page-code {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}
.error-page-description {
  max-width: 540px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}
.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}
.error-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, #1A76FD, #2563eb);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px -2px rgba(26, 118, 253, 0.5);
}
.error-page-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 4px 14px -2px rgba(26, 118, 253, 0.6);
  transform: translateY(-1px);
}
.error-page-btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}
.error-page-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

[data-mantine-color-scheme=light] .error-page-title { color: #1e293b; }
[data-mantine-color-scheme=light] .error-page-code { color: #64748b; }
[data-mantine-color-scheme=light] .error-page-description { color: #64748b; }
[data-mantine-color-scheme=light] .error-page-image { color: rgba(0, 0, 0, 0.06); }
[data-mantine-color-scheme=light] .error-page-btn--secondary {
  background: #f1f5f9;
  color: #334155;
  border-color: #e2e8f0;
}
[data-mantine-color-scheme=light] .error-page-btn--secondary:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}
