body {
  font-family: Arial, sans-serif;
  background: #0d1117;
  color: #fff;
  margin: 0;
  padding: 15px;
  height: 100%;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

#home {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* ----------- TABS ----------- */
.tabs {
  display: flex;
  flex-direction: column;
  width: 200px;
}

.tab-button {
  background: none;
  border: 1px solid #00ffcc;
  color: #00ffcc;
  padding: 10px;
  margin: 5px 0;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.tab-button:hover {
  background-color: #00ffcc22;
}

.tab-button.active {
  background-color: #00ffcc;
  color: #000;
  font-weight: bold;
}

/* ----------- CONTENIDO ----------- */
.tab-content {
  display: none;
  width: calc(100% - 50px);
  padding: 20px;
  border-radius: 8px;
  background-color: #111;
  box-shadow: 0 0 10px #00ffcc33;
}

.tab-content.active {
  display: block;
}

/* ----------- IMAGENES ----------- */

/* Contenedor de imágenes: horizontal scroll */
.imageslist {
  display: inline-block;
  flex-wrap: nowrap;
  /* overflow-x: auto; */
  gap: 12px;
  padding: 10px 0;
}

/* Cada tarjeta de imagen */
.image-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: #111;
  border: 1px solid #00ffcc55;
  border-radius: 10px;
  padding: 8px;
  min-width: 110px;
  max-width: 90px;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 0 5px #00ffcc33;
}

.image-card img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.image-info {
  font-size: 0.8em;
  margin-top: 5px;
  color: #ccc;
  font-size: 70%;
}

.image-info strong {
  color: #00ffcc;
}

/* ------------- CODE -------------- */

.code-container {
  margin-top: 15px;
}
pre {
  background: #0b0d11;
  padding: 10px;
  border-radius: 6px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 1.4em;
}

/* 


#messages {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
}


.msg {
  background: #161b22;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #30363d;
  width: 220px; 
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-container {
  width: 180px;
  height: 180px;
  background: #0b0d11;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 10px;
}
.image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#info {
  font-size: 0.9em;
  text-align: left;
  width: 100%;
  margin-bottom: 10px;
}

.buttons-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}
button {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.9em;
}
button:hover {
  background-color: #0056b3;
}

pre {
  background: #0b0d11;
  padding: 10px;
  border-radius: 6px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 1.2em;
  text-align: left;
}

@media (max-width: 600px) {
  #messages {
    flex-direction: column;
    align-items: center;
  }
  .msg {
    width: 90%;
  }
} */
