/* RESET */

* {
  margin: 0;
  padding: 0;
  border: none;
  text-decoration: none;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  cursor: pointer;
}

img {
  width: 100%;
  height: auto;
}

/* VARIABLES */
html {
  --white: #ffffff;
  --background: #e5e5e5;
  --primary-green: #23be7d;
  --primary-blue: #08a7bd;
  --secondary-blue: #2d71b0;
  --tertiary-yellow: #de9507;
  --grey-black: #222427;
  --grey-medium: #54585d;
  --grey-light: #9da1a9;

  font-size: 62.5%; /*10px */

  scroll-behavior: smooth;
}

/* DEFAULT */

body {
  display: flex;
  height: 100vh;
}

body,
button,
input,
textarea {
  /* intervalo de tamanho */
  font-size: clamp(14px, 1.6rem, 2vw);
  font-family: "Barlow", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.content {
  width: 100%;
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  height: 1px;
  width: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* LOGIN */

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 50px #fff inset; /* aqui muda sua cor do fundo */
  -webkit-text-fill-color: var(--grey-black); /* Cor do texto */
  font-size: 1.8rem; /* Cor do texto */
}

input:-webkit-autofill::first-line {
  font-size: 1.8rem;
}

.warning_about_display {
  display: none;
  text-align: center;
  padding: 16px 0;
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
  font-weight: 400;
}
.warning_about_display .fix {
  height: 25px;
}
.warning_about_display.front_page .fix {
  height: 60px;
}

@media (max-width: 767px) {
  .warning_about_display {
    display: block;
  }
}

.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  background: #f6f6f8;
}

.login-card {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: var(--white);
}

@media (min-width: 1440px) {
  .login-card {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 100%;
    max-width: 130rem;
    max-height: 75rem;
    border-radius: 10px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  }

  .swiper-pagination {
    margin-top: 13rem;
  }
}

.login-form {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 41.15%;
}

.header-login {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;

  width: 41.6rem;
  padding-top: 4.8rem;
}

.header-login-box {
  display: flex;
  max-width: min(62.6rem);
}

.warning-box .alert {
  font-size: 1.6rem;
  padding: 0.8rem;
  border-radius: 0.4rem;
  margin: 1.5rem 0;
}
.warning-box a {
  color: var(--primary-green);
}

.warning-box .alert-warning {
  background: rgba(255, 0, 0, 0.1);
}

.warning-box .alert-success {
  background: rgba(0, 128, 0, 0.1);
}

.ssl-notice {
  display: flex;
  align-items: center;
}

.ssl-notice > img {
  width: 2.4rem;
  height: 2.4rem;
}

.ssl-notice > p {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  color: var(--grey-medium);
}

.header-login-logo {
  height: 5rem;
  width: 41.6rem;
  margin-top: 9rem;
  margin-bottom: 2rem;
}

.header-login-logo > a > img {
  width: 21rem;
}

.login {
  width: 41.6rem;
  height: 32.3rem;
}

.header-login-form > h1 {
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--grey-black);
}

.header-login-form > p {
  font-family: "Inter", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: (--grey-medium);
  opacity: 0.7;
  margin-bottom: 1.6rem;
}

.inputs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.8rem;
  width: 41.6rem;
  height: 14.8rem;
  margin-bottom: 3.8rem;
  margin-top: 1rem;
}

.input-container {
  height: 5.5rem;
  position: relative;
  width: 100%;
}

.input,
.code-input {
  border-radius: 0.4rem;
  border: 1px solid rgba(157, 161, 169, 0.43);
  box-sizing: border-box;
  color: var(--grey-medium);
  font-size: 1.8rem;
  height: 100%;
  outline: 0;
  padding: 0.4rem 2rem 0;
  width: 100%;
}

.cut {
  background-color: #fff;
  height: 2rem;
  left: 2rem;
  position: absolute;
  top: -2rem;
  transform: translateY(0);
  transition: transform 200ms;
  width: 5rem;
}

.input:focus {
  border: 1px solid var(--primary-green);
}

.input:focus ~ .cut,
.input:not(:placeholder-shown) ~ .cut {
  transform: translateY(8px);
}

.placeholder {
  color: rgba(34, 36, 39, 0.5);
  font-family: sans-serif;
  left: 2rem;
  pointer-events: none;
  position: absolute;
  transform-origin: 0 50%;
  transition: transform 200ms, color 200ms;
  top: 2rem;
}

.input:focus ~ .placeholder,
.input:not(:placeholder-shown) ~ .placeholder {
  transform: translateY(-30px) translateX(10px) scale(0.75);
}

.input:not(:placeholder-shown) ~ .placeholder {
  color: rgba(34, 36, 39, 0.5);
}

.input:focus ~ .placeholder {
  color: var(--primary-green);
}

.button-login-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.button-login-box > button,
.footer-forgot-password-box > button {
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  padding: 1.4rem 6.1rem;
  background: var(--primary-green);
  border-radius: 12.2rem;

  transition: filter 0.2s;
}

.button-login-box > button:hover {
  filter: brightness(0.9);
}

.forgot-password {
  display: flex;
  align-items: center;
}

.forgot-password-img > img {
  width: 2.4rem;
  height: 2.4rem;
  margin-right: 1.6rem;
}

.forgot-password-link > p {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  color: var(--grey-medium);
}

.forgot-password-link a {
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-green);
}

.form-hidden,
.box-hidden {
  display: none;
}

#box-hidden {
  display: none;
}

/* FORGOT PASSWORD BOX - SEND EMAIL */

