* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #4070f4;
  padding: 0 30px;
}
.wrapper {
  max-width: 480px;
  width: 100%;
  background: #fff;
  padding: 35px 40px;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.2);
}
.wrapper .input-box {
  position: relative;
  height: 60px;
  margin: 25px 0;
  border-radius: 6px;
}
.input-box input {
  height: 100%;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  border: 2px solid #a6a6a6;
  outline: none;
  color: #333;
  font-size: 18px;
  font-weight: 500;
  padding: 0 40px 0 16px;
  transition: all 0.3s ease;
}
.input-box label,
.input-box i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #a6a6a6;
}
.input-box label {
  left: 15px;
  font-size: 18px;
  font-weight: 400;
  padding: 0 6px;
  pointer-events: none;
  transition: all 0.3s ease;
}
.input-box i {
  right: 15px;
  cursor: pointer;
  padding: 8px;
}
.alert {
  display: flex;
  align-items: center;
  margin-top: -13px;
}
.alert .errorIcon {
  margin-right: 8px;
  color: #d93025;
  font-size: 18px;
  display: none;
}
.alert .text {
  color: #a6a6a6;
  font-weight: 500;
  font-size: 18px;
}
.input-box input:focus ~ label,
.input-box input:valid ~ label {
  top: 0;
  color: #4070f4;
  font-size: 14px;
  background: #fff;
}
.input-box input:focus {
  border-color: #4070f4;
}
.input-box.button #button {
  background: #4070f4;
  border: none;
  outline: none;
  font-size: 20px;
  color: #fff;
  letter-spacing: 1px;
  cursor: not-allowed;
}
.input-box.button #button.active:hover {
  background: #265df2;
  cursor: pointer;
}

