* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
.container {
  width: 100%;
  height: 100vh;
  background: #f0ebf8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container form {
  border-top: 8px solid #673ab7;
  width: 90%;
  max-width: 500px;
  padding: 40px 30px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

form h1 {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 10px;
  border-bottom: 1px solid #c0c0c0;
}

.input-group {
  width: 100%;
  display: flex;
  align-items: center;
  margin: 10px 0;
  position: relative;
}
.input-group label {
  flex-basis: 28%;
}
.input-group input,
.input-group textarea {
  flex-basis: 68%;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 10px 0;
  border-bottom: 1px solid #999;
  color: #333;
  font-size: 16px;
}
::placeholder {
  font-size: 14px;
}

form button {
  background: #673ab7;
  color: #fff;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 10px 40px;
  outline: 0;
  cursor: pointer;
  display: block;
  margin: 30px auto 10px;
}

.input-group span {
  position: absolute;
  bottom: 12px;
  right: 17px;
  color: red;
  font-size: 14px;
}

#submit-error{
    color:red;
}

.input-group span i{
    color:seagreen;
}