html,
body {
  background-color: #f6f6f6;
  color: #111111;
  font-size: 14px;
}

html {
  height: 100%;
}

body {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
}

.container {
  display: flex;
  width: calc(100% - 32px);
  max-width: 580px;
  flex-direction: column;
  align-self: center;
  padding: 24px;
  margin: 16px auto;
  background: #ffffff;
  border-radius: 8px;
  text-align: center;
}

.logo {
  display: block;
  width: 125px;
  height: 125px;
  margin: 0 auto 24px;
  object-fit: contain;
}

.title {
  margin: 0 0 24px;
}

.meta {
  padding-top: 16px;
  border-top: 1px solid #eee;
  margin: 16px 0 0;
  color: #555;
  font-size: 12px;
  line-height: 1.5;
}

a, .button {
  color: #B8191A;
}

a:hover, a:focus {
  color: #a21617;
}

a:focus, .button:focus, .form-input:focus {
  outline: none;
}

.form-input {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #ccc;
  appearance: none;
  background-color: #f5f5f5;
  border-radius: 4px;
  color: #111111;
  font-size: 16px; /* prevent auto zoom on ios */
}

.form-input:focus {
  border-color: #B8191A;
  outline: none;
}

.button {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 40px;
  padding: 8px 16px;
  border: none;
  margin: 16px 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: #B8191A;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.button:hover, .button:focus {
  background: #a21617;
}

.button:disabled {
  background: #B8191A;
  color: rgba(255,255,255,0.75);
}

.info {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.container.success .info {
  color: #7FC03B;
}

.container.error .info {
  color: #D62828;
}

.password-form {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.password-rules {
  margin: 16px 0 0;
  color: #555;
  font-size: 11px;
  line-height: 1.5;
}
