@import url(./fonts.css);

:root {
  font-size: 12px;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul, li {
  margin: 0;
  padding: 0;
}

.as-back-container {
  position: absolute;
  left: 1rem;
  top: 1rem;
}

.as-content {
  width: 100%;
  margin: 0 2rem;
  margin-top: 6rem;
}

.as-title {
  margin: 0;
  margin-bottom: 1rem;
  font-family: HalvarBreit, sans-serif;
  font-size: 1rem;
  line-height: 2rem;
}

.as-message {
  margin-bottom: 1rem;
  padding: 1.33rem;
  background-color: #F7F8FB;
  border-radius: 12px;
}

.as-error-message {
  margin-bottom: 1rem;
  padding: 1.33rem;
  background-color: #FFEBEE;
  border-radius: 12px;
}

.as-error-message ul {
  list-style-type: none;
}

.as-error-message li {
  font-family: T2RooftopRegular, sans-serif;
  font-size: 1.33rem;
  color: #65707B;
}

.as-message-title {
  font-family: T2RooftopRegular, sans-serif;
  font-size: 1.33rem;
}

.as-message-text {
  font-family: T2RooftopRegular, sans-serif;
  font-size: 1.33rem;
  color: #65707B;
}

.as-form-control {
  box-sizing: border-box;
  margin-bottom: 1.33rem;
  width: 100%;
  height: 5rem;
  padding: 1.66rem 1.33rem;
  border-radius: 8px;
  border: 1px solid #D3D9DF;
  color: #65707B;
  font-size: 1.33rem;
  font-family: T2RooftopRegular, sans-serif;
}

.form-control:focus {
  border-color: #1890ff;
  box-shadow: 0 0 0 2px #1890ff33;
  border-right-width: 1px;
  outline: 0;
}

.as-input-container {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.as-input-eye-img {
  position: absolute;
  opacity: 0.8;
  width: 24px;
  height: 24px;
  top: 25%;
  right: 1rem;
}

.as-input-eye-img:hover {
  opacity: 1;
}

.as-checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-family: T2RooftopRegular, sans-serif;
  font-size: 1.33rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.as-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.as-checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  background-color: #FFF;
  border: 1px solid #65707B;
  border-radius: 2px;
}

.as-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.as-checkbox-container input:checked ~ .as-checkmark {
  background-color: #000;
}

.as-checkbox-container input:checked ~ .as-checkmark:after {
  display: block;
}

.as-checkbox-container .as-checkmark:after {
  left: 33%;
  top: 18%;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.as-button-container {
  margin-bottom: 1.33rem;
  display: flex;
  justify-content: center;
}

.as-button-primary {
  padding: 1rem 3rem;
  color: #FFF;
  background-color: #000;
  font-family: HalvarBreit, sans-serif;
  text-transform: uppercase;
  font-size: 1.33rem;
  line-height: 1.83rem;
  border: 0;
  border-radius: 12px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.as-button-secondary {
  padding: 0;
  color: #000;
  background-color: #FFF;
  font-family: T2RooftopRegular, sans-serif;
  font-size: 1.33rem;
  line-height: 1.83rem;
  border: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.as-hidden {
  display: none;
}

.as-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#as-password-button {
  margin-bottom: 1.33rem;
}

#as-code-button {
  margin-bottom: 1.33rem;
}

.as-disabled {
  opacity: 0.7;
}

@media screen and (min-width: 600px) {
  .as-content {
    width: 25%;
    margin: 6rem auto;
  }
}