@font-face {
  font-family: "Liebherr Text";
  src: url("/fonts/LiebherrText-Regular_Web.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Liebherr Text";
  src: url("/fonts/LiebherrText-Medium_Web.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Liebherr Text";
  src: url("/fonts/LiebherrText-Bold_Web.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Liebherr Head";
  src: url("/fonts/LiebherrHead-Regular_Web.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Liebherr Head";
  src: url("/fonts/LiebherrHead-Black_Web.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --font-body: "Liebherr Text", Arial, Helvetica, sans-serif;
  --font-heading: "Liebherr Head", Arial, Helvetica, sans-serif;
  --color-brand: #ffd000;
  --color-text: #000000;
  --color-text-muted: #51585d;
  --color-surface: #ffffff;
  --color-border: #e5e8ed;
  --color-shadow: rgba(0, 0, 0, 0.08);
  --header-height: 2.9rem;
  --footer-height: 2.35rem;
  --content-width: 44rem;
  --content-width-wide: 96rem;
  --radius-card: 1rem;
  --radius-input: 0.75rem;
  --page-padding: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

input,
textarea,
select,
button {
  font: inherit;
}

button,
select {
  text-transform: none;
}

textarea {
  resize: vertical;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

h1 {
  font-size: 1.4rem;
}

h2 {
  font-size: 1.2rem;
}

h3 {
  font-size: 1rem;
}

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-text);
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 208, 0, 0.18),
      transparent 22rem
    ),
    linear-gradient(180deg, #f8fafb 0%, #eef2f5 100%);
}

button,
a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  border: 1px solid #000000;
  border-radius: 999px;
  background: var(--color-brand);
  color: #000000;
  padding: 0.75rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: #f1c300;
}

button:focus-visible {
  outline: 0.2rem solid rgba(0, 0, 0, 0.15);
  outline-offset: 0.15rem;
}

.top-bar,
.bottom-bar {
  position: fixed;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  z-index: 100;
  padding: 0 var(--page-padding);
  display: flex;
  flex-direction: column;
}

.top-bar {
  top: 0;
  min-height: var(--header-height);
  border-bottom: var(--color-border);
}

.bottom-bar {
  bottom: 0;
  min-height: var(--footer-height);
  border-top: var(--color-border);
}

.top-bar__inner,
.bottom-bar__inner {
  width: min(100%, var(--content-width));
  margin: auto auto;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar__branding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar__logo--wcm {
  height: 1.45rem;
  width: auto;
}

.top-bar__logo--liebherr {
  height: 0.95rem;
  width: auto;
}

.top-bar__title {
  font-family: var(--font-heading);
  font-size: 1.3em;
}

.page-content {
  padding: calc(var(--header-height) + 1rem) var(--page-padding)
    calc(var(--footer-height) + 1rem);
}

body.hide-top-bar .page-content {
  padding-top: 1rem;
}

.page-content__inner {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

body.wide-body .top-bar__inner,
body.wide-body .bottom-bar__inner,
body.wide-body .page-content__inner {
  width: 100%;
}

.bottom-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--color-text-muted);
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: 0 18px 40px -28px var(--color-shadow);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.card__text {
  font-size: 0.98rem;
  color: var(--color-text-muted);
}

.report-issue__submitted {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
  font-weight: 700;
  color: #1f8a2f;
}

.field-group {
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-group label {
  font-size: 0.96rem;
  font-weight: 600;
}

.field-group input,
.field-group textarea,
.field-group select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  background: var(--color-surface);
  padding: 0.6em 0.8em;
  color: var(--color-text);
  transition:
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.field-control-with-hint {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  align-items: start;
}

.field-control-with-hint input,
.field-control-with-hint textarea,
.field-control-with-hint select {
  width: 100%;
}

button.hint-button {
  min-height: 1.5rem;
  width: 1.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #1e6fdf;
  color: #ffffff;
  align-self: start;
}

.hint-anchor {
  position: relative;
  align-self: start;
  margin-top: 0.45rem;
}

button.hint-button:hover {
  background: #175ab5;
}

button.hint-button:focus-visible {
  outline: 0.15rem solid rgba(30, 111, 223, 0.35);
  outline-offset: 0.1rem;
}

.hint-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

.hint-button__icon::before {
  content: "i";
}

.hint-tooltip {
  position: absolute;
  right: 0;
  top: calc(100% + 0.3rem);
  max-width: min(40rem, 80vw);
  min-width: 30ch;
  background: #1f2937;
  color: #ffffff;
  border-radius: 0.45rem;
  padding: 0.45rem 0.6rem;
  font-size: 0.82rem;
  line-height: 1.35;
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.8);
  z-index: 20;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.hint-tooltip::before {
  content: "";
  position: absolute;
  top: -0.3rem;
  right: 0.5rem;
  width: 0.6rem;
  height: 0.6rem;
  background: #1f2937;
  transform: rotate(45deg);
}

.hint-button[data-tooltip-visible="true"] + .hint-tooltip {
  visibility: visible;
  opacity: 1;
}

.field-group textarea {
  min-height: 9rem;
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  outline: none;
  border-color: var(--color-text-muted);
  box-shadow: 0 0 0 0.2rem rgba(255, 208, 0, 0.28);
}

.field-hint,
.validation-summary-errors,
.field-validation-error {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.validation-summary-errors,
.field-validation-error {
  color: #a23a00;
}

.validation-summary-errors ul {
  padding-left: 1rem;
}

.form-actions {
  display: flex;
  padding-top: 0.25rem;
}

@media (max-width: 40rem) {
  .top-bar__logo--liebherr {
    display: none;
  }

  .issue-board__header {
    flex-direction: column;
  }

  .issue-board__metrics {
    grid-template-columns: 1fr;
  }
}
