body {
  font-family: Arial, sans-serif;
  background: #f8f9fa;
  margin: 0;
  padding: 0;
}
.header {
  display: flex;
  align-items: center;
  padding: 1em;
  background: rgba(255, 255, 255, 0.85);
}
.header .logo {
  height: 70px;
  margin-right: 1em;
  background-color: transparent;
}
.header h1 {
  margin: 0;
  color: #333;
}
.monat-selector {
  margin-left: auto;
}
.monat-selector select {
  padding: 0.4em;
  font-size: 1em;
}
.kalender-container {
  padding: 1em;
  background: rgba(255, 255, 255, 0.95);
  margin: 1em;
  border-radius: 8px;
}
.wochentage {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: bold;
  margin-bottom: 0.5em;
}
.wochentage div {
  padding: 0.5em;
  background: #ccc;
  border-radius: 4px;
}
.tage-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.tag {
  background: #d1d5db;
  border-radius: 6px;
  padding: 0.5em;
  min-height: 100px;
  position: relative;
  cursor: pointer;
  font-size: 0.9em;
}
.tag[data-status="verfügbar"] {
  background: #d1d5db;
}
.tag[data-status="wunsch"] {
  background: #6ee7b7;
}
.tag[data-status="nicht"] {
  background: #fca5a5;
}
.tag.highlight {
  border: 2px solid blue;
}
.empty {
  background: none;
  border: none;
}
.datum {
  font-weight: bold;
}
.status {
  margin-top: 0.3em;
}
.dropdown {
  display: none;
  position: absolute;
  top: 2.5em;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #aaa;
  z-index: 10;
  text-align: center;
}
.dropdown div {
  padding: 0.3em;
  cursor: pointer;
}
.dropdown div:hover {
  background: #eee;
}
.dienstwahl {
  display: none;
  margin-top: 0.5em;
  font-size: 0.85em;
  text-align: left;
}
.dienstwahl label {
  display: block;
}
.auswertung {
  background: #fff;
  padding: 1em;
  margin: 1em;
  border-top: 1px solid #ddd;
  font-size: 0.95em;
}
.grau {
  background-color: #f0f0f0;
  color: #999;
}
.fehlt {
  background-color: #f8d7da;
  font-weight: bold;
}

.warnung {
  color: red;
  font-weight: bold;
}
.speichern {
  text-align: center;
  margin: 1em;
}
.speichern button {
  padding: 0.6em 1.2em;
  font-size: 1em;
}

table {
  border-collapse: collapse;
  min-width: 1200px;
  font-size: 14px;
  table-layout: fixed;
}
th, td {
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
  vertical-align: middle;
  width: 60px;
  max-width: 60px;
}

td:first-child, th:first-child {
  width: 200px;
  max-width: 200px;
  text-align: left;
  padding-left: 12px;
  font-weight: bold;
  white-space: nowrap;
}

/* Feiertage und Wochenenden visuell hervorheben */
.highlight {
  border: 2px solid #007BFF !important;
  border-radius: 4px;
}

/* Klarere Darstellung für Symbole */
td span {
  font-size: 18px;
}

td span.gray-check {
  color: gray;
}

td span.green-star {
  color: green;
}

/* Wunschdienstart untereinander und ohne Zeilenbruch im Wort */
td div {
  white-space: nowrap;
}

