/* ETAPAS CABECALHO */

.autenticacao__etapa {
  font-size: 1.1em;
  font-weight: 500;
  margin-bottom: 20px;
  z-index: 11;
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
}

.autenticacao__etapa li:first-child {
  margin-left: 50px;
}

.autenticacao__etapa li:first-child::before {
  width: 70px;
}

.autenticacao__etapa li {
  width: 35px;
  height: 35px;
  position: relative;
  margin-left: 150px;
}

.autenticacao__etapa li span {
  position: absolute;
  left: 50%;
  top: 100%;
  margin-top: 5px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.autenticacao__etapa li::before,
.autenticacao__etapa li::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
}

.autenticacao__etapa li::before {
  height: 3px;
  width: 190px;
  background: #cbcbcb;
  transform: translateY(-50%);
  right: 14px;
}

.autenticacao__etapa li::after {
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #cbcbcb;
  border-radius: 50%;
  z-index: 1;
}

.autenticacao__etapa__0 li:first-child::after,
.autenticacao__etapa__1 li:first-child::after,
.autenticacao__etapa__1 li:nth-child(2)::after,
.autenticacao__etapa__2 li::after {
  background: url(../images/checked_icon.svg) no-repeat;
  background-position: 4px 6px;
}

.autenticacao__etapa__0 li:first-child,
.autenticacao__etapa__1 li:nth-child(2),
.autenticacao__etapa__2 li:not(:last-child),
.autenticacao__etapa__2 li:last-child {
  color: #1574bf;
}

.autenticacao__etapa__0 li:first-child::after,
.autenticacao__etapa__0 li:first-child::before {
  background-color: #1574bf;
}

.autenticacao__etapa__1 li:nth-child(2)::after,
.autenticacao__etapa__2 li:last-child::after {
  background-color: #1574bf;
}

.autenticacao__etapa__1 li:first-child,
.autenticacao__etapa__2 li:not(:last-child) {
  color: #43db99;
}

.autenticacao__etapa__1 li:nth-child(2)::before,
.autenticacao__etapa__1 li:first-child::after,
.autenticacao__etapa__1 li:first-child::before,
.autenticacao__etapa__2 li:not(:last-child)::before,
.autenticacao__etapa__2 li:not(:last-child)::after,
.autenticacao__etapa__2 li:last-child::before {
  background-color: #43db99;
}

.autenticacao__etapa__0 li:first-child::after,
.autenticacao__etapa__1 li:first-child::after,
.autenticacao__etapa__1 li:nth-child(2)::after,
.autenticacao__etapa__2 li::after {
  width: 25px;
  height: 25px;
}

/* TITULO */

.autenticacao h1 {
  font-weight: bold;
  font-size: 3.2em;
  margin-bottom: 20px !important;
}

.autenticacao h1 b,
.autenticacao__descricao strong,
.autenticacao__descricao b {
  color: #1574bf;
}

.autenticacao h1 b {
  font-weight: 600;
}

.autenticacao__descricao strong,
.autenticacao__descricao b {
  font-weight: 300;
}

.autenticacao__descricao {
  font-size: 1.5em;
  font-weight: 300;
  line-height: 1.3;
}

.autenticacao__descricao strong {
  font-weight: 300;
}

/* FORMULARIOS */

.autenticacao__hidden-field {
  display: none;
}

.autenticacao__form {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  padding: 50px;
  border-radius: 30px;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.autenticacao__validando.autenticacao__form::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.4);
  left: 0;
  top: 0;
}

.autenticacao__form label {
  width: 100%;
  margin: 0;
  position: relative;
}

.autenticacao__form label button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  border: none;
  padding: 0;
  background: transparent;
  margin-top: -7px;
}

.autenticacao__form label button:hover {
  opacity: 0.8;
}

.autenticacao__form input[type="text"],
.autenticacao__form input[type="password"] {
  font-size: 1.4em;
  font-weight: 300;
  border: none;
  border-bottom: solid 1px #9facc7;
  outline: none;
  padding: 20px;
  width: 100%;
  margin-bottom: 15px;
}

.autenticacao__continue-icon path {
  fill: #a6a6a6;
}

.autenticacao__form--valid .autenticacao__continue-icon path {
  fill: #fff;
}

