body {
  margin: 0px;
}

.header {
  background: #580bff;
  height: 150px;

  display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox; /* TWEENER - IE 10 */
  display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
  display: flex; /* NEW, Spec - Firefox, Chrome, Opera */

  justify-content: center;
  align-items: center;

  position: relative;
}

.header h1 {
  position: absolute;
  bottom: 19px;
  height: 24px;
  justify-self: center;
  margin: 0px;

  font-family: "SF Pro Text";
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;

  letter-spacing: -0.3px;

  color: #ffffff;
}

.header img {
  position: absolute;
  bottom: 57px;
  height: 18px;
  width: 88px;
  justify-self: center;
}

.content {
  display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox; /* TWEENER - IE 10 */
  display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */

  justify-content: center;
  align-items: center;

  position: relative;
}

.content .alert {
  position: absolute;
  width: 284px;
  height: 53px;
  top: 30px;

  background: #f3f4f8;
  border-radius: 10px;

  text-align: center;
}

p {
  font-family: "SF Pro Text";
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 140%;

  letter-spacing: -0.01em;

  color: #646469;
}

input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="password"]:focus {
  border: 2px solid #580bff;
}

.content form {
  position: absolute;
  top: 112px;
}

.form-label {
  text-align: left;
  margin-top: 0px;
  margin-bottom: 4px;

  font-size: 14px;
  line-height: 17px;
  color: #1c1c1e;

  font-style: normal;
  font-weight: normal;
}

.form-input input {
  display: block;
  width: 283px;
  height: 44px;
  padding-left: 17px;

  border: 2px solid #c8c8ce;
  box-sizing: border-box;
  border-radius: 4px;
}

.form-input input::placeholder {
  color: #c8c8ce;
}

#confirmPassword {
  position: absolute;
  top: 105px;
}

#submitButton {
  position: absolute;
  top: 224px;
  width: 283px;
  height: 44px;

  background: #580bff;
  border-radius: 6px;
  border: none;

  font-size: 16px;
  line-height: 19px;

  color: #f3f4f8;
}

#submitButton:disabled {
  background: #dedee3;
}

.error {
  position: absolute;
  height: 17px;
  width: 283px;
  top: 199px;
  margin-top: 0px;
  margin-bottom: 4px;

  font-size: 14px;
  line-height: 17px;
  text-align: center;

  color: #f90000;
}

#confirmationImage {
  position: absolute;
  width: 96px;
  height: 96px;
  top: 50px;
}

#lockIcon {
  position: absolute;
  width: 96px;
  height: 96px;
}

#checkIcon {
  position: absolute;
  width: 37px;
  height: 37px;

  bottom: -8px;
  right: -4px;
}

/* #checkLine {
  stroke-dashoffset: 1000;
  stroke-dasharray: 1000;
  animation-name: show-check;
  animation-duration: 4s;
  animation-timing-function: ease-in;
} */

.confirmationText {
  position: absolute;
  top: 194px;
  margin: 0px;

  font-weight: bold;
  font-size: 16px;
  line-height: 19px;

  text-align: center;
  color: #580bff;
}

/* Add animation */
#checkLine {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: dash 5s linear forwards;
  animation-delay: 0.5s;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}
