:root {
    /* Colors */
    --green-seaweed: rgba(2, 128, 144, 1);
    --blue-queen: rgba(69, 105, 144, 1);
    --red-fire: #8A9AAE;

    /* Fonts */
    --font-asap: 'Asap', sans-serif;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
  background-color: var(--red-fire);
  font-family: var(--font-asap);
  width: 100vw;
  height: 100vh;
}

.g-recaptcha {
    /* margin-left: -10px; */
}

.login {
  overflow: hidden;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 340px;
  transform: translate(-50%, -50%);
  transition: transform 300ms, box-shadow 300ms;
  box-shadow: 5px 10px 10px rgba(2, 128, 144, 0.2);
}

.login::before,
.login::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-top-left-radius: 40%;
  border-top-right-radius: 45%;
  border-bottom-left-radius: 35%;
  border-bottom-right-radius: 40%;
  z-index: -1;
}

.login::before {
  left: 30%;
  bottom: -100%;
  background-color: rgba(69, 105, 144, 0.15);
  animation: wawes 6s infinite linear;
}

.login::after {
  left: 25%;
  bottom: -95%;
  background-color: rgba(2, 128, 144, 0.2);
  animation: wawes 7s infinite;
}

.login input {
  font-family: var(--font-asap);
  display: block;
  border-radius: 5px;
  font-size: 16px;
  background: white;
  width: 100%;
  border: 0;
  padding: 10px 10px;
  /* margin: 15px -10px; */
  margin: 15px 0;
  border: 1px solid #00000045;
}

.login .log_in_button {
    font-family: var(--font-asap);
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    width: fit-content;
    min-width: 80px;
    border: 0;
    padding: 10px;
    margin-top: 15px;
    /* margin-left: -5px; */
    border-radius: 5px;
    background-color: var(--red-fire);
    transition: background-color 300ms;
}

.auth-agreement {
    width: 100%;
    max-width: 320px;
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(0, 0, 0, 0.78);
    text-align: left;
}

.auth-agreement .auth-agreement__link {
    position: static;
    display: inline;
    font-size: inherit;
    color: var(--blue-queen);
    text-decoration: underline;
    left: auto;
    right: auto;
    bottom: auto;
}

.auth-agreement .auth-agreement__link:first-child,
.auth-agreement .auth-agreement__link:last-child {
    position: static;
    display: inline;
    left: auto;
    right: auto;
    bottom: auto;
}

.auth-agreement .auth-agreement__link:hover {
    color: var(--green-seaweed);
}

.login .log_in_button:hover {
  background-color: #e32733;
}

@keyframes wawes {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.786);
  position: absolute;
  bottom: 10px;
  font-size: 12px;
}

a:last-child {
  right: 10px;
}

a:first-child {
  left: 10px;
  display: none;
}

#error_msg {
  font-size: 20px;
  font-weight: normal;
  text-align: center;
}

.resend-code {
    color: #7295AD;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    left: 25px;
    text-decoration: none;
    display: none;
}

.resend-code.disabled {
    color: #a2a7aa;
    cursor: default;
    pointer-events: none;
}
