#message {
  position: fixed;
  top: 50px;
  left: 50%;
  transition: all 0.8s ease-in-out;
  transform: translateX(-50%);
  z-index: 1060; /* Höher als Bootstrap Modal (1050) */
}

#message_tipps {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1060;
  opacity: 1;
  transition: all 0.8s ease-in-out;
}

#message_long {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 800;
  opacity: 1;
  transition: all 0.8s ease-in-out;
}

#message_tipps.hide {
  opacity: 0;
  transform: translateX(-50%) translateY(-20px); /* Nach oben gleiten */
}

.infobox {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  font-size: 0.9rem;
  text-align: center;
}

.rh-xs {
  font-size: 11px;
  font-weight: normal;
  /* Standardgröße */
}

span.badge.rh-xs {
  padding: 2px 5px;
  border-radius: 4px;
}

.rh-sm {
  font-size: 14px;
  /* Standardgröße */
}

@media (max-width: 768px) {
  .rh-xs {
    font-size: 9px;
    /* Schriftgröße für kleine Bildschirme */
  }

  .rh-sm {
    font-size: 12px;
    /* Schriftgröße für kleine Bildschirme */
  }
}

.bg-success-semi {
  background-color: #82b100;
  /* Helles Grün, anpassbar */
  color: #fff;
  /* Textfarbe passend zu hellgrün */
}

/* Links mit Rahmen und Hover-Effekt */
.navbar .custom-link {
  font-size: 0.8rem;
  color: #007bff;
  text-decoration: none;
  margin: 0 4px;
  padding: 2px 10px;
  border: 1px solid #007bff;
  border-radius: 15px; /* Abgerundete Kanten */
  transition: all 0.3s ease; /* Sanfter Übergang für Hover */
}

.navbar .custom-link.active {
  background-color: #007bff;
  color: white;
  font-weight: bold;
}

.navbar .custom-link:hover {
  background-color: #0056b3;
  color: white;
  border-color: #0056b3;
}

/* Abstände und Feinanpassungen */
.navbar {
  height: 80px;
}

.navbar .nav-link {
  text-align: center;
}

/* Dropdown bei Hover statt Klick */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* Vermeidet Abstände */
  border-color: #007bff;
  background-color: #007bff;
}
.dropdown-item {
  color: #fff;
}
.dropdown-item:hover {
  background-color: #cee6ff;
  color: #007bff;
  font-weight: bold;
}
.dropdown-menu {
  right: 0 !important; /* Stellt sicher, dass das Dropdown am rechten Rand abschließt */
  left: auto !important; /* Verhindert automatische linke Ausrichtung */
}

#installIcon {
  display: none;
  width: 61px; /* Größe des Icons anpassen */
  height: 36px;
  cursor: pointer;
}

.games_played {
  font-size: 0.8rem;
  font-weight: bold;
  color: #5380a7;
}

@keyframes rotateOnce {
  0% {
    transform: rotate(0deg) scale(1.4); /* Leichter Bounce */
    color: #8a0000; /* Zwischenfarbe */
  }
  100% {
    transform: rotate(360deg) scale(1);
    color: #0049c7; /* Blau */
  }
}

.sparkline {
  border: 2px solid #949494;
  background-color: #949494;
  border-radius: 5px;
  padding: 4px 5px 0px 4px;
  margin-left: 5px;
}
.date-label {
  display: inline-block; /* Inline-Block für Padding */
  background-color: #198754; /* Hellblauer Hintergrund */
  color: #ffffff; /* Dunkler Text */
  font-size: 0.7em; /* Kleinere Schriftgröße */
  font-weight: bold;
  padding: 1px 8px 0px 2px; /* Innenabstand für bessere Lesbarkeit */
  border-radius: 0 0 6px 0; /* Nur die rechte untere Ecke abrunden */
  position: relative; /* Positionierung ermöglichen */
  margin-bottom: 0px; /* Abstand zu den Badges */
  margin-top: 0px !important; /* Entfernt den oberen Rand optisch */
  vertical-align: top;

  /* line-height: 1; */
  /* line-height: 1 !important; */
}

.badge-top {
  vertical-align: top;
  line-height: 0.7rem;
  margin-top: -2px;
  width: 50px;
}
.extra-compact td,
.extra-compact th {
  padding: 0 !important;
  margin: 0 !important;
}

.logo-container {
  position: relative; /* Ermöglicht ein absolut positioniertes Logo */
  overflow: visible; /* Erlaubt dem Logo, den Container zu überschreiten */
}

.logo {
  height: 120px;
  position: relative;
  margin-top: -20px; /* Verschiebt das Logo nach oben */
}
