/* Generated from src/design-system/states.css and design/tokens.json. */
/* Shared by the first HTML paint and React system states. */
.system-state {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(
    ellipse at 50% 35%,
    var(--ds-colors-sand-50) 0,
    var(--ds-colors-white) 64%
  );
  color: var(--ds-semantic-text);
  font-family: var(--ds-font-body);
  padding: var(--ds-space-32) clamp(var(--ds-space-20), 5vw, var(--ds-space-72)) var(--ds-space-24);
  box-sizing: border-box;
  direction: rtl;
}
.system-state *,
.system-state *::before,
.system-state *::after {
  box-sizing: border-box;
}
.system-state-brand {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}
.system-state-brand a {
  display: inline-flex;
}
.system-state-brand .brand {
  width: 168px;
}
.system-state-content {
  width: 100%;
  max-width: 720px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--ds-space-32) 0 var(--ds-space-48);
  gap: var(--ds-space-28);
}
.system-state-copy {
  max-width: 580px;
}
.system-state-eyebrow {
  display: block;
  color: var(--ds-semantic-brand);
  font-size: var(--ds-font-size-13);
  margin-bottom: var(--ds-space-12);
}
.system-state-copy h1 {
  font-size: clamp(var(--ds-font-size-24), 3vw, var(--ds-font-size-36));
  font-weight: var(--ds-weight-bold);
  letter-spacing: normal;
  margin: 0 0 var(--ds-space-16);
  line-height: var(--ds-leading-heading);
}
.system-state-copy p {
  color: var(--ds-semantic-text-muted);
  font-size: var(--ds-font-size-15);
  line-height: var(--ds-leading-reading);
  margin: 0;
}
.system-state-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-20);
}
.system-state-actions .btn {
  min-height: var(--ds-control-md);
  padding-inline: var(--ds-space-24);
}
.system-state-text-link {
  color: var(--ds-semantic-brand);
  font-size: var(--ds-font-size-14);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--ds-space-8);
  padding: var(--ds-space-10) var(--ds-space-4);
}
.system-state-text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.system-state-footer {
  text-align: center;
  font-size: var(--ds-font-size-12);
  color: var(--ds-semantic-text-muted);
  flex-shrink: 0;
  padding-top: var(--ds-space-16);
}
.system-state-embedded {
  min-height: min(690px, calc(100svh - 180px));
  padding: var(--ds-space-20);
  border: 1px solid var(--ds-colors-sand-200);
  border-radius: var(--ds-radius-dialog);
}
.system-state-embedded .system-state-content {
  padding: var(--ds-space-16) 0 var(--ds-space-24);
}
.loading-scene {
  width: 290px;
  height: 215px;
  position: relative;
  display: grid;
  place-items: center;
}
.loading-brand {
  width: 94px;
  height: 94px;
  border-radius: var(--ds-radius-dialog);
  background: var(--ds-colors-white);
  border: 1px solid var(--ds-colors-sand-200);
  box-shadow: var(--ds-shadow-raised);
  display: grid;
  place-items: center;
  z-index: 2;
}
.loading-brand img {
  width: 51px;
  height: auto;
  display: block;
}
.loading-orbit {
  position: absolute;
  border: 1px solid var(--ds-colors-sand-200);
  border-radius: var(--ds-radius-circle);
  width: 205px;
  height: 205px;
  animation: state-orbit var(--ds-motion-orbit) linear infinite;
}
.loading-orbit::after {
  content: '';
  width: 9px;
  height: 9px;
  background: var(--ds-colors-olive-500);
  border: 3px solid var(--ds-colors-sand-50);
  border-radius: var(--ds-radius-circle);
  position: absolute;
  left: 28px;
  top: 23px;
  box-sizing: content-box;
}
.loading-orbit-inner {
  width: 153px;
  height: 153px;
  border-style: dashed;
  border-color: var(--ds-colors-plum-200);
  animation-direction: reverse;
  animation-duration: var(--ds-motion-orbit-slow);
}
.loading-orbit-inner::after {
  background: var(--ds-colors-plum-500);
  left: 14px;
  top: 12px;
  width: 6px;
  height: 6px;
}
.loading-sheet {
  position: absolute;
  width: 80px;
  height: 67px;
  border-radius: var(--ds-radius-control);
  background: var(--ds-colors-white);
  border: 1px solid var(--ds-colors-sand-200);
  box-shadow: var(--ds-shadow-subtle);
  padding: var(--ds-space-14);
  display: grid;
  gap: var(--ds-space-8);
  z-index: 3;
  animation: state-float var(--ds-motion-gentle) ease-in-out infinite;
}
.loading-sheet i {
  height: 5px;
  border-radius: var(--ds-radius-sm);
  background: var(--ds-colors-plum-150);
}
.loading-sheet i:nth-child(2) {
  width: 65%;
  background: var(--ds-colors-sand-200);
}
.loading-sheet span {
  width: 18px;
  height: 5px;
  border-radius: var(--ds-radius-sm);
  background: var(--ds-colors-olive-200);
}
.loading-sheet-one {
  left: 0;
  bottom: 18px;
  rotate: -9deg;
}
.loading-sheet-two {
  right: 2px;
  top: 10px;
  rotate: 10deg;
  animation-delay: calc(var(--ds-motion-duration2500) * -1);
}
.loading-dots {
  display: flex;
  justify-content: center;
  gap: var(--ds-space-8);
  margin-top: var(--ds-space-24);
}
.loading-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: var(--ds-radius-circle);
  background: var(--ds-colors-plum-500);
  animation: state-dot var(--ds-motion-pulse) ease-in-out infinite;
}
.loading-dots i:nth-child(2) {
  background: var(--ds-colors-olive-500);
  animation-delay: var(--ds-motion-panel);
}
.loading-dots i:nth-child(3) {
  background: var(--ds-colors-sand-300);
  animation-delay: var(--ds-motion-duration400);
}
.notfound-scene {
  width: min(420px, 100%);
  height: 238px;
  position: relative;
  display: grid;
  place-items: center;
}
.notfound-orbit {
  position: absolute;
  width: 91%;
  height: 175px;
  border: 1px solid var(--ds-colors-sand-200);
  border-radius: var(--ds-radius-circle);
  rotate: -13deg;
}
.notfound-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ds-space-16);
  z-index: 1;
  width: 100%;
}
.notfound-number > span {
  font-size: var(--ds-font-size-144);
  font-weight: var(--ds-weight-bold);
  color: var(--ds-colors-plum-500);
  line-height: var(--ds-leading-solid);
}
.notfound-window {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  height: 155px;
  background: var(--ds-colors-white);
  border: 1px solid var(--ds-colors-plum-200);
  border-radius: var(--ds-radius-card);
  box-shadow: var(--ds-shadow-subtle);
  transform: rotate(-7deg);
  padding: var(--ds-space-14);
  color: var(--ds-colors-plum-400);
}
.notfound-window-bar {
  width: 100%;
  display: flex;
  gap: var(--ds-space-4);
  border-bottom: 1px solid var(--ds-colors-sand-200);
  padding-bottom: var(--ds-space-10);
  margin-bottom: var(--ds-space-14);
}
.notfound-window-bar i {
  width: 4px;
  height: 4px;
  border-radius: var(--ds-radius-circle);
  background: var(--ds-colors-sand-300);
}
.notfound-window-line {
  display: block;
  width: 54px;
  height: 5px;
  background: var(--ds-colors-plum-150);
  margin-top: var(--ds-space-12);
  border-radius: var(--ds-radius-sm);
}
.notfound-window-line.short {
  width: 34px;
  margin-top: var(--ds-space-8);
}
.notfound-search,
.notfound-cursor {
  display: grid;
  place-items: center;
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: var(--ds-radius-tile);
  z-index: 2;
  animation: state-float var(--ds-motion-gentle) ease-in-out infinite;
}
.notfound-search {
  background: var(--ds-colors-olive-50);
  color: var(--ds-colors-olive-700);
  right: 16px;
  top: 7px;
  rotate: 9deg;
}
.notfound-cursor {
  color: var(--ds-colors-plum-500);
  background: var(--ds-colors-plum-100);
  left: 26px;
  bottom: 10px;
  rotate: -7deg;
  animation-delay: calc(var(--ds-motion-duration2500) * -1);
}
.loading-brand-error {
  margin-bottom: var(--ds-space-6);
}
@keyframes state-orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes state-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -6px;
  }
}
@keyframes state-dot {
  0%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}
