/* Panda-Lizenzverwaltung — schlichte, gut lesbare Oberfläche */
* { box-sizing: border-box; }
body {
  margin: 0; font-family: "Segoe UI", Arial, sans-serif; font-size: 15px;
  color: #1c2430; background: #f2f4f7;
}
header {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
  background: #1b5e3b; color: #fff; padding: 10px 18px;
}
.marke { font-size: 17px; }
.marke .firma { opacity: .75; font-size: 13px; margin-left: 8px; }
nav { display: flex; gap: 6px; }
nav button {
  border: 0; background: rgba(255,255,255,.12); color: #fff; padding: 8px 16px;
  border-radius: 6px; font-size: 15px; cursor: pointer;
}
nav button.aktiv { background: #fff; color: #1b5e3b; font-weight: 600; }

main { max-width: 1100px; margin: 18px auto; padding: 0 14px 60px; }
h2 { margin: 24px 0 10px; font-size: 19px; }
h2:first-child { margin-top: 0; }
.karte {
  background: #fff; border: 1px solid #dde3ea; border-radius: 8px;
  padding: 14px 16px; margin-bottom: 14px;
}
.hinweis { color: #5a6676; font-size: 13.5px; }
.leer { color: #5a6676; font-style: italic; padding: 6px 0; }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 7px 8px; border-bottom: 1px solid #e8ecf1; vertical-align: top; }
th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; color: #5a6676; }
tr.klickbar { cursor: pointer; }
tr.klickbar:hover { background: #f4f8fb; }

button, .knopf {
  font-size: 14.5px; padding: 7px 14px; border-radius: 6px; cursor: pointer;
  border: 1px solid #c6ced8; background: #fff; color: #1c2430;
}
button.primaer { background: #1b5e3b; border-color: #1b5e3b; color: #fff; font-weight: 600; }
button.klein { padding: 3px 10px; font-size: 13px; }
button.gefahr { color: #a4262c; border-color: #d8a0a3; }
button:disabled { opacity: .5; cursor: default; }

input, select, textarea {
  font-size: 14.5px; padding: 7px 9px; border: 1px solid #c6ced8; border-radius: 6px;
  width: 100%; background: #fff; font-family: inherit;
}
textarea { min-height: 64px; resize: vertical; }
label { display: block; font-size: 12.5px; color: #5a6676; margin: 10px 0 3px; }
.zeile { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.zeile > div { flex: 1; min-width: 140px; }
.zeile > div.schmal { flex: 0 0 110px; min-width: 110px; }

.band { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.band input[type="search"] { max-width: 260px; }
.band select, .band input[type="month"] { width: auto; }

.marke-rot { color: #a4262c; font-weight: 600; }
.marke-orange { color: #b05c00; font-weight: 600; }
.marke-gruen { color: #1b5e3b; font-weight: 600; }
.status-chip {
  display: inline-block; padding: 1px 9px; border-radius: 10px; font-size: 12.5px;
  background: #e7efe9; color: #1b5e3b;
}
.status-chip.demo { background: #e8ecfb; color: #2d2e83; }
.status-chip.gekuendigt { background: #f3e5e5; color: #a4262c; }

.zahl {
  display: inline-block; min-width: 22px; text-align: center; border-radius: 11px;
  background: #a4262c; color: #fff; font-size: 12.5px; padding: 1px 7px; margin-left: 6px;
}
.zahl.null { background: #8d98a5; }

#modal-schleier {
  position: fixed; inset: 0; background: rgba(20,28,38,.45);
  display: flex; align-items: flex-start; justify-content: center; padding: 30px 12px; overflow: auto;
}
#modal {
  background: #fff; border-radius: 10px; padding: 18px 20px; width: 100%; max-width: 760px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
#modal h3 { margin: 0 0 12px; }
.versteckt { display: none !important; }
.modal-knoepfe { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }

#anmelde-schleier {
  position: fixed; inset: 0; background: #1b5e3b;
  display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 50;
}
#anmelde-box {
  background: #fff; border-radius: 10px; padding: 22px 26px; width: 100%; max-width: 360px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
#anmelde-box h3 { margin: 0 0 4px; }

.verlauf { font-size: 13.5px; max-height: 260px; overflow: auto; }
.verlauf td { padding: 4px 8px; }
.fehlertext { color: #a4262c; margin-top: 8px; }
.ok-text { color: #1b5e3b; margin-top: 8px; }
.pruef { background: #fff7e6; border-left: 4px solid #b05c00; padding: 8px 10px; margin: 6px 0; border-radius: 4px; }
