body {
  background-color: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  padding: 20px;
}

h1, h2 {
  color: rgb(255, 255, 0);
}

.opcion {
  display: block;
  margin: 8px 0;
}

.opcion input[type="checkbox"] {
  margin-right: 8px;
}

button {
  margin-top: 15px;
  padding: 8px 16px;
  background-color: #222;
  color: #fff;
  border: 1px solid #555;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #333;
}

.resultado {
  margin-top: 15px;
  font-weight: bold;
}
#firm {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  color: #555;
  text-align: center;
  padding: 8px 0;
  background-color: #f0f0f0;
  border-top: 1px solid #ddd;
  letter-spacing: 0.5px;
  user-select: none; /* para que no se seleccione fácilmente */
  margin-top: 20px;
  border-radius: 4px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: color 0.3s ease;
}

#firm:hover {
  color: #e63946; /* rojo suave al hacer hover */
  cursor: default;
}
/* From Uiverse.io by TimTrayler */ 
.switch {
 --secondary-container: #3a4b39;
 --primary: #db4307;
 font-size: 17px;
 position: relative;
 display: inline-block;
 width: 3.7em;
 height: 1.8em;
}

.switch input {
 display: none;
 opacity: 0;
 width: 0;
 height: 0;
}

.slider {
 position: absolute;
 cursor: pointer;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background-color: #313033;
 transition: .2s;
 border-radius: 30px;
}

.slider:before {
 position: absolute;
 content: "";
 height: 1.4em;
 width: 1.4em;
 border-radius: 20px;
 left: 0.2em;
 bottom: 0.2em;
 background-color: #aeaaae;
 transition: .4s;
}

input:checked + .slider::before {
 background-color: var(--primary);
}

input:checked + .slider {
 background-color: var(--secondary-container);
}

input:focus + .slider {
 box-shadow: 0 0 1px var(--secondary-container);
}

input:checked + .slider:before {
 transform: translateX(1.9em);
}
#modo-dificil-container {
  position: fixed;
  top: 20px;
  right: 20px;
  text-align: center;
  z-index: 1000;
}

.modo-dificil-texto {
  margin: 0 0 4px 0;
  font-size: 14px;
  color: #fff;
}
#contador-tiempo {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 10px;
}
