@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,400,700,&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

@font-face {
  font-family: "Cocomat Pro";
  src: url("../fonts/CocomatPro-Light.woff2") format("woff2"),
    url("../fonts/CocomatPro-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans", sans-serif;
  ;
  src: url("../fonts/CocomatPro-Medium.woff2") format("woff2"),
    url("../fonts/CocomatPro-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cocomat Pro";
  src: url("../fonts/CocomatPro-Black.woff2") format("woff2"),
    url("../fonts/CocomatPro-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --wa-green: #25D366;
  --wa-dark: #075E54;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(0, 0, 0, .22);
}


form {

  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 250px;
  position: relative;
  max-width: 400px;
  width: min(75vw, 400px);

  @media screen and (max-width: 768px) {
    min-width: 70vw;

  }
}

.description-login {
  font-size: 22px;
  font-weight: bold;
  color: #000;
  margin: 18px;
  font-family: "DM Sans", sans-serif;
  justify-content: center;
   @media (max-width: 768px) {
      font-size: 18px;
    }
}

.input-text {
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #000;
  border-radius: 30px;
  font-size: 16px;
  outline: none;
  margin-top: 9px;
}

.input-text::placeholder {
  color: #999;
}


.input-text:focus,
.input-text:hover {
  border: 2px solid #3b82f6;
  box-shadow: 0 2px 8px rgba(60, 130, 246, .08);
}

.input-submit {
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  background-color: #2b5776;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background-color, 2s;
  width: 35%;
  align-self: center;
  border-radius: 30px;
  font-weight: bold;
  margin: 10px auto 20px auto;


  @media screen and (max-width: 768px) {
    width: 50%;
  }

}

.input-submit:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  cursor: pointer;
}

.forgot-password-link {
  color: #1a3248;
  text-decoration: none;
  padding-top: 10px;
}

.forgot-password-link:hover {
  text-decoration: underline;
}

.span-sucess {
  color: #008000;
  background-color: #e6ffe6;
  border: 1px solid #008000;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
}

.span-error {
  color: #ff0000;
  background-color: #ffe6e6;
  border: 1px solid #ff0000;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  font-size: 14px;
}

.cancel-link {
  color: #2a4f72;
  text-decoration: none;
  margin-top: 6px;
}

.cancel-link:hover {
  text-decoration: underline;
}

.password-container {
  position: relative;

  margin-right: 12px;
}


.password-container input {
  width: 100%;
  padding-right: 1px;
}

.toggle-password {
  position: absolute;
  right: -1px;
  top: 55%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
}



.wa-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  background-color: #D0E1FC;
  border: 1px solid #D0E1FC;
}

.widoing-chat {
  width: 70px;
  height: auto;
}

.wa-launcher:hover {
  border: 1px solid rgba(9, 0, 133, 0.45);
  box-shadow: 0 0 0 3px rgba(9, 0, 133, 0.45);
}


/* ===== Overlay + modal ===== */
.wa-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .28);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.wa-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.wa-modal {
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: 360px;
  height: 520px;
  /* quadrado retangular estilo chat */
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 140px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 10000;
  transform: translateY(16px) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.wa-modal.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Cabeçalho com “X” */
.wa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #0b556a;
  color: #fff;
}

.wa-header .title {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
}

.wa-header .status {
  font-size: .8rem;
  opacity: .85;
}

.wa-close {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.wa-close:hover {
  background: rgba(255, 255, 255, .12);
}

.wa-close:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .45);
}

/* Iframe ocupa o corpo */
.wa-body {
  position: relative;
}

.wa-body iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f5f5f5;
}

/* ===== Responsivo ===== */
@media (max-width: 480px) {
  .wa-modal {
    right: 12px;
    left: 12px;
    bottom: 90px;
    width: auto;
    height: 70vh;
    border-radius: 16px;
  }

  .wa-launcher {
    right: 12px;
    bottom: 12px;
    width: 56px;
    height: 56px;
  }
}

body {

  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-image: url(../img/widoing/bg-started2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-color: #dae7f3;

}

form {

  border: 4px solid #2b5776;
  border-radius: 29px;
  background: #fff;
  padding: 5px 35px 23px 35px;
  display: flex;
  flex-direction: column;
  align-items: center;

  @media (max-width: 768px) {
    padding: 5px 15px 9px 15px;
  }
}

.input-container {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 13px;
  color: #183353;
  font-family: "questrial", sans-serif;
  font-weight: 300;
}

/* Footer styles */
.info-footer-type {
  width: 100%;
  text-align: center;
  margin-top: 50px;
  font-size: 11px;
  color: #183353;
  font-family: "Questrial", sans-serif;
}


.no-padding {
  padding: 0;
  margin-top: 5px;
}

.info-footer-type a {
  color: #38b6ff;
  text-decoration: none;
  font-weight: bold;
}

.row {
  display: grid;
  width: 80%;
  @media (max-width: 768px) {
    width: 95%;
  }

}

input#password {
  margin-bottom: 16px;
}


/* Header styles */
section.header {
  width: 100%;
  display: flex;
}

.logo {
  width: 100%;
  text-align: center;
  margin-top: 25px;
  margin-bottom: 10px;
}

.back {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 15px;

}

.back i {
  font-size: 1.4em;
  cursor: pointer;
  margin-top: 15px;
  color: #000b3d;
}

.back img {
  width: 200px;
}


.icon-started {
  position: absolute;
  bottom: -15px;
  max-width: 85px;
  height: auto;
  right: 0px;

  @media (max-width: 768px) {
    max-width: 70px;
    bottom: -15px;
    right: -12px;
  }
}

.icon-started img {
  width: 100%;
  height: auto;
}



@media (orientation: landscape) and (max-height: 480px) {
  body {
    align-items: flex-start;
    padding: 28px 0;
    background-size: cover;
    background-position: center top;
  }

  form {
    max-width: 440px;
    width: min(80vw, 440px);
    min-width: 65vw;
    padding: 20px 28px 24px 28px;
  }

  .description-login {
    margin: 2px 0 18px;
    font-size: 21px;
    text-align: center;
    width: 100%;
   
  }

  .row {
    width: 100%;
  }

  .input-text {
    width: 100%;
  }

  .input-submit {
    width: 60%;
  }

  .icon-started {
    bottom: 6px;
    right: 16px;
    max-width: 64px;
  }

  .wa-launcher {
    bottom: 12px;
    right: 12px;
    width: 56px;
    height: 56px;
  }
}
.reset{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.reset img{
  max-width: 137px;
  margin:15px 0;
}

.reset p{
  font-size: 13px;
}
.reset h2{
  font-size: 18px;
}
.reset .input-text {
  width: 90%;
}
.reset .input-submit {
  width: 60%;
}

