html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.site-header-utilities {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  margin-left: auto;
}

.site-header-user__greeting {
  margin: 0 0 0.1rem;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
  cursor: default;
  user-select: none;
}

.site-header-nav-links.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  font-size: 1rem;
}

.navbar-collapse .site-header-nav-links.navbar-nav {
  flex-direction: row;
  align-items: center;
}

.site-header-nav-links > .nav-item {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.site-header-nav-links .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.demo-site-banner {
  background: #1d50a2;
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
}

.customer-error-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f4efe6;
  color: #111;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.customer-error-header {
  background: #fff;
  border-bottom: 3px solid #111;
  padding: 0.75rem 1.5rem;
}

.customer-error-header img {
  height: 64px;
  width: auto;
}

.customer-error {
  flex: 0 0 auto;
  width: min(40rem, calc(100% - 2rem));
  margin: 2.5rem auto;
  background: #fff;
  border: 3px solid #111;
  padding: 2rem 1.75rem 1.75rem 2.25rem;
  position: relative;
}

.customer-error::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.75rem;
  background: #f7b500;
}

.customer-error__code {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1d50a2;
}

.customer-error h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.customer-error__message,
.customer-error__path {
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}

.customer-error__path span {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.customer-error__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.5rem 0 1.25rem;
}

.customer-error__btn {
  display: inline-block;
  background: #111;
  color: #fff;
  border: 2px solid #111;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.55rem 1rem;
}

.customer-error__btn:hover,
.customer-error__btn:focus {
  background: #de1f26;
  border-color: #111;
  color: #fff;
}

.customer-error__btn--ghost {
  background: #fff;
  color: #111;
}

.customer-error__btn--ghost:hover,
.customer-error__btn--ghost:focus {
  background: #1d50a2;
  color: #fff;
}

.customer-error__help,
.customer-error__ref {
  margin: 0.35rem 0 0;
  color: #444;
  font-size: 0.95rem;
}

.customer-error__ref code {
  font-size: 0.85rem;
  color: #333;
  background: transparent;
  overflow-wrap: anywhere;
}

.customer-error-footer {
  margin-top: auto;
  border-top: 3px solid #111;
  background: #fff;
  padding: 1rem 1.5rem;
  color: #555;
  font-size: 0.9rem;
}

.customer-error-footer a {
  color: #1d50a2;
}