/* Not Found / Invalid Request block */
.not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem;              /* space inside section */
  min-height: calc(60vh);            /* ensures tall enough to feel centered */
  box-sizing: border-box;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  color: var(--color-slate);
  text-align: center;
  position: relative;
  z-index: 10;
}

/* Make sure content isn't hidden behind the fixed header on small screens:
   Adjust the value if your header/topbar is taller */
@media (min-width: 769px) {
  .not-found { padding-top: calc(4rem + 2rem); } /* desktop */
}
@media (max-width: 768px) {
  .not-found { padding-top: calc(3.2rem + 1.5rem); } /* mobile */
}

.not-found h2 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
  color: var(--color-slate);
}

.not-found p {
  color: var(--color-grey);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

.not-found .btn.primary {
  display: inline-block;
  margin-top: 1rem;
  background: var(--color-green);
  color: var(--color-white);
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
