/* Contenedor principal que centra todo el contenido */
.layout-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-wrapper {
  background-color: #1e1029;
}

body,
.page-wrapper,
.layout-container,
.region-content {
  font-family: 'Courier New', Courier, monospace;
  color: #ffffff;
}

body {
  background-color: #1e1029;
}

/* Encabezados */
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #ffffff;
  margin-top: 0.5em;
}

/* Enlaces */
a {
  color: #bb86fc;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
a:hover {
  color: #ffb3ba;
  text-decoration: none;
}

/* Ajuste de desborde de nodos */
.node__content {
  overflow-wrap: break-word;
}

/* Imágenes centradas */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Escritorio: sidebars y contenido en columnas */
.layout-sidebar-first,
.layout-sidebar-second {
  float: left;
  width: 25%;
}
.region-content,
.layout-content {
  float: left;
  width: 75%;
}

/* Si tienes ambas sidebars activas a la vez, ajusta anchos */
.layout-sidebar-first,
.layout-sidebar-second {
  width: 20%; /* por ejemplo */
}
.layout-sidebar-first + .layout-sidebar-second + .region-content,
.layout-sidebar-first + .layout-sidebar-second + .layout-content {
  width: 60%;
}

/* Clearfix para el contenedor principal */
.layout-container::after,
.layout-main::after {
  content: "";
  clear: both;
  display: table;
}
/* Móviles: pantallas de menos de 768px */
@media (max-width: 768px) {
  .layout-container {
    padding: 0 10px;
  }
  .layout-sidebar-first,
  .region-content {
    width: 100%;
    float: none;
  }
}

/* Formulario de creación de bit! */
.node-bit-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(30, 16, 41, 0.7);
  padding: 1.5rem;
  border-radius: 0px;
}

/* Campos de texto */
.node-bit-form .form-text,
.node-bit-form .form-textarea,
.node-bit-form .form-select {
  background-color: #0d0a12;
  color: #e0e0e0;
  border: 1px solid #3a2a4a;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  width: 100%;
  padding: 0.5rem;
}

/* Etiquetas */
.node-bit-form label {
  color: #d9b4ff;
  font-weight: bold;
  margin-top: 1rem;
  display: block;
}

/* Botones */
.node-bit-form .form-actions .button {
  background-color: #2a1a3a;
  color: #ffffff;
  border: 1px solid #6a4a8a;
  padding: 0.6rem 1.2rem;
  font-family: 'Courier New', Courier, monospace;
  cursor: pointer;
}
.node-bit-form .form-actions .button:hover {
  background-color: #3a2a4a;
  border-color: #bb86fc;
}

/* Texto de ayuda */
.node-bit-form .description {
  font-size: 0.8rem;
  color: #b0a0c0;
  margin-top: 0.3rem;
}

/* Ajuste para el textarea */
.node-bit-form .form-textarea {
  height: 200px;
}