/* 404 Page Custom Stylesheet */

.notfound-container {
  max-width: 1120px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.notfound-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .notfound-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.notfound-illustration-col {
  order: 2;
}

@media (min-width: 1024px) {
  .notfound-illustration-col {
    order: 1;
  }
}

.illustration-card {
  position: relative;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.illustration-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.badge-404 {
  background-color: #ecfdf5;
  color: #047857;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-label {
  font-size: 0.75rem;
  color: #6b7280;
}

.notfound-content-col {
  order: 1;
}

@media (min-width: 1024px) {
  .notfound-content-col {
    order: 2;
  }
}

.notfound-content-col p.sub {
  font-size: 0.875rem;
  font-weight: 700;
  color: #047857;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.notfound-content-col h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #111827;
  margin-top: 0.75rem;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .notfound-content-col h1 {
    font-size: 3rem;
  }
}

.notfound-content-col p.desc {
  font-size: 1rem;
  color: #4b5563;
  margin-top: 1rem;
  line-height: 1.625;
}

.notfound-links-row {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.notfound-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #fff;
  border: 1px solid #d1d5db;
  color: #374151;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.notfound-link-btn:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

.notfound-tips-list {
  margin-top: 2rem;
  padding-left: 1.25rem;
  list-style-type: disc;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #4b5563;
}

.notfound-tips-list a {
  color: #047857;
  text-decoration: underline;
}

.notfound-tips-list a:hover {
  color: #065f46;
}

/* Centered card screens (e.g. Download Started) */
.centered-card-container {
  max-width: 42rem;
  margin: 5rem auto;
  padding: 0 1.5rem;
}

.centered-card {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.centered-card h1 {
  font-size: 1.875rem;
  font-weight: 800;
  color: #111827;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.centered-card p {
  color: #6b7280;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.centered-card p strong {
  color: #111827;
}

.centered-card .sub-text {
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: #9ca3af;
}

.centered-card .sub-text a {
  color: #4f46e5;
  font-weight: 600;
}

.centered-card .sub-text a:hover {
  text-decoration: underline;
}

/* Spinner circle loader */
.spinner-loader-circle {
  position: relative;
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.5rem;
}

.spinner-loader-bg {
  position: absolute;
  inset: 0;
  border: 4px solid #eef2ff;
  border-radius: 50%;
}

.spinner-loader-fill {
  position: absolute;
  inset: 0;
  border: 4px solid #4f46e5;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

