:root {
  --leasys-blue: #18305b;
  --leasys-blue-dark: #002c5d;
  --leasys-red: #c20e1a;
  --leasys-red-dark: #aa0c17;
  --ink: #18305b;
  --muted: #5f6c7d;
  --line: #d1d5db;
  --soft: #f5f6f7;
  --white: #fff;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/Lato-Light-BMaLSd57.woff2") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Lato-Regular-slfFsoDb.woff2") format("woff2");
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Lato-Bold-450o7qxS.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  font-family: "Lato", Arial, sans-serif;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: "Lato", Arial, sans-serif;
  font-size: .875rem;
  font-weight: 300;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
label,
button,
input,
select,
textarea,
footer {
  font-family: "Lato", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a.button {
  cursor: pointer;
}

button:not(.nav-button, .search),
a.button {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background: var(--white);
  box-shadow: 0 1rem 3rem #0000002d;
}

.site-header-inner {
  width: 100%;
  max-width: 980px;
  min-height: 83px;
  margin: 0 auto;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 180px;
}

.leasys-logo {
  display: block;
  flex: 0 0 auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.leasys-logo-header {
  width: 176px;
}

.leasys-logo-footer {
  width: 130px;
  height: 31px;
}

.brand-context {
  color: var(--leasys-blue);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.25;
  white-space: nowrap;
}

.brand-context small {
  color: var(--leasys-red);
  font-size: .58rem;
  letter-spacing: .16em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--leasys-blue);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav > a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav > a:hover,
.site-nav > a:focus-visible {
  color: var(--leasys-red);
  border-bottom-color: var(--leasys-red);
}

.logout-form {
  margin: 0;
}

.nav-button {
  padding: 8px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--leasys-blue);
  background: transparent;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-button:hover,
.nav-button:focus-visible {
  color: var(--leasys-red);
  border-bottom-color: var(--leasys-red);
}

.site-main {
  width: 100%;
  min-height: calc(100vh - 190px);
  margin: 0 auto;
  padding: 130px 0 84px;
}

.content-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 15px;
}

.home-hero {
  padding: 54px 0 34px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--leasys-red);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2 {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 2.2rem;
  color: var(--leasys-blue);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  color: var(--leasys-blue);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  margin-bottom: .2rem;
  color: var(--leasys-blue);
  font-size: 1.05rem;
  font-weight: 700;
}

p strong {
  color: var(--leasys-blue);
}

p a {
  color: var(--leasys-red-dark);
  text-decoration: underline;
}

.lead {
  max-width: 660px;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

.red-rule {
  width: 76px;
  height: 5px;
  margin-bottom: 30px;
  background: var(--leasys-red);
}

.actions,
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-block;
  min-width: 165px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

.button-small {
  min-width: 0;
  padding: 5px 9px;
  font-size: .72rem;
  line-height: 1.25rem;
}

.customer-link-action {
  width: 160px;
  min-width: 90px;
  white-space: nowrap;
}

.customer-link-action--show {
  color: var(--white);
  background: var(--leasys-blue);
  border-color: var(--leasys-blue);
}

.customer-link-action--show:hover,
.customer-link-action--show:focus-visible {
  color: var(--white);
  background: var(--leasys-blue-dark);
  border-color: var(--leasys-blue-dark);
}

.customer-link-action--reactivate {
  color: var(--white);
  background: var(--leasys-red);
  border-color: var(--leasys-red);
}

.customer-link-action--reactivate:hover,
.customer-link-action--reactivate:focus-visible {
  color: var(--white);
  background: var(--leasys-red-dark);
  border-color: var(--leasys-red-dark);
}

.admin-action-card {
  margin: 1.25rem 0;
}

.admin-action-card h2 {
  margin-top: 0;
}

.inline-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
}

.inline-form label {
  display: block;
  width: 100%;
  margin-bottom: -6px;
  font-weight: 700;
}

.inline-form input {
  flex: 1 1 220px;
  max-width: 280px;
}

.button.primary {
  color: var(--white);
  background: var(--leasys-red);
}

.button.primary:hover,
.button.primary:focus-visible {
  color: var(--white);
  background: var(--leasys-red-dark);
}

.button.secondary {
  color: var(--leasys-red);
  background: var(--white);
  border-color: var(--leasys-red);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  color: var(--white);
  background: var(--leasys-red);
}

.home-content {
  padding-top: 20px;
}

.home-intro {
  max-width: 700px;
  margin-bottom: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.home-intro p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-grid article {
  padding: 22px 20px;
  border-top: 4px solid var(--leasys-blue);
  background: var(--soft);
}

.info-grid h2 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.info-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.step {
  display: block;
  margin-bottom: 14px;
  color: var(--leasys-red);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.page-heading {
  width: 100%;
  max-width: 950px;
  margin: 0 auto 30px;
  padding: 0 15px;
}

.page-heading h1 {
  margin-bottom: 1rem;
}

.page-heading p:not(.eyebrow) {
  margin-top: .2rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.faq-list {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  padding: 0 15px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  color: var(--leasys-blue);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 24px;
  color: var(--leasys-red);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  color: var(--leasys-red-dark);
}

.faq-item summary:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}

.faq-answer {
  padding: 0 40px 20px 4px;
  font-size: 1rem;
  line-height: 1.65;
}

.faq-answer p {
  margin: 0 0 1rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.form-card {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  padding: 12px 15px 28px;
  background: var(--white);
}

.login-card {
  max-width: 560px;
  margin: 0;
  padding: 28px;
  border-top: 5px solid var(--leasys-blue);
  box-shadow: 0 8px 24px #18305b18;
}

.login-content {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.login-content .page-heading {
  max-width: none;
  margin: 0 0 30px;
  padding: 0;
}

.login-content .login-card {
  width: 100%;
  max-width: none;
}

fieldset {
  margin: 0 0 22px;
  padding: 20px 0 10px;
  border: 0;
  border-top: 1px solid var(--line);
}

legend {
  margin-bottom: 16px;
  padding: 0 10px 0 0;
  color: var(--leasys-blue);
  font-size: 1.15rem;
  font-weight: 400;
}

.muted {
  margin-left: 8px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 300;
}

.readonly-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.readonly-grid dt {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.readonly-grid dd {
  margin: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.form-grid,
.company-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px;
}

.company-type,
.company-address {
  grid-column: 1;
}

.company-name {
  grid-column: 1 / -1;
}

.company-address-group,
.number-registration-group {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 8px;
}

.number-exemption {
  grid-column: 1 / -1;
  margin-top: 0;
}

#otherOrganisation {
  grid-column: 2;
  align-self: end;
}

.company-location {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
}

.form-grid > p {
  grid-column: 1 / -1;
  margin: 0;
}

.peppol-question-row,
.e-invoicing-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px;
}

.peppol-question-row {
  row-gap: 5px;
}

.peppol-question-row > .field {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  row-gap: 5px;
}

.peppol-no-response {
  grid-column: 2;
}

.peppol-reception-question {
  grid-column: 2;
}

.peppol-question-row.email-only-route .peppol-reception-question {
  grid-column: 1 / -1;
}

.peppol-no-response:not([hidden]) + .peppol-reception-question {
  margin-top: 19px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field label {
  color: var(--leasys-blue);
  font-size: .875rem;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #6b7280;
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  font-size: .95rem;
  line-height: 1.5rem;
}

.field input::placeholder {
  color: #6b7280;
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid transparent;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px #2563eb;
}

.field select {
  appearance: auto;
}

.field textarea {
  resize: vertical;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.checkbox-label input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}

.field input[type="file"] {
  min-height: 42px;
  padding: 8px;
}

.field small {
  color: var(--muted);
  font-size: .8rem;
}

.field span {
  min-height: 1.1em;
  color: var(--leasys-red);
  font-size: .8rem;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.form-footer p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: .85rem;
}

.notice,
.confirmation {
  width: 100%;
  max-width: 950px;
  margin: 0 auto 24px;
  padding: 20px;
  border-left: 5px solid var(--leasys-blue);
  background: var(--soft);
}

.notice.error {
  border-left-color: var(--leasys-red);
}

.confirmation {
  max-width: 700px;
  margin-top: 40px;
  padding: 38px 28px;
  border: 0;
  border-top: 5px solid var(--leasys-blue);
  text-align: center;
}

.notice.error h1,
.confirmation h1 {
  margin-bottom: 1rem;
}

.validation-summary {
  margin: 0 0 22px;
  padding: 12px 15px;
  border-left: 4px solid var(--leasys-red);
  color: var(--leasys-red);
  background: #fff4f4;
}

.validation-summary:empty,
.validation-summary-valid {
  display: none;
}

.report {
  width: 100%;
  max-width: 950px;
  margin: 30px auto 0;
  padding: 24px 15px;
  border-top: 4px solid var(--leasys-blue);
  background: var(--soft);
}

.report h2 {
  margin-bottom: 12px;
}

.link-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.link-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

code {
  color: var(--leasys-blue);
  overflow-wrap: anywhere;
}

.error-details {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.table-wrap {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  overflow-x: auto;
}

.column-picker {
  width: 100%;
  max-width: 950px;
  margin: 0 auto 10px;
  color: var(--ink);
}

.column-picker summary {
  width: fit-content;
  color: var(--leasys-blue);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 700;
}

.column-picker-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 10px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
}

.column-picker-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
}

.column-picker-options input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.customer-table {
  width: 100%;
  min-width: 850px;
}

.customer-table [data-column="imported"],
.customer-table [data-column="submitted"],
.customer-table [data-column="reopened"],
.customer-table [data-column="exported"],
.customer-table [data-column="actions"] {
  text-align: center;
}

.customer-table .customer-action-cell {
  white-space: nowrap;
}

.customer-table .customer-link-action {
  width: 58px;
  min-height: 30px;
  padding: 3px 4px;
  font-size: .65rem;
  line-height: 1;
  white-space: normal;
}

.completion-overview {
  display: grid;
  grid-template-columns: minmax(190px, auto) minmax(120px, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 950px;
  margin: 0 auto 24px;
  padding: 18px 20px;
  background: var(--soft);
}

.completion-summary {
  display: flex;
  flex-direction: column;
}

.completion-summary strong {
  color: var(--leasys-blue);
  font-size: 1.15rem;
}

.completion-summary span,
.completion-percent,
.result-count {
  color: var(--muted);
  font-size: .85rem;
}

.completion-track {
  display: block;
  width: 100%;
  height: 14px;
}

.completion-track-background {
  fill: #dce1e7;
}

.completion-track-value {
  fill: var(--leasys-red);
}

.customer-actions {
  max-width: 950px;
  margin: 0 auto 18px;
}

.action-dialog {
  width: min(520px, calc(100% - 32px));
  max-width: 520px;
  max-height: min(90vh, 720px);
  padding: 0;
  border: 0;
  border-top: 5px solid var(--leasys-blue);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 20px 60px #00000040;
}

.action-dialog::backdrop {
  background: #10213dcc;
  backdrop-filter: blur(2px);
}

.action-dialog form {
  position: relative;
  padding: 32px;
}

.customer-link-content {
  position: relative;
  padding: 32px;
}

.customer-link-value {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 16px;
}

.link-copy-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.link-copy-row code {
  flex: 1 1 280px;
}

.copy-status {
  color: var(--muted);
  font-size: .85rem;
}

.clipboard-fallback {
  position: fixed;
  top: 0;
  left: -10000px;
}

.action-dialog h2 {
  margin: 0 36px 12px 0;
}

.action-dialog p:not(.eyebrow) {
  color: var(--muted);
}

.action-dialog .field {
  margin: 22px 0;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 1.7rem;
  line-height: 1;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.dialog-actions--left {
  justify-content: flex-start;
}

.customer-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(400px, 1.6fr) auto;
  grid-template-areas:
    "status date date"
    "search search submit";
  align-items: start;
  gap: 16px;
  width: 100%;
  max-width: 950px;
  margin: 0 auto 10px;
  padding: 18px;
  border: 1px solid var(--line);
}

.customer-filters .field {
  min-width: 0;
}

.customer-filters > .field:first-child {
  grid-area: search;
  width: 100%;
  max-width: 600px;
}

.customer-filters .status-filter {
  grid-area: status;
}

.customer-filters .date-filter {
  grid-area: date;
}

.date-filter {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.date-filter legend {
  margin-bottom: 6px;
  color: var(--leasys-blue);
  font-size: .875rem;
}

.date-filter-controls {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 8px;
}

.date-filter-controls label {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: var(--muted);
  font-size: .75rem;
}

.date-filter-controls input,
.date-filter-controls select {
  width: 100%;
  min-width: 0;
  padding: 8px;
  font-size: .8rem;
}

.customer-filters button[type="submit"] {
  grid-area: submit;
  justify-self: end;
  align-self: end;
}

.status-filter {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.status-filter legend {
  margin-bottom: 6px;
  color: var(--leasys-blue);
  font-size: .875rem;
}

.status-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.customer-filters .status-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
}

.status-checkboxes label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: .85rem;
}

.status-checkboxes input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
}

.status-filter small {
  color: var(--muted);
  font-size: .75rem;
}

.action-dialog .status-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.customer-filters input,
.customer-filters select,
.pagination-bar select {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid #6b7280;
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.result-count {
  max-width: 950px;
  margin: 0 auto 8px;
}

.table-wrap th a {
  color: inherit;
}

.table-wrap th a:hover,
.table-wrap th a:focus-visible {
  color: var(--leasys-red);
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 950px;
  margin: 18px auto 32px;
}

.pagination-bar form,
.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pagination-bar form {
  color: var(--muted);
  font-size: .85rem;
}

.pagination a {
  padding: 7px 10px;
  border: 1px solid var(--line);
  color: var(--leasys-blue);
}

.pagination a.current {
  border-color: var(--leasys-blue);
  color: var(--white);
  background: var(--leasys-blue);
}

.badge {
  display: inline-block;
  padding: 3px 9px;
  font-size: .75rem;
  font-weight: 700;
}

.badge.done {
  color: #08755a;
  background: #d8f4ed;
}

.badge.open {
  color: #8b5700;
  background: #fff1d7;
}

.badge.reopened {
  color: #7a4b00;
  background: #ffe2b8;
}

.badge.exported {
  color: var(--leasys-blue);
  background: #dfe8f6;
}

.site-footer {
  color: var(--white);
  background: var(--leasys-blue);
}

.site-footer-inner {
  width: 100%;
  max-width: 980px;
  min-height: 110px;
  margin: 0 auto;
  padding: 24px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .8rem;
}

.footer-brand img {
  display: block;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: .8rem;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover {
  color: #f9b2b7;
}

[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .login-content {
    width: calc(100% - 30px);
  }

  .site-header-inner {
    min-height: 68px;
    padding: 8px 15px;
  }

  .leasys-logo-header {
    width: 140px;
  }

  .brand-context {
    display: none;
  }

  .site-nav {
    gap: 12px;
    font-size: .7rem;
  }

  .nav-button {
    font-size: .7rem;
  }

  .site-main {
    padding-top: 100px;
  }

  .home-hero {
    padding-top: 35px;
  }

  .info-grid,
  .form-grid,
  .company-form-grid,
  .customer-filters {
    grid-template-columns: 1fr;
  }

  .customer-filters {
    grid-template-areas:
      "status"
      "date"
      "search"
      "submit";
  }

  .completion-overview {
    grid-template-columns: 1fr auto;
  }

  .completion-track {
    grid-column: 1;
    grid-row: 2;
  }

  .completion-percent {
    grid-column: 2;
    grid-row: 2;
  }

  .pagination-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .action-dialog form {
    padding: 26px 20px;
  }

  .dialog-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .dialog-actions--left {
    align-items: flex-start;
  }

  .company-address-group,
  .number-registration-group,
  .company-location,
  .peppol-question-row,
  .e-invoicing-row {
    grid-template-columns: 1fr;
  }

  .peppol-question-row {
    row-gap: 24px;
  }

  .peppol-question-row > .field {
    display: flex;
    grid-row: auto;
  }

  .peppol-no-response:not([hidden]) + .peppol-reception-question {
    margin-top: 0;
  }

  .peppol-reception-question {
    grid-column: 1;
  }

  .company-type,
  .company-address,
  .company-name,
  .company-location,
  .peppol-question-row,
  .e-invoicing-row,
  .peppol-no-response,
  #otherOrganisation {
    grid-column: 1;
  }

  .readonly-grid {
    grid-template-columns: 1fr;
  }

  .form-footer {
    display: block;
  }

  .form-footer .button {
    width: 100%;
    margin-top: 18px;
  }

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .site-nav > a:first-child {
    display: none;
  }

  .leasys-logo-header {
    width: 125px;
  }

  .site-nav {
    font-size: .65rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .actions .button {
    width: 100%;
  }

  .login-card {
    padding: 22px 18px;
  }
}
