.sn-error-page {
  box-sizing: border-box;
  max-width: 36rem;
  margin: clamp(2.5rem, 8vh, 5rem) auto;
  padding: 0 1rem 3rem;
  text-align: center;
}

.sn-error-page__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 1.25rem;
  background: rgba(var(--accent-rgb, 0, 212, 170), 0.12);
  color: rgb(var(--accent-rgb, 0, 212, 170));
}

.sn-error-page__badge svg {
  width: 2rem;
  height: 2rem;
}

.sn-error-page__code {
  margin: 0 0 0.5rem;
  font-size: clamp(3rem, 12vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.45) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sn-error-page__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.sn-error-page__message,
.sn-error-page__hint {
  margin: 0 auto;
  max-width: 28rem;
  line-height: 1.55;
}

.sn-error-page__message {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.sn-error-page__hint {
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

.sn-error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.sn-error-page__actions a,
.sn-error-page__actions button {
  text-decoration: none;
  cursor: pointer;
  border: none;
  font: inherit;
}

.sn-error-page__actions .sn-error-page__btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

.sn-error-page__actions .sn-error-page__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.layout-content-holder-bc .sn-error-page {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 480px) {
  .sn-error-page__actions {
    flex-direction: column;
    width: 100%;
  }

  .sn-error-page__actions a,
  .sn-error-page__actions button {
    width: 100%;
    justify-content: center;
  }
}
