/* Globální styly - Neon Sci-Fi */
body {
  font-family: 'Orbitron', sans-serif; /* Skvělý moderní font, pokud je dostupný */
  background-color: #121212;
  color: #c0c0c0;
  margin: 20px;
}

/* Styly pro chat */
#chatContainer {
  height: 300px;
  overflow-y: auto;
  background-color: #1b1b1b;
  padding: 10px;
  border: 1px solid #2ae; /* Neon modrá */
  border-radius: 5px;
  box-shadow: 0 0 10px #2ae;
}

.message {
  padding: 8px 12px;
  margin-bottom: 8px;
  border-radius: 15px;
  max-width: 100%;
  clear: both;
  word-wrap: break-word;
  
}

.message-npc {
  background-color: rgba(42, 174, 226, 0.2);  /* Poloprůhledná neon modrá */
  border: 1px solid #2ae;
  float: left;
  text-align: left;
  box-shadow: 0 0 8px #2ae;
}

.message-player {
  background-color: rgba(13, 110, 253, 0.2);  /* Poloprůhledná neon modrá, odstín z bootstrapu */
  border: 1px solid #0d6efd;
  color: #0d6efd;
  float: right;
  text-align: right;
  box-shadow: 0 0 8px #0d6efd;
}

.clear {
  clear: both;
}

.current-node {
  background-color: rgba(223, 240, 216, 0.1);
  padding: 5px;
  border: 1px solid #28a745;
  border-radius: 5px;
  box-shadow: 0 0 8px #28a745;
}

.response-warning {
  font-size: 0.85em;
  color: #ff073a; /* Neon červená */
}

/* Zajistí dobrou čitelnost na mobilu */
@media (max-width: 576px) {
  #chatContainer {
    height: 250px;
  }
  
  .btn {
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
  }
}

/* Styly pro dialogy */
.state-item {
  border: 1px solid #2ae;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  background-color: #1b1b1b;
  box-shadow: 0 0 10px #2ae;
}

/* Styly pro postavy */
#exportJson {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0d6efd; /* Neon modrá */
  box-shadow: 0 0 15px #0d6efd;
}

#exportJson svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.btn-toggle {
  border: none;
  background: none;
  padding: 0;
}

#importFile {
  display: none;
}

/* Styly pro rozcestník */
.back-button {
  display: inline-block;
  margin: 20px 0;
  padding: 10px 20px;
  font-size: 14px;
  color: #fff;
  background-color: #6c757d;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 8px #6c757d;
}

.back-button:hover {
  background-color: #5a6268;
  box-shadow: 0 0 15px #5a6268;
}
