/* style.css */
body {
  margin: 0; padding: 0;
  font-family: sans-serif;
  background: url('/static/fondo.jpg') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  height: 100vh;
}
.overlay {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(255,255,255,0.8);
}
.container {
  position: absolute;
  top:50%; left:50%;
  transform: translate(-50%,-50%);
  text-align: center;
  z-index: 1;
  width: 350px;
}
input[type="text"],
input[type="password"],
input[type="file"] {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid #aaa;
  box-sizing: border-box;
}
button {
  padding: 10px 20px;
  background: #007BFF;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 5px;
}
ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
}
li {
  background: #fff;
  padding: 8px;
  margin: 5px 0;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
a {
  margin-left: 10px;
  color: #007BFF;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

* Para el contenedor de Agregar + Volver */
.form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

/* Que el input no sea full‐width, sino que crezca solo lo necesario */
.form-actions input[type="text"] {
  flex: 1;           /* ocupa el espacio restante */
  width: auto;       /* ignora el 100% global */
  margin-right: 5px;
}