@media (max-width: 600px) {
  .system-state {
    padding: var(--ds-space-24) var(--ds-space-24) var(--ds-space-18);
  }
  .system-state-brand .brand {
    width: 145px;
  }
  .system-state-content {
    gap: var(--ds-space-24);
    padding: var(--ds-space-28) 0 var(--ds-space-36);
  }
  .system-state-copy p {
    font-size: var(--ds-font-size-14);
  }
  .system-state-actions {
    flex-direction: column;
    gap: var(--ds-space-8);
    width: 100%;
  }
  .system-state-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  .notfound-scene {
    max-width: 310px;
    height: 205px;
  }
  .notfound-number {
    gap: var(--ds-space-8);
  }
  .notfound-number > span {
    font-size: var(--ds-font-size-104);
  }
  .notfound-window {
    width: 92px;
    height: 135px;
    border-radius: var(--ds-radius-soft);
    padding: var(--ds-space-12);
  }
  .notfound-window > svg {
    width: 38px;
    height: 38px;
  }
  .notfound-search,
  .notfound-cursor {
    width: 38px;
    height: 38px;
    border-radius: var(--ds-radius-control);
  }
  .notfound-search {
    right: 6px;
    top: 0;
  }
  .notfound-cursor {
    left: 12px;
    bottom: 0;
  }
  .loading-scene {
    width: 258px;
    height: 210px;
  }
  .state-desktop-break {
    display: none;
  }
  .system-state-embedded {
    padding: var(--ds-space-24) var(--ds-space-16);
  }
}
@media (prefers-reduced-motion: reduce) {
  .loading-orbit,
  .loading-sheet,
  .loading-dots i,
  .notfound-search,
  .notfound-cursor {
    animation: none;
  }
}
