/* Public-page overrides live here after the shared base layer. */

.error-actions {
  align-items: center;
}

.error-actions .error-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 0;
  min-height: 40px;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.error-actions .error-action i {
  width: 14px;
  font-size: 12px;
  text-align: center;
}

.error-actions .error-home-button {
  border: 1px solid transparent;
  background: #5f4dff;
  box-shadow: 0 8px 20px rgba(60, 45, 190, .2);
}

.error-actions .error-home-button:hover {
  background: #705eff;
}

.error-actions .error-back-button {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .055);
  color: rgba(246, 244, 255, .86);
  box-shadow: none;
}

.error-actions .error-back-button::before {
  display: none;
}

.error-actions .error-back-button:hover {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

@media (max-width: 760px) {
  .error-actions {
    flex-direction: row;
  }

  .error-actions > .error-action {
    flex: 0 0 auto;
    width: auto;
  }
}
