body {
  margin: 0;
  padding: 0;
  background: #f2f2f2;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  background: #fff;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 350px;
  box-sizing: border-box;
}

.login-box h1 {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
}

.login-box input[type="text"],
.login-box input[type="password"],
.login-box input[type="email"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.login-box button {
  width: 100%;
  padding: 10px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s;
}

.login-box button:hover {
  background-color: #2980b9;
}

.register-link {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9em;
  color: #333;
}

.register-link a {
  color: #3498db;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}

.menu-container {
  text-align: center;
  padding: 50px;
}

.botones a button {
  padding: 10px 20px;
  margin: 10px;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  background-color: #3498db;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.botones a button[disabled] {
  background-color: #ccc;
  cursor: not-allowed;
  color: #777;
}

.menu-container form {
  margin-top: 30px;
}

.logout-btn {
  margin-top: 20px;
}

.menu-container form button {
  padding: 10px 20px;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  background-color: #2ecc71;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.menu-container form button:hover {
  background-color: #27ae60;
}

.contenedor {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  text-align: center;
}

.contenedor h1 {
  margin-bottom: 20px;
  font-size: 28px;
  color: #2c3e50;
}

.contenedor select,
.contenedor input[type="number"],
.contenedor button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 1em;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.contenedor button {
  background-color: #3498db;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contenedor button:hover {
  background-color: #2980b9;
}

#resultado {
  font-weight: bold;
  color: #333;
  margin-top: 10px;
}

hr {
  margin: 30px 0;
}

canvas {
  border: 1px solid #ccc;
  background: #fff;
}
