/* ======= RESET ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Arial, sans-serif;
}

/* ======= BODY ======= */
body {
  background-color: #f4f5f2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* ======= CONTAINER ======= */
.container {
  max-width: 360px;
  width: 90%;
  background: linear-gradient(0deg, #ffffff 0%, #f4f5f2 100%);
  border-radius: 30px;
  padding: 30px 35px;
  border: 5px solid #ffffff;
  box-shadow: rgba(52, 70, 86, 0.3) 0px 25px 30px -15px;
  text-align: center;
}

/* ======= TITULOS ======= */
.titulo {
  font-size: 28px;
  font-weight: 700;
  color: #344656;
}

.subtitulo {
  font-size: 13px;
  color: #444;
  margin-top: 5px;
  margin-bottom: 25px;
}

/* ======= FORM ======= */
.form .label {
  text-align: left;
  display: block;
  font-size: 12px;
  color: #777;
  margin-bottom: 6px;
  margin-top: 10px;
}

.input {
  width: 100%;
  background: white;
  border: none;
  padding: 14px 18px;
  border-radius: 20px;
  margin-top: 5px;
  margin-bottom: 15px;
  font-size: 15px;
  color: #000;
  box-shadow: #dce4ea 0px 8px 10px -6px;
  border-inline: 2px solid transparent;
  transition: 0.2s ease-in-out;
}

.input:focus {
  outline: none;
  border-inline: 2px solid #344656;
}

/* ======= SENHA CONTAINER ======= */
.senhaContainer {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 20px;
  box-shadow: #dce4ea 0px 8px 10px -6px;
  padding-right: 10px;
}

.senhaContainer .input {
  margin: 0;
  border: none;
  box-shadow: none;
  border-radius: 20px 0 0 20px;
  padding: 14px 18px;
}

.toggleSenha {
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
  color: #555;
  transition: transform 0.2s;
}

.toggleSenha:hover {
  transform: scale(1.1);
}

/* ======= LINKS ======= */
.esqueciSenha {
  display: block;
  text-align: left;
  font-size: 11px;
  color: #344656;
  text-decoration: none;
  margin-top: 10px;
  transition: 0.2s;
}

.esqueciSenha:hover {
  text-decoration: underline;
}

/* ======= BOTÃO LOGIN ======= */
.botao {
  display: block;
  width: 100%;
  font-weight: bold;
  background: linear-gradient(45deg, #344656 0%, #1c2630 100%);
  color: white;
  padding: 14px 0;
  margin: 25px 0 10px;
  border-radius: 20px;
  border: none;
  box-shadow: rgba(52, 70, 86, 0.4) 0px 15px 10px -10px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

.botao:hover {
  transform: scale(1.03);
  box-shadow: rgba(52, 70, 86, 0.5) 0px 20px 12px -15px;
}

.botao:active {
  transform: scale(0.95);
}

/* ======= LINK CRIAR CONTA ======= */
.criarConta {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  color: #344656;
  text-decoration: none;
  transition: 0.2s;
}

.criarConta:hover {
  text-decoration: underline;
}

/* ======= MODAIS ======= */
.modalFundo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modalFundo.active {
  opacity: 1;
  pointer-events: all;
}

.modalContainer {
  width: 80%;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s;
}

.modalFundo.active .modalContainer {
  transform: scale(1);
}

.modalContainer p {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.modalContainer.sucesso { background-color: #4BB543; }
.modalContainer.erro { background-color: #FF4C4C; }
