:root {
  --primary-700: #1a56db;
  --gray-200: #e5e7eb;
  --gray-700: #374151;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden; /* prevent scrollbars */
}

body {
  font-family: Inter, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f9fafb;
}

/* Logo */
body > img {
  display: block;
  margin: 16px 0 0 16px; /* auto centers horizontally */
  max-width: 160px;
  height: auto;
}

/* For very small screens */
@media (max-width: 480px) {
  body > img {
    max-width: 120px;
    margin: 10px auto 0 auto;
  }
}

/* Wraps error content in center */
.whole-container {
  flex: 1; /* take available space without overflow */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px; /* little breathing space */
  box-sizing: border-box;
}

.error-container {
  max-width: 600px;
  text-align: center;
}

.error-container img {
  max-width: 60%;
  height: auto;
}

.error-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111827;
}

.error-description {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 8px;
}

.error-details {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 20px;
}

.error-details a {
  color: var(--primary-700);
  font-weight: 500;
  text-decoration: none;
}

.error-details a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
  .error-title {
    font-size: 1.2rem;
  }
  .error-description,
  .error-details {
    font-size: 0.85rem;
  }
}
