@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&display=swap');
:root {
  --bg: #2f2f2f;
  --card: #3a3a3a;
  --input-bg: #f7f2e9;
  --primary: #4f4fa6;
  --primary-hover: #44448f;
  --text: #ffffff;
  --muted: #cfcfcf;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family:'DM Sans', sans-serif;
  background: rgb(51,51,51);
  color: var(--text);
  height: 100vh;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.logo {
  height: 71px;

}
.home-link {
  display: flex;
  align-items: center;
  gap: 8px; /* espaço entre imagem e texto */
  text-decoration: none;
  color: inherit;
}

.home-icon {
  width: 20px;   /* tamanho da imagem */
  height: 20px;
  object-fit: contain;
}
.home-link {

  color: #e0e0e0;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  gap: 2px;
  align-items: center;
margin-top: -40px;
  margin-right: 20px;
}
.error-message {
  color: #fff;
  font-size: 14px;
  text-align: center;
  margin-top: 5px;
  padding: 3px;
  background: rgb(255, 0, 0);
  border-radius: 14px;
  animation: shake 0.5s ease-in-out;
  width: 134%;
  margin-bottom: 5px;

}

.home-icon {
width: 22px;
  height: 22px;
}


.main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  width: 380px;
  padding: 20px 26px 26px 26px;
  border-radius: 16px;
  background: transparent;
  text-align: center;
  margin-left: -78px;
  margin-top: 19px;

}

.form-group {
  margin-bottom: 10px;
 position: relative;
  display: flex;
  width: 136%;

}

.input,
.select {
width: 127%;
  padding: 15px 20px;
  border: 1.5px solid #e0e4ee;
  border-radius: 25px;
  font-size: 15px;
  color: #000;
  background: #fdf8ea;
  transition: all 0.3s ease;
  font-family: inherit;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23333'><path d='M2 5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.btn {
 width: 136%;
  padding: 15px 20px;
  background: rgb(39, 121, 116);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 3px;
  letter-spacing: 0.5px;
  font-family: 'DM Sans', sans-serif;
}

.btn:hover { background: #277974; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.recaptcha {
  display: flex;
  justify-content: center;
 margin: 13px 25px 13px 138px;
}

.footer {
position: fixed;
  bottom: 15px;
  right: 20px;
  font-size: 13px;
  color: #e0e0e0;
  font-family: "Segoe UI", Arial, sans-serif;
}
/* Torna o contêiner a base para o posicionamento do botão */
.senha-wrap {
  position: relative;
  width: 100%; /* Garante que o contêiner ocupe todo o espaço do form-group */
}

/* Ajusta o campo de senha para não sobrepor o texto ao ícone */
#senha {
  width: 100%;
  box-sizing: border-box; /* Garante que o padding não quebre a largura */
  padding-right: 45px; /* Cria um espaço em branco na direita para o ícone */
}

/* Posiciona o botão do olho flutuando à direita dentro do contêiner */
.toggle-senha {
  position: absolute;
  right: 10px; /* Distância do canto direito */
  top: 50%; /* Alinha verticalmente ao meio */
  transform: translateY(-50%); /* Centraliza perfeitamente no eixo Y */
  background: transparent; /* Remove o fundo padrão do botão */
  border: none; /* Remove a borda padrão do botão */
  cursor: pointer; /* Muda a setinha do mouse para a mãozinha */
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}


@media screen and (max-width: 1000px) and (orientation: portrait) {
  .topbar {
  padding: 12px 6px;
}
.page {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  height: auto;
  
}
.logo {
  height: 55px;
}
.home-link {
  font-size: 14px;
  margin-top: -17px;
  margin-right: 14px;
}
.footer{
  font-family: "Segoe UI", Arial, sans-serif;
  text-align: center;
  font-size: 13px;
  padding-bottom: 10px;
  position: inherit;

}
.input, .select {
width: 81%;
    margin-left: 22px;
  }

#senha {
  width: 81%;
    box-sizing: border-box;
    margin-right: 77px;
}
.toggle-senha {
  position: absolute;
  right: 75px;
}
.btn {
width: 111%;
    margin-left: 21px;
}
.recaptcha {
  margin: 15px 42px 13px 138px;
}
}
