html, body {
  margin: 0;
  padding: 0;
  background-color: black;
  color: #00FF00;
  font-family: monospace;
  
  /* Skrytí posuvníků */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 15px 15px 25px 15px; /* 25px rezerva pro fixní stavovou lištu */
}

#text-box {
  margin-top: auto; /* Přirozeně tlačí veškerý text dolů k liště */
  width: 100%;
  box-sizing: border-box;
  color: #00FF00;
  font-family: monospace;
}

#text-box pre {
  margin: 0;
  font-family: inherit;
  white-space: pre-wrap;
  word-wrap: break-word;
}

#text-box a {
  color: #cccccc;
  text-decoration: none;
  font-weight: bold;
}

#text-box a:hover {
  color: white;
}

/* Tmux status bar dole */
#tmuxStatusBar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background-color: #00ff00;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
  font-family: monospace;
  box-sizing: border-box;
  z-index: 100;
}

#tmuxLeft {
  text-align: left;
  padding-left: 5px;
}

#tmuxStatusBar a {
  color: #000000;
  text-decoration: none;
}

#tmuxStatusBar a:hover {
  color: white;
}

#tmuxRight {
  text-align: right;
  padding-right: 5px;
}

/* Kurzor */
#blinking-cursor {
  display: inline-block;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* Barvy logů */
.log-info {
  color: #ffffff;
  font-weight: bold;
}

.log-target {
  color: #00ff00;
}

.log-output {
  color: #aaaaaa;
}



/* Samostatný přepínač jazyka */
#tmuxLang {
  position: absolute;
  right: 5%; /* TADY si s tím můžeš posouvat – v % nebo třeba '60px' */
  height: 20px;
  line-height: 20px;
  cursor: pointer;
  font-weight: bold;
  color: #000000;
  user-select: none;
}

@media (max-width: 768px) {
  #tmuxLang {
    right: 10%; /* sem dáš svoje bb% */
  }
}

/* Rozbalovací okýnko nad lištou */
#tmuxLang .lang-pop {
  display: none;
  position: absolute;
  bottom: 20px; /* Sedí přesně na horní hraně tmux lišty, žádná fuka */
  left: 50%;
  transform: translateX(-50%);
  background: #00FF00;
  border: 1px solid #00FF00;
  padding: 1px 4px;
  line-height: normal;
  white-space: nowrap;
}

#tmuxLang:hover .lang-pop {
  display: block;
}

#tmuxLang .lang-pop a {
  color: #000000 !important;
  text-decoration: none;
}

#tmuxLang .lang-pop a:hover {
  background-color: #00ff00;
  color: #000000 !important;
}
