:root {
  --background: #f8f9fa;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --error: #dc3545;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.error-container {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  min-width: 100dvw;
  box-sizing: border-box;
  background: var(--background);
}

.error-paper {
  max-width: 680px;
  width: 100%;
  text-align: center;
  background: var(--paper);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.error-paper h1 {
  color: var(--error);
  text-transform: none;
  margin: 0 0 12px 0;
  font-size: 22px;
  font-weight: 600;
}

.error-paper .details {
  text-align: left;
  background: #f1f1f1;
  padding: 15px;
  border-left: 4px solid #dc3545;
  font-family: monospace;
  word-break: break-all;
}

.error-paper p {
  margin: 0 0 28px 0;
  font-size: 15px;
}

.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.loader {
  width: 48px;
  height: 48px;
  display: inline-block;
  position: relative;
}
.loader::after,
.loader::before {
  content: "";
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(100, 100, 100, 0.5);
  position: absolute;
  left: 0;
  top: 0;
  animation: animloader 2s linear infinite;
}
.loader::after {
  animation-delay: 1s;
}

@keyframes animloader {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
