/* Estilos para el formulario */
.formulario {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 100%;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
}

/* Estilos para la columna izquierda */
.columna-izquierda {
  width: 48%;
  box-sizing: border-box;
  padding-right: 2%;
}

/* Estilos para la columna derecha */
.columna-derecha {
  width: 48%;
  box-sizing: border-box;
  padding-left: 2%;
}

/* Estilos para los labels */
label {
  display: block;
  margin-bottom: 8px;

}
h2{
  font-weight: bold;
}


/* Estilos para los inputs y selects */
input[type="text"],
select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border: none;
  border-bottom: 1px solid #ccc;
  background-color: transparent;
  font-size: 16px;
  margin-bottom: 16px;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
select:focus {
  outline: none;
  border-color: #4caf50;
}

/* Estilos para los mensajes de error */
.error-message {
  color: red;
  font-size: 14px;
  margin-top: 4px;
}

/* Estilos para el botón */
button[type="submit"] {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  background-color: #45a049;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #45a049;
}

/* Estilos para el contenedor principal */
.contenedor {
  width: 96%;
  margin-left: 2%;
  margin-right: 2%;
  margin-top: 10%;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  background-color: #ffffff;
  position: relative;
  z-index: 1;
}

/* Estilos para el contenedor del formulario */
.contenedor-dos {
  margin-top: 30px;
  padding: 0.9375rem 20px;
  position: relative;
}

/* Estilos para el título sobremontado */
.sobremontado {
  position: relative;
  width: 96%;
  top: -20px;
  left: 2%;
  background-color: #477f4b;
  color: #fff;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: -50px;
  z-index: 2;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Estilos para el icono de instituciones */
.icono-instituciones {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
  font-size: 20px;
}

.example-form {
  min-width: 150px;
  max-width: 500px;
  width: 100%;
}

.example-full-width {
  width: 100%;
}

.volver{
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: white;
  display: flex;
  color: rgb(71, 127, 75);
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 32px;
  height: 32px;
  border: none;
  outline: none;
  cursor: pointer;

}

.centered {
  text-align: center;
}

.full-width {
  width: 45%;
  text-align: center;
}

.centered-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-field {
  width: 100%;
  margin-bottom: 20px;
}