*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Source Sans Pro', sans-serif;
  color: #3f3d56;
  background: #f8f8f8;
}

.page-bg {
  position: fixed;
  inset: 0;
  background-color: #f8f8f8;
  z-index: -1;
}

#root {
  min-height: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 47px;
  background-color: #007fb9;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-title {
  color: #fff;
  font-size: 1.2em;
  margin: 0;
  font-weight: normal;
}

.has-navbar {
  padding-top: 47px;
}

/* Choose password form */
.form-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 47px);
  padding: 24px 16px;
}

.form-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border: 1px solid rgba(34, 36, 38, 0.15);
  border-radius: 4px;
  box-shadow: 0 1px 2px 0 rgba(34, 36, 38, 0.15);
  padding: 1em;
}

.form-field {
  margin-bottom: 1em;
  position: relative;
}

.form-input {
  width: 100%;
  padding: 0.78571429em 1em 0.78571429em 2.67142857em;
  border: 1px solid rgba(34, 36, 38, 0.15);
  border-radius: 0.28571429rem;
  font-size: 1em;
  font-family: inherit;
  outline: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M12 17a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6-9h-1V6a5 5 0 0 0-10 0v2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2zM9 6a3 3 0 0 1 6 0v2H9V6z'/%3E%3C/svg%3E") no-repeat 0.85em center / 1.1em;
}

.form-input:focus {
  border-color: #85b7d9;
}

.form-input.error {
  background-color: #fff6f6;
  border-color: #e0b4b4;
  color: #9f3a38;
}

.error-label {
  display: block;
  margin: 0.4em 0 0;
  padding: 0.5em 0.8em;
  color: #9f3a38;
  background: #fff;
  border: 1px solid #e0b4b4;
  border-radius: 0.28571429rem;
  font-size: 0.875em;
}

.error-message {
  margin: 0 0 1em;
  padding: 1em;
  background: #fff6f6;
  color: #9f3a38;
  border: 1px solid #e0b4b4;
  border-radius: 0.28571429rem;
}

.submit-btn {
  width: 100%;
  padding: 0.78571429em 1.5em;
  border: none;
  border-radius: 0.28571429rem;
  background-color: #00b5ad;
  color: #fff;
  font-size: 1em;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #009c95;
}

/* Success / verify pages */
.success-page {
  padding-top: 100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 400px;
  padding-left: 16px;
  padding-right: 16px;
}

.success-title {
  color: #007fb9;
  font-size: 40px;
  font-family: 'Source Sans Pro', sans-serif;
  margin: 0;
  font-weight: normal;
}

.success-title.verify {
  font-size: 24px;
  font-style: oblique;
}

.success-text {
  line-height: 1.5;
  padding: 24px;
  font-size: 18px;
  margin: 0;
}

.verify-image {
  width: 200px;
  height: auto;
  margin: 8px 0;
}

.not-found {
  padding-top: 100px;
  text-align: center;
  color: #3f3d56;
}
