@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    background-color: #ffffff;
    margin: 0 auto;
    height: 100vh;
    display: flex; /* para alinhar horizontalmente as seções */
}

/* Gradiente à esquerda */
.gradiente {
  width: 70%;               /* ocupa 70% da largura */
  height: 100vh;            /* altura total da tela */
  background: linear-gradient(to right, #1E4145, #2CA677, #8ED49A);
  /* REMOVI position: fixed para não sobrepor */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 20px;
}

.login-container {
  background: #ffffff;
  padding: 2rem 2.5rem;
  margin: auto 0 auto 0; /* centralizar verticalmente */
}

.form-login h2 {
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
  color: #2CA677;
}

.form-login p {
  font-weight: 400;
  font-size: 0.9rem;
  color: #2CA677;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  display: block;
  color: #2CA677;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #2CA677;
  background-color: #ffffff;
  color: #000000;
  font-size: 1rem;
  margin-bottom: 1rem;
}

input::placeholder {
  color: #495152;
}

/* Wrapper para o input da senha + botão olho */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  flex: 1;
  margin-bottom: 0;
}

.toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #2CA677;
  font-size: 1.2rem;
  cursor: pointer;
  user-select: none;
  padding: 0;
  line-height: 1;
}

/* Link "esqueci minha senha" */
.forgot-password {
  display: inline-block;
  margin: 0.7rem 0 1.7rem;
  font-size: 0.85rem;
  color: #2CA677;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s;
}

.forgot-password:hover {
  color: #1d694d;
}

/* Botão Entrar */
.btn-login {
  width: 100%;
  padding: 14px 0;
  background-color: #2CA677;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-login:hover {
  background-color: #1d694d;
}
