* {
  font-family: "Outfit", sans-serif;
}
body {
  margin: 0;
  background: url("/assets/images/auth/brasyst-auth-bg.jpg") no-repeat center
    center fixed;
  background-size: cover;
}
.document {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .document {
    padding: 30px;
  }
}
@media (max-width: 500px) {
  .document {
    padding: 20px;
  }
}
.box {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1),
    0 8px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: row;
  overflow: hidden;
}
@media (max-width: 1200px) {
  .box {
    flex-direction: column-reverse;
  }
}
.side {
  width: 500px;
}
@media (max-width: 1024px) {
  .side {
    width: 100%;
  }
}
.form {
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}
@media (max-width: 768px) {
  .form {
    padding: 30px;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 500px) {
  .form {
    padding: 20px;
    gap: 14px;
  }
}
.banner {
  background: #eee url("/assets/images/auth/brasyst-auth-banner.jpg") no-repeat
    center center;
  background-size: cover;
}
@media (max-width: 1200px) {
  .banner {
    height: 150px;
  }
}
.logo {
  width: 50px;
}
h1 {
  margin: 0;
  font-size: 24px;
}
@media (max-width: 400px) {
  h1 {
    font-size: 24px;
  }
}
p {
  margin: 0;
  font-size: 16px;
  color: #777;
  font-weight: 300;
}
.help {
  position: relative;
  padding-left: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  margin-left: 6px;
  cursor: help;
  user-select: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  color: #215fff;
  border: 1px solid rgba(33, 95, 255, 0.35);
  background: rgba(33, 95, 255, 0.08);
  transition: 200ms all ease;
}

.help:hover,
.help:focus {
  background: rgba(33, 95, 255, 0.16);
  border-color: rgba(33, 95, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(33, 95, 255, 0.18);
  outline: none;
}

.help::before {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
  width: 260px;
  max-width: 70vw;
  padding: 10px 12px;
  border-radius: 10px;
  background: #215fff;
  color: #fff;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 160ms all ease;
  z-index: 50;
  text-align: left;
}

.help::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #111;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 160ms all ease;
  z-index: 50;
}

.help:hover::before,
.help:hover::after,
.help:focus::before,
.help:focus::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-2px);
}

.fields {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.field label {
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: inline-block;
}
.field label span {
  font-weight: 400;
  padding-left: 5px;
}

.input-field {
  width: 100%;
  padding: 0 18px;
  height: 50px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 0 0 40px white;
  border: none;
  font-size: 16px !important;
  border-radius: 10px;
  outline: none;
  transition: 200ms box-shadow ease;
  background: #fff;
  -webkit-text-fill-color: #000 !important;
}

.field input[type="email"],
.field input[type="password"] {
  width: 100%;
  padding: 0 18px;
  height: 50px;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1), inset 0 0 0 40px white;
  border: none;
  font-size: 16px !important;
  border-radius: 10px;
  outline: none;
  transition: 200ms box-shadow ease;
  background: #fff;
  -webkit-text-fill-color: #000 !important;
}
.field input[type="email"]:focus,
.field input[type="password"]:focus,
.field input[type="text"]:focus {
  box-shadow: inset 0 0 0 1px transparent, 0 0 0 1000px white inset,
    0 0 0 3px #215fff;
}
.g-recaptcha {
  width: 100%;
  overflow-x: auto;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.g-recaptcha * {
  max-width: 100% !important;
}
.button {
  width: 100%;
  padding: 0 16px;
  height: 46px;
  border: none;
  outline: none;
  font-weight: 800;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  font-size: 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  background-color: #215fff;
  color: #fff;
}
.button[disabled] {
  background: #aaa;
  color: #333;
  cursor: not-allowed;
}
.button[disabled]:hover {
  background: #bbb;
  color: #333;
  cursor: not-allowed;
}
.button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.button:hover {
  background-color: #1a4db0;
}
.toast {
  position: fixed;
  max-width: 250px;
  width: calc(100% - 30px);
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 10px;
  animation: fadeIn 0.5s ease-in-out, fadeOut 0.5s ease-in-out 3s forwards;
  color: #fff;
  background-color: #555;
}
.toast svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
.toast.danger {
  background-color: rgb(211, 63, 63);
  color: #fff;
}
.toast.success {
  background-color: rgb(11, 165, 75);
  color: #fff;
}
.toast.show {
  animation: fadeIn 0.2s ease-in-out forwards;
}
.toast.hide {
  animation: fadeOut 0.2s ease-in-out forwards;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px) translateX(-50%);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: translateY(0) translateX(-50%);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) translateX(-50%);
  }
}
.footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: #888;
}
.footer a {
  color: #888;
  text-decoration: underline;
  transition: 200ms all ease;
}
.footer a:hover {
  color: #555;
}
.context {
  width: calc(100% - 40px);
  padding: 20px;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.context .illustration {
  width: 100%;
  max-width: 260px;
}
.context .options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 20px 0 10px;
}
.context .item {
  color: #000;
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #eee;
  border-radius: 10px;
  transition: 200ms all ease;
  border: none;
  outline: none;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.05),
    0 8px 12px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  text-decoration: none;
}
.context .item:hover {
  background: #215fff;
  box-shadow: 0 0 0 3px #215fff, 0 0 0 1px rgba(0, 0, 0, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.05), 0 8px 12px rgba(0, 0, 0, 0.05);
  color: #fff;
}
