.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pico-muted-border-color);
}

.site-header h2,
.site-header p {
  margin-bottom: 0.25rem;
}

.site-header img {
  max-height: 5rem;
}

.footer-divider {
  margin-top: 10px;
}

.steps li {
  margin-bottom: 0.5rem;
}

.steps ul li {
  list-style: none;
  margin-bottom: 0.25rem;
}

.info-box {
  padding: 0.75rem 1rem;
  border-left: 0.3rem solid var(--pico-primary);
  background-color: var(--pico-card-background-color);
}

.check-error {
  background-color: lightcoral;
}

.check-warning {
  background-color: khaki;
}

.check-ok {
  background-color: lightgreen;
}

.combobox {
  position: relative;
}

.combobox [role="listbox"] {
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  max-height: 18rem;
  overflow-y: auto;
  margin: -0.75rem 0 0;
  padding: 0;
  background-color: var(--pico-dropdown-background-color);
  border: 1px solid var(--pico-form-element-border-color);
  border-radius: var(--pico-border-radius);
}

.combobox [role="option"] {
  list-style: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.combobox [role="option"]:hover,
.combobox [role="option"][aria-selected="true"] {
  background-color: var(--pico-dropdown-hover-background-color);
}

.combobox-error {
  display: block;
  margin: -0.5rem 0 1rem;
  color: var(--pico-del-color);
}

.admin-nav {
  margin-bottom: 1rem;
}

.inline-form {
  display: inline;
  margin: 0;
}

.inline-form button {
  margin: 0;
  padding: 0.25rem 0.75rem;
}

.flash {
  padding: 0.75rem 1rem;
  border-radius: var(--pico-border-radius);
}

.flash-success {
  background-color: lightgreen;
}

.flash-error {
  background-color: lightcoral;
}

.flash-info {
  background-color: khaki;
}

.login {
  max-width: 28rem;
}

/* Admin: page structure */

.admin-nav a[aria-current="page"] {
  font-weight: bold;
  text-decoration: underline;
}

.page-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.table-filter {
  max-width: 32rem;
}

.shortcuts {
  margin: 1.5rem 0;
}

.hint,
.technical {
  color: var(--pico-muted-color);
}

.technical {
  font-size: 0.8em;
}

.link-button {
  display: inline;
  width: auto;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--pico-primary);
  text-decoration: underline;
}

/* Admin: status badges */

.badge {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: var(--pico-border-radius);
  font-size: 0.85em;
  white-space: nowrap;
}

.badge-ok {
  background-color: #d7f2d7;
}

.badge-missing {
  background-color: #f8d0d0;
  font-weight: bold;
}

.badge-general {
  background-color: #e4e8ee;
}

/* Admin: document slots */

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
  gap: 0 1.5rem;
}

.slot .missing {
  color: var(--pico-del-color);
}

.slot details {
  margin-bottom: 0.75rem;
}

.slot-history li {
  list-style: none;
}

.danger-zone {
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid var(--pico-del-color);
  border-radius: var(--pico-border-radius);
}

/* Admin: start page */

.issues {
  padding: 0;
}

.issue {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-left: 0.3rem solid var(--pico-del-color);
  background-color: var(--pico-card-background-color);
}

.issue-actions {
  display: flex;
  gap: 0.5rem;
}

.issue-actions [role="button"],
.issue-actions button {
  margin: 0;
  padding: 0.25rem 0.75rem;
}

.stats-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.stats-filter label,
.stats-filter select,
.stats-filter button {
  width: auto;
  margin: 0;
}
