/* Seminare Übersicht Styles */

.seminare-uebersicht {
  margin-top: 2rem;
}

/* Jahr-Tabs Styling */
.jahr-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.jahr-tabs .nav-tabs {
  border-bottom: 2px solid #ddd;
  margin-bottom: 0;
}

.jahr-tabs .nav-tabs > li {
  margin-bottom: -2px;
}

.jahr-tabs .nav-tabs > li > a {
  padding: 10px 20px;
  font-weight: bold;
  border: 2px solid transparent;
  border-radius: 4px 4px 0 0;
  color: #333;
}

.jahr-tabs .nav-tabs > li.active > a,
.jahr-tabs .nav-tabs > li.active > a:hover,
.jahr-tabs .nav-tabs > li.active > a:focus {
  background-color: #00a99d;
  color: white;
  border-color: #00a99d #00a99d transparent;
}

.jahr-tabs .nav-tabs > li > a:hover {
  background-color: #f5f5f5;
  border-color: #ddd #ddd transparent;
}

/* Filter Controls */
.filter-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-controls label {
  margin-bottom: 0;
  font-weight: bold;
}

.filter-controls select {
  width: auto;
  min-width: 150px;
}

/* Seminare Tabelle */
.seminare-table {
  background-color: white;
  border: 1px solid #ddd;
}

.seminare-table thead {
  background-color: #f5f5f5;
}

.seminare-table thead th {
  font-weight: bold;
  color: #333;
  border-bottom: 2px solid #ddd;
  padding: 12px 15px;
}

.seminare-table tbody tr {
  border-left: 4px solid transparent;
  transition: background-color 0.2s;
}

.seminare-table tbody tr:hover {
  background-color: #f9f9f9;
  cursor: pointer;
}

.seminare-table tbody td {
  padding: 12px 15px;
  vertical-align: middle;
}

/* Status Indicator (farbiger Balken links) */
.seminare-table tbody tr.status-durchgefuehrt {
  border-left-color: #007bff;
}

.seminare-table tbody tr.status-abgesagt {
  border-left-color: #6c757d;
}

.seminare-table tbody tr.status-geplant {
  border-left-color: #ffc107;
}

.seminare-table tbody tr.status-aktiv {
  border-left-color: #00a99d;
}

/* Status Indicator Punkt */
.status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 10px;
}

.status-durchgefuehrt .status-indicator {
  background-color: #007bff;
}

.status-abgesagt .status-indicator {
  background-color: #6c757d;
}

.status-geplant .status-indicator {
  background-color: #ffc107;
}

.status-aktiv .status-indicator {
  background-color: #00a99d;
}

/* Teilnehmer Icon */
.seminare-table .fa-user {
  margin-left: 5px;
  color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  .jahr-tabs {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-controls {
    width: 100%;
  }

  .filter-controls select {
    flex: 1;
  }

  .seminare-table {
    font-size: 14px;
  }

  .seminare-table thead th,
  .seminare-table tbody td {
    padding: 8px 10px;
  }
}
