body, html {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-color: #121212;
  color: #ffffff;
}

.container {
  width: 1080px;
  height: 400vh;
  overflow-y: auto;
  background-color: #1e1e1e;
  padding: 10px;
  box-sizing: border-box;
  border-right: 1px solid #333;
}

#mainTitle {
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
  color: #00bfff;
}

#serverCount {
  font-size: 13px;
  margin-bottom: 10px;
  text-align: center;
}

/* Styl pro titulky jednotlivých serverů */
.server-title {
  font-size: 0.75rem; /* Zde můžete upravit velikost písma názvu serveru */
  margin-bottom: 10px; /* Přidáno pro lepší odsazení */
}

.info {
  background-color: #2c2c2c;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 14px;
}

ul {
  list-style: none;
  padding-left: 0;
  margin: 5px 0;
}

li {
  margin-bottom: 8px;
}

.status-bar-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0;
}

.status-bar {
  flex-grow: 1;
  height: 18px;
  background: #555;
  border-radius: 9px;
  overflow: hidden;
  position: relative;
  border: 1px solid #333;
  margin-bottom: 4px; /* Mezera mezi status bary */
}

.status-bar-fill {
  height: 100%;
  display: block;
  border-radius: 9px;
  transition: width 0.5s ease-in-out;
}

/* Text uvnitř status barů, nezávislý na šířce výplně */
.status-bar-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Důležité: text je nad barevnou výplní */
  display: flex;
  align-items: center;
  padding-left: 8px;
  box-sizing: border-box;
  color: black;
  font-size: 13px; /* Zvětšeno písmo */
  font-weight: bold;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.7); /* Světlý stín pro čitelnost */
  pointer-events: none; /* Umožní fungování tooltipu na rodičovském prvku */
}

.health-fill {
  background: linear-gradient(to right, #c0392b, #e74c3c);
}

.hunger-fill {
  background: linear-gradient(to right, #d35400, #f39c12);
}

.temp-label {
  font-weight: bold;
}

.toggle-button {
  font-size: 12px;
  margin-top: 5px;
  background-color: #444;
  color: white;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
  border-radius: 3px;
}
