* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #09111f 0%, #101a35 100%);
  color: #eef4ff;
  font-family: Arial, sans-serif;
}

.container {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 32px 16px 48px;
}

h1 {
  text-align: center;
  margin-bottom: 12px;
}

.app-navigatie {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.app-link {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(159, 211, 255, 0.35);
  background: rgba(20, 33, 61, 0.72);
  color: #dce9ff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.app-link:hover {
  background: rgba(24, 41, 75, 0.92);
}

.terug-start {
  background: rgba(24, 41, 75, 0.92);
}

.uitleg {
  text-align: center;
  color: #c1d5ff;
  margin-bottom: 20px;
  line-height: 1.5;
}

.kaart {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 18px;
}

.acties {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.veld {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.veld label {
  color: #cfe0ff;
  font-size: 0.9rem;
}

.veld select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #14213d;
  background-image:
    linear-gradient(45deg, transparent 50%, #dce9ff 50%),
    linear-gradient(135deg, #dce9ff 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  color: #f8fbff;
  border: 1px solid #5177c2;
  border-radius: 10px;
  padding: 10px 40px 10px 12px;
  color-scheme: dark;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.veld select:hover {
  border-color: #79a7ff;
  background-color: #18294b;
}

.veld select:focus {
  outline: 2px solid #9fd3ff;
  outline-offset: 2px;
  border-color: #9fd3ff;
}

.veld select:disabled {
  background-color: #0f1930;
  border-color: #355181;
  color: #8ca4d6;
  opacity: 0.7;
  cursor: not-allowed;
}

.veld select option {
  background: #14213d;
  color: #f8fbff;
}

.samenvatting {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.stat-kaart {
  margin-bottom: 0;
  text-align: center;
}

.stat-label {
  color: #b7cfff;
  margin-bottom: 8px;
}

.stat-waarde {
  font-size: 2rem;
  font-weight: 900;
  color: #ffd166;
}

.knop {
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.knop-export {
  background: #0d9f6e;
}

.knop-import {
  background: #8b5cf6;
}

.knop-leeg {
  background: #c0392b;
}

.status {
  flex-basis: 100%;
  min-height: 1.2em;
  color: #cfe0ff;
}

.beheer-uitleg {
  flex-basis: 100%;
  color: #c1d5ff;
  font-size: 0.92rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  color: #9fd3ff;
  font-size: 0.95rem;
}

.leeg {
  text-align: center;
  color: #c1d5ff;
}

@media (max-width: 820px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  td {
    border: none;
    padding: 6px 0;
  }
}