.autenticacao__form--valid button[type="submit"] {
  background: #0658a3;
  color: #fff;
}

.autenticacao__validated-icon {
  display: none;
}

.autenticacao__form input[type="password"] {
  padding: 15px 0;
  padding-left: 15px;
}

.autenticacao__form input[type="text"]:first-child {
  margin-top: -10px;
}

.autenticacao__form input[type="text"]::placeholder,
.autenticacao__form input[type="password"]::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #9facc7;
  opacity: 1; /* Firefox */
}

.autenticacao__form input[type="text"]:-ms-input-placeholder,
.autenticacao__form input[type="password"]:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #9facc7;
}

.autenticacao__form input[type="text"]::-ms-input-placeholder,
.autenticacao__form input[type="password"]::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #9facc7;
}

.autenticacao__form p {
  font-size: 1.2em;
  line-height: 1.4;
}

.autenticacao__form p a,
.autenticacao__form p a:active,
.autenticacao__form p a:focus,
.autenticacao__form p a:visited,
.autenticacao__form p a:hover {
  font-weight: bold;
  color: #1574bf;
  text-decoration: underline;
}

.autenticacao__email {
  text-align: left;
  display: flex;
  column-gap: 15px;
  align-items: center;
  font-size: 1.2em;
  padding-block: 30px;
  border-bottom: solid 1px #9facc7;
  cursor: pointer;
}

.autenticacao__email:first-child {
  margin-top: -25px;
}

.autenticacao__email input {
  margin-top: 0;
  width: 20px;
  height: 20px;
}

.autenticacao__codigo {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-bottom: 30px;
}

.autenticacao__codigo input {
  border-radius: 50%;
  text-align: center;
  font-size: 3em;
  border: solid 3px #1574bf;
  width: 60px;
  padding: 3px 0;
  font-weight: 500;
  outline: none;
}

.autenticacao__next-step .autenticacao__codigo input {
  border: solid 3px #15bf96;
  color: #15bf96;
}

.autenticacao__form--valid.autenticacao__next-step button[type="submit"] {
  background: #15bf96;
}

.autenticacao__form--valid.autenticacao__next-step
  .autenticacao__botoes
  button
  img {
  display: block;
  z-index: 2;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.autenticacao__pwd {
  margin-top: 20px;
  margin-bottom: 40px;
}

.autenticacao__pwd ul {
  margin-top: 20px;
}

.autenticacao__pwd li {
  position: relative;
  padding-left: 25px;
  color: #aaaaaa;
  font-size: 1.1em;
  margin-top: 15px;
}

.autenticacao__pwd li::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.autenticacao__pwd:not(.enabled) li::before {
  background: #aaaaaa;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.autenticacao__pwd .valid {
  color: #15bf96;
}

.autenticacao__pwd .invalid {
  color: #f56363;
}

.autenticacao__pwd .valid::before {
  background: url(../images/check_green.svg) no-repeat center center;
  width: 20px;
  height: 20px;
}

.autenticacao__pwd .invalid::before {
  background: url(../images/invalid_icon.svg) no-repeat center center;
  width: 20px;
  height: 20px;
}

/* BOTOES */

.autenticacao__botoes {
  column-gap: 15px;
  margin-top: 20px;
}

.autenticacao__botoes:not(:last-child) {
  margin-bottom: 30px;
}

.autenticacao__botoes button {
  font-weight: bold;
  padding: 18px;
  border-radius: 50px;
  width: 100%;
  border: none;
  outline: none;
  font-size: 1.3em;
  position: relative;
}

.autenticacao__botoes button svg {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
}

.autenticacao__botoes button img {
  display: none;
}

.autenticacao__botoes button:disabled {
  background: #efefef;
  color: #a6a6a6;
}

.autenticacao__botoes a,
.autenticacao__botoes a:active,
.autenticacao__botoes a:focus,
.autenticacao__botoes a:visited,
.autenticacao__botoes a:hover {
  box-shadow: var(--shadow-sm);
  border-radius: 15px;
  display: block;
  padding: 18px 22px;
}

.autenticacao__botoes a:hover {
  background: rgba(21, 116, 191, 0.08);
}

/* FINALIZACAO */

.autenticacao__produto {
  margin-bottom: 20px;
  width: calc(50% - 15px);
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.09);
  padding: 15px;
  border-radius: 20px;
  font-size: 1.6em;
  font-weight: 300;
  gap: 10px;
}

