@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap');

body {
  margin: 0;
  overflow: hidden;
  background-color: rgb(255, 255, 255);
}

.info-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 8px;
  /* más compacto */
  font-family: Arial, sans-serif;
  font-size: 14px;
  /* más pequeño */
  border-radius: 5px;
  width: 220px;
  /* más angosto */
  max-height: 550px;
  overflow-y: auto;      /* Scroll solo si se necesita */
  overflow-x: hidden;    /* Oculta scroll horizontal si aparece */
}


.controls,
.edit-controls,
.file-controls {
  margin-top: 10px;
}

.controls button,
.edit-controls button,
.edit-controls input,
.file-controls button,
.file-controls input {
  margin-right: 4px;
  padding: 4px 6px;
  /* botones más pequeños */
  margin-bottom: 4px;
  font-size: 10px;
  /* texto más pequeño */
}


/* Estilos para la imagen flotante con alarma digital */
.floating-alarm {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1000;
  max-width: 160px;
  pointer-events: none;
}

.floating-alarm img {
  width: 100%;
  height: auto;
  opacity: 0.9;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.35));
}



.digital-alarm {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Black Ops One", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2em;
  color: #000000;
}


.layer-panel {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  max-height: 350px;
  overflow-y: auto;
  z-index: 10;
}

.layer-panel ul {
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
}

.layer-panel li {
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.layer-panel li:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.layer-panel .active {
  background-color: rgba(0, 255, 0, 0.3);
}


#login-container {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #1e1e1e;
  border: 1px solid #444;
  padding: 20px;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  width: 230px;
  font-family: sans-serif;
}

#login-container h3 {
  margin-top: 0;
  font-size: 18px;
  text-align: center;
  color: #ffc107;
}

#login-container input {
  width: 210px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 6px;
  border: none;
  background-color: #2a2a2a;
  color: #fff;
}

#login-container input::placeholder {
  color: #aaa;
}

#login-container button {
  width: 100%;
  padding: 10px;
  background-color: #ffc107;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

#login-container button:hover {
  background-color: #e0a800;
}
