/* Fonte padrão */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* ALTERAÇÃO: O seletor foi atualizado de ".container" para ".login-wrapper" */
.login-wrapper {
  display: flex;
  height: 100vh;
}

/* --- Lado esquerdo --- */
.left {
  flex: 1;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../assets/fundo.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left .logo img {
  max-width: 250px;
}

/* --- Lado direito --- */
.right {
  flex: 1;
  background-color: #7C57F7;
  color: white;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Elemento decorativo no canto superior direito */
.decorativo img {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 120px;
  height: 120px;
  border: 2px solid white;
  border-radius: 50%;
  opacity: 0.7;
}

/* --- Formulário --- */
.form-container {
  width: 80%;
  max-width: 350px;
  text-align: left;
}

.form-container h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.form-container label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-container input[type="email"],
.form-container input[type="password"],
.form-container input[type="text"] {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  margin-bottom: 15px;
  outline: none;
  box-sizing: border-box;
}

/* Checkbox */
.checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.checkbox input {
  margin-right: 8px;
}

/* Botão */
.form-container button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px; /* <-- ADICIONE ESTA LINHA DE VOLTA */
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}

button:hover {
  background: #222;
}

/* --- Responsividade --- */
/* ALTERAÇÃO: Seletor atualizado para ".login-wrapper" aqui também */
@media (max-width: 900px) {
  .login-wrapper {
    flex-direction: column;
  }
  .left {
    display: none;
  }
  .right {
    flex: none;
    width: 100%;
    height: 100vh;
  }
}

/* Elemento decorativo lado esquerdo */
.corner-image img {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 10;
  width: 100px;
  height: auto; 
}

/* ================================================================ */
/* ESTILOS PARA O ÍCONE DE VISUALIZAÇÃO DE SENHA (mantido como estava) */
/* ================================================================ */

.password-container {
  position: relative;
}

.password-container input[type="password"],
.password-container input[type="text"] {
  padding-right: 45px;
}

#toggle-password-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #a0aec0;
  cursor: pointer;
  transition: color 0.2s ease-in-out;
}

#toggle-password-icon:hover {
  color: #4a5568;
}