.autenticacao__produto,
.autenticacao__produto:active,
.autenticacao__produto:focus,
.autenticacao__produto:visited,
.autenticacao__produto:hover {
  color: #333f49;
  text-decoration: none;
}

.autenticacao__produto img:first-child {
  object-fit: cover;
  width: 100px;
  height: 90px;
  border-radius: 15px;
  overflow: hidden;
}

.autenticacao__produto img:last-child {
  width: 31px;
  height: 30px;
  padding: 5px;
  border-radius: 50%;
  border: solid 2px #15bf96;
}

.autenticacao__servicos {
  background: #f5faff;
}

.autenticacao__servicos h2 {
  font-size: 1.4em;
}

.autenticacao__servicos__crs {
  margin: 30px 0 50px 0 !important;
  padding: 0 60px;
}

.autenticacao__servicos .slick-dots {
  left: 0;
  bottom: -35px;
}

.autenticacao__servicos .slick-dots li {
  width: 12px;
}

.autenticacao__servicos .slick-dots li button {
  height: 12px;
  width: 12px;
  margin: 0;
}

.autenticacao__servicos .slick-dots li button::before {
  content: "";
  background: #fff;
  border: solid 2px #1574bf;
  border-radius: 50%;
  height: 12px;
  width: 12px;
  opacity: 1;
}

.autenticacao__servicos .slick-dots li.slick-active button::before {
  background: #1574bf;
}

.autenticacao__servicos__crs .slick-slide {
  margin: 0 10px;
}

.autenticacao__servicos__vincular {
  padding: 15px 20px;
  border-radius: 15px;
  background: #fff;
  gap: 20px;
}

.autenticacao__servicos__vincular div {
  text-align: left;
}

.autenticacao__servicos__vincular img {
  width: 120px;
}

.autenticacao__servicos__vincular p {
  font-size: 1.1em;
  line-height: 1.4;
}

.autenticacao__servicos__vincular a,
.autenticacao__servicos__vincular a:active,
.autenticacao__servicos__vincular a:focus,
.autenticacao__servicos__vincular a:visited,
.autenticacao__servicos__vincular a:hover {
  font-weight: bold;
  font-size: 1.1em;
  color: #1574bf;
  margin-top: 20px;
  display: block;
}

.autenticacao__servicos__item,
.autenticacao__servicos__item:active,
.autenticacao__servicos__item:focus,
.autenticacao__servicos__item:visited,
.autenticacao__servicos__item:hover {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: 145px;
  color: #fff;
  font-weight: bold;
  font-size: 1.6em;
  line-height: 1.3;
}

.autenticacao__servicos__item img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.autenticacao__servicos__item::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    90deg,
    #14538c 0%,
    rgba(0, 0, 0, 0) 97.82992451911366%
  );
  z-index: 1;
}

.autenticacao__servicos__item span {
  position: absolute;
  z-index: 2;
  max-width: 120px;
  text-align: left;
  left: 15px;
  bottom: 15px;
  height: 55px;
  align-items: center;
  display: flex;
}

.recovery-password {
  display: block;
}

@media (max-width: 768px) {
  .autenticacao h1 {
    font-size: 3em;
  }

  .autenticacao__codigo {
    gap: 15px;
  }

  .autenticacao__produto {
    width: 100%;
  }

  .autenticacao__servicos .slick-slide {
    width: 80vw;
  }

  .autenticacao__servicos__crs {
    padding: 0;
  }

  .autenticacao__etapa {
    position: relative;
    transform: none;
    top: 0;
    left: 0;
    z-index: 0;
    margin-top: 30px;
    margin-bottom: 0;
  }

  .autenticacao__etapa li:first-child::before {
    width: 50px;
  }

  .autenticacao__etapa li:first-child {
    margin-left: 20px;
  }

  .autenticacao__etapa li {
    margin-left: 95px;
  }

  .autenticacao__etapa li::before {
    width: 130px;
  }

  .autenticacao__form {
    padding: 30px;
  }
}
