/* Allgemeine Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  margin-top: 0px;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  margin-top: -30px;
}

h1 {
  margin: 0;
}

.table-responsive {
  margin-top: 20px;
}

.modal-body .form-group {
  margin-bottom: 1rem;
}

.card {
  width: 100%;
  max-width: 400px;
}

.card-title {
  margin-bottom: 1rem;
}

.btn-block {
  width: 100%;
}

.vh-100 {
  height: 100vh;
}

.modal-lg .modal-body {
  max-height: 75vh;
  overflow-y: auto;
}

/* Tabellen-Styling für thead-dark */
.thead-dark {
  background-color: #ba142a !important; /* Kopf der Tabelle in Rot */
  color: #fff !important; /* Textfarbe im Kopf in Weiß */
}

.thead-dark th {
  color: #fff !important;
  text-align: left;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

/* Button-Styling */
.btn.btn-success,
.btn.btn-primary {
  background: #ba142a; /* Rot für alle Hinzufügen-Buttons */
  border: none;
}

.btn.btn-success:hover,
.btn.btn-primary:hover {
  background: #ba142a;
  border: none;
}

.fc-button {
  background: #ba142a !important;
  background-color: #ba142a !important;
  border: none !important;
}

.fc-button-active {
  background: #800e1d !important;
  background-color: #800e1d !important;
  border: none !important;
}

.btn.btn-success:active,
.btn.btn-primary:active {
  background: #ba142a;
  border: none;
}

.btn-primary:focus,
.btn-success:focus {
  box-shadow: 0 0 0 0.2rem rgba(186, 20, 42, 0.5);
}

/* Modal-Header in Rot */
.modal-header {
  background-color: #ba142a; /* Pop-up Header in Rot */
  color: #fff;
  border-bottom: 1px solid #ba142a;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
  font-weight: 500;
  color: #fff;
}

/* Zusätzliche Optimierungen */
.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
  border-collapse: collapse;
}

.table td,
.table th {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.table-hover tbody tr:hover {
  background-color: #f1f1f1;
}

.table th {
  font-weight: bold;
  border-bottom: 2px solid #dee2e6;
}
.close {
  fill: white !important;
  color: white !important;
}

label {
  font-weight: 600;
}

.alert-message-show {
  opacity: 1;
  transition: 1s;
}

.fade-out {
  opacity: 0;
}
