/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  height: 100vh;
  background: #7B1E1E;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

/* Formulario general */
.formulario {
  background: #D9CAB3;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 400px;
}

.contenedorl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

/* Títulos */
h1 {
  color: #000;
  font-size: 1.8rem;
  text-align: center;
}

h3 {
  color: #333;
  font-size: 1rem;
  text-align: center;
}

/* Inputs */
.inputs {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.field {
  display: flex;
  align-items: center;
  background: #f1f1f1;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.field .material-icons {
  color: #000;
  margin-right: 10px;
  font-size: 1.2rem;
}

.field input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  width: 100%;
  color: #000;
}

/* Botón */
button[type="submit"] {
  background-color: #000;
  color: #fff;
  padding: 0.75rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
    max-width: 150px;
    margin: 1rem auto;
}

button[type="submit"]:hover {
  background-color: #3a78c2;
}

/* Link */
.link1 {
  font-size: 0.9rem;
  text-align: center;
}

.link1 a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

.link1 a:hover {
  text-decoration: underline;
  color: #3a78c2;
}

/* Responsivo */
@media (max-width: 480px) {
  .formulario {
    padding: 2rem 1.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }
}
