/* Fuente y colores base */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f4f6f9;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Contenedor principal */
form {
  max-width: 500px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}



/* Etiquetas y campos */
label {
  display: block;
  margin-bottom: 15px;
  font-weight: 600;
  color: #444;
}

input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s;
}

input[type="text"]:focus {
  border-color: #0078d7;
  outline: none;
  box-shadow: 0 0 4px rgba(0,120,215,0.3);
}

/* Botones */
button {
  padding: 10px 20px;
  margin-right: 10px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

button[type="submit"] {
  background: #0078d7;
  color: #fff;
}

button[type="submit"]:hover {
  background: #005a9e;
}

button[type="reset"] {
  background: #e0e0e0;
  color: #333;
}

button[type="reset"]:hover {
  background: #c7c7c7;
}

/* Mensajes */

#errores {
  margin-top: 15px;
  padding: 10px;
  background: #ffe5e5;
  border: 1px solid #d93025;
  border-radius: 6px;
  color: #d93025;
  font-weight: bold;
  text-align: center;
}



#intentos {
  margin-top: 10px;
  padding: 10px;
  background: #e6f0ff;
  border: 1px solid #0078d7;
  border-radius: 6px;
  color: #0078d7;
  font-weight: bold;
  text-align: center;
}

#errores,
#intentos {
  display: none; /* Ocultos por defecto */
}


/* Página altaUsuario */
h1 {
  text-align: center;
  margin-top: 30px;
  color: #0078d7;
}

#datos {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#datos ul {
  list-style: none;
  padding: 0;
}

#datos li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

#datos li strong {
  color: #444;
}