.map-icon {
  font-size: 2em;
  transition: all 0.3s ease;
}

.map-icon:hover {
  box-shadow: 0 4px 8px rgba(218, 200, 200, 0.2);
  transform: scale(1.1);
}

#monaco-editor-container {
  height: 900px;
  border: 1px solid #ddd;
}

.editor-controls {
  margin-bottom: 10px;
}

.editor-controls button {
  margin-right: 5px;
}

.error-message {
  color: red;
  font-weight: bold;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
}

.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-modal:hover,
.close-modal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.image-container {
  width: 256px;
  height: 256px;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #dbdbdb;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.columns.is-multiline .column {
  display: flex;
  padding: 1rem;
}

.column .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
  height: 100%;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);
}

.column .box:hover {
  box-shadow: 0 6px 12px rgba(10, 10, 10, 0.15);
}

.box-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.box .title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.modal .modal-content {
  width: 90%;
  max-width: 500px;
}

.box .description {
  margin-top: 1rem;
  flex-grow: 1;
  font-size: 0.9rem;
  color: #555;
  width: 90%;
  text-align: left;
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
}

/* Añade esto a /public/css/style_origo.css o tu archivo CSS principal */

/* Estilos para la sección del editor JSON */
#json-editor-section {
  /* No definas 'display' aquí, lo controla el JavaScript */
  flex-direction: column; /* Apila los elementos (título, controles, editor) verticalmente */
  align-items: center;   /* Centra los elementos hijos horizontalmente */
  padding-top: 1.5rem;   /* Añade algo de espacio arriba */
  padding-bottom: 1.5rem;/* Añade algo de espacio abajo */
}

/* Contenedor del editor Monaco */
#monaco-editor-container {
  height: 600px;          /* Altura que prefieras */
  border: 1px solid #dbdbdb; /* Mantenemos el borde */
  width: 90%;             /* Que ocupe el 90% del contenedor */
  max-width: 1100px;      /* Pero no más de 1100px de ancho */
}

/* Contenedor de botones del editor */
.editor-controls {
  /* Si usas la clase 'buttons' de Bulma, puedes centrar con 'is-centered' en el HTML */
  /* Si no, puedes usar flexbox aquí: */
  /* display: flex; */
  /* justify-content: center; */
  /* flex-wrap: wrap; */ /* Para que los botones pasen a la siguiente línea si no caben */
  margin-bottom: 1rem; /* Espacio debajo de los botones */
}