.forgot-password-box {
  display: flex;
  flex-direction: column;
  width: 41.6rem;
  height: 25rem;
}

.header-forgot-password-box {
  display: flex;
  height: 6.5rem;
  width: 100%;
}

.back-arrow {
  cursor: pointer;
  width: 4.7rem;
  height: 3.1rem;
  margin-top: 0.5rem;
  margin-right: 1rem;

  transition: filter 0.2s;
}

.back-arrow:hover {
  filter: brightness(0.9);
}

.back-arrow a img {
  width: 3rem;
  height: 1.3rem;
}

.infos-box {
  width: 39.5rem;
  height: 6.5rem;
}

.infos-box > h1 {
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--grey-black);
}

.infos-box > p {
  font-family: "Inter", sans-serif;
  font-size: 1.4rem;
  color: var(--grey-medium);
  opacity: 0.7;
}

.send-email {
  align-self: flex-end;
}

.footer-forgot-password-box {
  align-self: flex-end;

  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.8rem;
  width: 41.6rem;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 6.1rem;
  height: 3rem;
  border-radius: 0.4rem;
  background: rgba(157, 161, 169, 0.1);
}

.steps > p {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(84, 88, 93, 0.5);
}

#step {
  color: var(--primary-green);
}

/* FORGOT PASSWORD BOX - VERIFICATION CODE */

.verification-code {
  flex-direction: row;
  gap: 0;
  align-items: center;
  justify-content: space-between;
  align-self: flex-end;
}

.code-input::-webkit-outer-spin-button,
.code-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.code-input:focus {
  border: 1px solid var(--primary-green);
}

/* FORGOT PASSWORD BOX - NEW PASSWORD */
.new-password {
  margin-top: 2rem;
  align-self: flex-end;
}

.new-password > .input-container > .cut {
  width: 9.5rem;
}

.footer-login {
  display: flex;
  align-items: center;
  width: 41.6rem;
  height: 5.5rem;
  margin-top: 10rem;
}

.footer-login > p {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  color: var(--grey-medium);
  opacity: 0.5;
}

/* LOGIN OVERVIEW */

.login-overview-box {
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 58.85%;
}

.login-overview-imgs {
  display: flex;
  justify-content: flex-start;
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.login-overview-imgs img {
  width: 100%;
  height: 100%;
  max-width: 45.8rem;
}

.login-overview-first-img {
  max-width: 59.4rem !important;
}

.login-overview-second-img {
  max-width: 44.8rem !important;
}

.login-overview {
  width: 49%;
  height: 100%;
}

.login-overview-infos {
  width: 30rem;
  height: 50rem;
  overflow: hidden;
  margin-top: 2rem;
  margin-left: 5rem;
  z-index: 2;
}

.login-overview-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
}

.login-overview-info > h1 {
  font-size: 4rem;
  color: var(--primary-green);
  margin-top: 5rem;
}

.login-overview-info > p {
  font-size: 2rem;
  color: var(--grey-medium);
  margin-top: 2rem;
}

.login-overview-info > p span {
  font-weight: 500;
  color: var(--grey-black);
}

.login-overview-info > a {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 12.2rem;
  background: var(--primary-green);
  margin-top: 3rem;
}

.swiper-pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  margin-left: 12rem;
  bottom: unset !important;
  left: unset !important;
  width: unset !important;
}

.swiper-pagination > .swiper-pagination-bullet {
  margin: 1rem !important;
  cursor: pointer;
  z-index: 100;
}

.swiper-pagination > .swiper-pagination-bullet-active {
  background: var(--primary-green);
}

/* LOGIN OVERVIEW - MEDIA QUERIES */

@media (max-width: 1024px) {
  .login-form,
  .login-overview-box {
    width: 50%;
  }

  .login-overview-box,
  .login-overview-imgs {
    position: static;
  }

  .login-overview-box {
    flex-direction: column;
    align-items: center;
  }

  .login-overview-imgs .swiper-slide {
    display: flex;
    justify-content: center;
  }

  .login-overview-imgs img {
    max-width: 40.8rem;
  }

  .login-overview-first-img {
    max-width: 45.8rem !important;
  }

  .login-overview {
    width: 100%;
    padding: 0 6rem;
  }

  .login-overview-infos {
    margin: 0;
    width: unset;
    height: unset;
  }

  .swiper-pagination {
    margin-top: 3rem;
  }

  .login-overview-info > h1,
  .login-overview-info > p {
    text-align: center;
  }

  .login-overview-info > h1 {
    font-size: 3rem;
  }

  .login-overview-info > p {
    margin: 0;
  }

  .login-overview-info > a {
    margin-top: 3rem;
  }
}

@media (max-width: 860px) {

  .header-login {
    padding-top:10px;
  }

  .header-login-box{
    display:none;
  }

  .footer-login{
    display:none;
  }

  .login {
    padding: 0 15px;
  }

  .inputs{
    width:100%;
  }

  .login-form {
    width: 100%;
  }

  .login-overview-box {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-login {
    align-items: center;
  }

  .header-login-logo {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
  }

  .header-login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-login {
    justify-content: center;
    margin-top: 0;
  }
}

@media (max-width: 375px) {
  .header-login {
    width: 100%;
  }

  .header-login-logo {
    width: 100%;
  }

  .login,
  .forgot-password-box,
  .inputs {
    width: 100%;
  }

  .login,
  .forgot-password-box {
    padding: 0 2rem;
  }

  .footer-login {
    width: 100%;
  }
}

.span-pointer {
  cursor: pointer;
}