body {
  background: #f6f8fa;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  color: #222;
  margin: 0;
}

main.container {
  min-height: 80vh;
  padding: 2rem 0;
}

.navbar-brand {
  font-weight: bold;
}

.card {
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: none;
}

.btn, .form-control, .form-select {
  border-radius: 8px;
}

.fc-toolbar-title {
  font-size: 1.35rem;
  font-weight: bold;
  color: #2257bf;
}

.fc {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
}

.fc .fc-button {
  background: #2257bf;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.35em 1em;
  font-weight: 500;
}

.fc .fc-button-primary:not(:disabled):active,
.fc .fc-button-primary:not(:disabled).fc-button-active,
.fc .fc-button-primary:hover {
  background: #163c8a;
}

.fc-daygrid-event {
  border-radius: 6px;
  font-size: 1rem;
  background: #2257bf;
  color: #fff;
  border: none;
  padding: 2px 6px;
}

.fc-daygrid-event-dot {
  border-color: #2257bf;
}

@media (max-width: 700px) {
  .fc {
    font-size: 0.95rem;
    padding: 0.2rem;
  }
  .fc-toolbar-title { font-size: 1.05rem; }
}

  <!-- Ampel-Design -->
.ampel-kreis {
      display: inline-block;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      margin-right: 0.75rem;
      border: 1px solid #bbb;
      vertical-align: middle;
    }
    .ampel-green { background: #2ecc40; }
    .ampel-yellow { background: #f1c40f; }
    .ampel-red { background: #e74c3c; }
    .platz-status { min-width: 75px; text-align: right; font-weight: bold;}
    @media (max-width: 700px) {
      #calendar { font-size: .95em; }
      #course-list h4 { font-size: 1.08rem; }
      .platz-status { font-size: .93rem; }
      .list-group-item { font-size: .97em; }
    }
.bg-warning-subtle {
  background-color: #fff9db !important;
}
/* Badges mit besserem Kontrast */
.badge.bg-light,
.badge.bg-info-subtle {
  color: #222 !important;
  background-color: #e0e8ef !important;
  border: 1px solid #b7c3d0 !important;
  font-weight: 500;
  box-shadow: 0 0 0 1px #b7c3d022 !important;
}

.bg-warning-subtle {
  background-color: #fff8e1 !important;  /* dezenteres, helles Gelb */
}
.fc-daygrid-day.fc-day-selected, .fc-list-day.fc-day-selected, .fc-timegrid-col.fc-day-selected {
  background: #ffe39c !important;
  border-radius: 12px;
}
  /* Stern + Farbe für hervorgehobene Kalender-Events */
  .fc-event-highlight {
    background-color: #fff7b2 !important;
    border-color: #ffcd3c !important;
    color: #a17000 !important;
  }
  /* Tages-/Listenansicht */
  .bg-highlight {
    background-color: #fff7b2 !important;
    color: #a17000 !important;
    font-weight: bold;
  }
@media (max-width: 600px) {
  .card.border-info {
    padding: 0.4rem 0.2rem;
  }
  .card-body.py-3.px-4 {
    padding: 1rem 0.8rem !important;
  }
}
canvas {
  max-width: 150px;
  max-height: 150px;
}
.table th, .table td {
  vertical-align: middle !important;
}
.table input.form-control,
.table select.form-select {
  padding: 0.15rem 0.4rem;
  font-size: 0.95em;
  min-width: 70px;
}
.btn-group .btn { min-width: 28px; padding: 0.25rem 0.7rem; }
.table td, .table th { white-space: nowrap; }
.table-responsive { margin-bottom: 2rem; }
form[method="POST"] { margin-bottom: 0; }
