/* Estilos base sin variables para evitar advertencias */
html, body {
  margin: 0;
  padding: 0;
  background-color: #0e0e0e;
  color: #eaeaea;
  font-family: sans-serif;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* Tema claro */
body.light {
  background-color: #f4f4f4;
  color: #111111;
}

#toolbar {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  background-color: #1a1a1a;
  padding: 10px;
  border-radius: 8px;
  display: block;
  border: 1px solid #333333;
}

body.light #toolbar {
  background-color: #ffffff;
  border: 1px solid #cccccc;
}

#toolbar button {
  background-color: #333333;
  color: #ffffff;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 4px;
}

#viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  cursor: move;
}

#world {
  position: absolute;
  width: 5000px;
  height: 5000px;
  background-image: radial-gradient(#333333 1px, transparent 1px);
  background-size: 50px 50px;
  top: 0;
  left: 0;
}

body.light #world {
  background-image: radial-gradient(#cccccc 1px, transparent 1px);
}

.window {
  position: absolute;
  background-color: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 8px;
  padding: 10px;
  min-width: 150px;
  box-shadow: 0 4px 10px #000000;
}

body.light .window {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.window header {
  cursor: move;
  background-color: rgba(0,0,0,0.2);
  margin: -10px -10px 10px -10px;
  padding: 5px;
  font-size: 12px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.note textarea {
  width: 100%;
  height: 100px;
  background-color: transparent;
  color: inherit;
  border: none;
  outline: none;
  resize: both;
  font-family: inherit;
}

#lockScreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000000;
  display: none;
  z-index: 9999;
  text-align: center;
  padding-top: 20%;
}