:root {
  color: #10283d;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(520px, 1.16fr) minmax(430px, 0.84fr);
  background: #ffffff;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.auth-visual {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  background-color: #071b2b;
  background-image: url("/login-oliper-lucas-luiz.webp");
  background-size: cover;
  background-position: left center;
  isolation: isolate;
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 14, 24, 0.03) 52%, rgba(2, 14, 24, 0.35) 100%),
    linear-gradient(0deg, rgba(2, 14, 24, 0.16), transparent 36%);
}

.auth-visual::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.auth-forma {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(38px, 6vw, 82px);
  background:
    radial-gradient(circle at 94% 4%, rgba(91, 228, 35, 0.07), transparent 22%),
    linear-gradient(#fff, #fbfdfe);
}

.auth-box {
  width: 100%;
  max-width: 420px;
}

.auth-marca {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 52px;
}

.auth-marca i {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #071b2b;
  background: #78e51e;
  box-shadow: 0 10px 26px rgba(70, 177, 27, 0.2);
  font-size: 20px;
  font-style: normal;
  font-weight: 950;
}

.auth-marca span {
  display: flex;
  flex-direction: column;
}

.auth-marca b {
  color: #071b2b;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.05em;
}

.auth-marca small {
  margin-top: 5px;
  color: #668091;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.34em;
}

.mini {
  margin: 0;
  color: #33758f;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.auth-box h1 {
  margin: 9px 0 7px;
  color: #071b2b;
  font-size: clamp(34px, 3vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.sub {
  margin: 0 0 34px;
  color: #6a7f90;
  font-size: 15px;
}

.auth-box label {
  display: block;
  margin: 18px 0 8px;
  color: #19364b;
  font-size: 12px;
  font-weight: 800;
}

.auth-box input {
  width: 100%;
  height: 54px;
  border: 1px solid #cad8e1;
  border-radius: 13px;
  outline: 0;
  padding: 0 15px;
  color: #10283d;
  background: #fff;
  font-size: 15px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-box input::placeholder {
  color: #8da0ad;
}

.auth-box input:focus {
  border-color: #1687c5;
  box-shadow: 0 0 0 4px rgba(22, 135, 197, 0.11);
}

.senha-wrap {
  position: relative;
}

.senha-wrap input {
  padding-right: 78px;
}

.ver {
  position: absolute;
  right: 9px;
  bottom: 9px;
  height: 36px;
  border: 0;
  border-radius: 9px;
  padding: 0 10px;
  color: #236784;
  background: #eef6f9;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.auth-box button[type="submit"] {
  width: 100%;
  height: 54px;
  margin-top: 25px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #0b779f, #08496f 72%, #071b2b);
  box-shadow: 0 16px 30px rgba(8, 69, 104, 0.2);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.auth-box button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(8, 69, 104, 0.25);
}

.auth-box button:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.mensagem {
  margin-top: 14px;
  padding: 12px 13px;
  border: 1px solid #f1cccc;
  border-radius: 11px;
  color: #a92e2e;
  background: #fff3f3;
  font-size: 12px;
}

.escondido {
  display: none !important;
}

.auth-seguranca {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  color: #718797;
  font-size: 11px;
}

.auth-seguranca span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #63d923;
  box-shadow: 0 0 0 4px rgba(99, 217, 35, 0.11);
}

.legal {
  margin: 29px 0 0;
  text-align: center;
  color: #9aabb6;
  font-size: 9px;
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  body {
    display: block;
    background: #fff;
  }

  .auth-visual {
    min-height: 0;
    height: clamp(320px, 42vh, 430px);
    background-position: left center;
  }

  .auth-visual::after {
    inset: auto 0 0;
    width: auto;
    height: 1px;
  }

  .auth-forma {
    min-height: calc(100dvh - clamp(320px, 42vh, 430px));
    align-items: flex-start;
    padding: 34px 25px max(46px, env(safe-area-inset-bottom));
  }

  .auth-box {
    max-width: 520px;
  }

  .auth-marca {
    margin-bottom: 31px;
  }
}

@media (max-width: 480px) {
  .auth-visual {
    height: 225px;
  }

  .auth-forma {
    min-height: calc(100dvh - 225px);
    padding: 29px 20px max(38px, env(safe-area-inset-bottom));
  }

  .auth-marca {
    margin-bottom: 27px;
  }

  .auth-marca i {
    width: 40px;
    height: 40px;
  }

  .auth-box h1 {
    font-size: 34px;
  }

  .sub {
    margin-bottom: 27px;
  }
}

@media (max-height: 720px) and (min-width: 901px) {
  .auth-marca {
    margin-bottom: 30px;
  }

  .sub {
    margin-bottom: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
