/* ===== 404 PAGE ===== */

.error-hero {
  position: relative;
}

.error-hero-bg {
  min-height: 430px;
  display: flex;
  align-items: center;
  background: linear-gradient(130deg, rgba(111, 132, 153, 0.24), rgba(111, 132, 153, 0.08)), radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.12), transparent 42%), radial-gradient(circle at 80% 68%, rgba(255, 255, 255, 0.08), transparent 38%);
  border-bottom: 1px solid rgba(111, 132, 153, 0.22);
}

.error-hero-content {
  max-width: 520px;
  padding: 1.25rem 0;
  animation: fade-in-up 0.55s ease-out;
}

.error-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
  font-size: 0.78rem;
  color: #6f8499;
}

.error-card {
  border: 1px solid rgba(111, 132, 153, 0.2);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.error-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.08) !important;
}

.error-card .card-title {
  font-weight: 700;
}

.error-card .btn {
  min-width: 130px;
}

.error-main {
  position: relative;
  margin-top: 0;
  padding: 1.5rem 0 0.75rem;
}

.error-main-wrap {
  position: relative;
}

.error-flow {
  border: 1px solid rgba(111, 132, 153, 0.22);
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(170deg, rgba(111, 132, 153, 0.14), rgba(111, 132, 153, 0.05));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.error-flow-panel {
  min-height: 100%;
}

.error-flow-primary {
  border-right: 1px solid rgba(111, 132, 153, 0.2);
}

.error-flow-secondary {
  background: linear-gradient(180deg, rgba(111, 132, 153, 0.1), rgba(111, 132, 153, 0.03));
}

.error-action-grid {
  --bs-gutter-x: 0.75rem;
}

.error-action-tile {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
  text-decoration: none;
  text-align: left;
  border: 1px solid rgba(111, 132, 153, 0.25);
  border-radius: 6px;
  padding: 0.9rem 0.95rem;
  background: rgba(111, 132, 153, 0.08);
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.error-action-button {
  appearance: none;
  cursor: pointer;
}

.error-action-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(111, 132, 153, 0.45);
  background: rgba(111, 132, 153, 0.14);
  color: inherit;
}

.error-action-title {
  font-weight: 700;
}

.error-action-meta {
  font-size: 0.83rem;
  color: var(--bs-secondary-color);
}

.error-kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  font-weight: 700;
  color: #6f8499;
}

.error-list {
  margin: 0;
  padding-left: 1.1rem;
}

.error-list li {
  margin-bottom: 0.45rem;
  color: var(--bs-secondary-color);
}

.error-list li:last-child {
  margin-bottom: 0;
}

.error-steps {
  margin: 0;
  padding-left: 1.15rem;
}

.error-steps li {
  margin-bottom: 0.4rem;
  color: var(--bs-secondary-color);
}

.error-steps li:last-child {
  margin-bottom: 0;
}

.error-status-chip {
  border: 1px solid rgba(111, 132, 153, 0.25);
  border-radius: 6px;
  padding: 0.35rem 0.4rem 0.35rem 0.75rem;
  background: rgba(111, 132, 153, 0.08);
}

.error-status-chip .badge {
  background: rgba(111, 132, 153, 0.16) !important;
  color: var(--bs-body-color);
  border: 1px solid rgba(111, 132, 153, 0.35);
  border-radius: 4px;
  font-weight: 600;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .error-hero-bg {
    min-height: 350px;
  }
}

@media (max-width: 767px) {
  .error-hero-content {
    max-width: 100%;
  }
}

