* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #A37FF8, #E0C3FC);
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CAIXA BRANCA PRINCIPAL */
.container {
  background: white;
  width: 1100px;           /* largura grande */
  max-width: 95%;
  height: 650px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);

  display: flex;           /* imagem + login */
  overflow: hidden;
}

/* LADO ESQUERDO — IMAGEM */
.image-area {
  width: 50%;
  background: #f3ecff;     /* placeholder */
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* LADO DIREITO — LOGIN */
#login {
  width: 50%;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TÍTULO */
#login h1 {
  color: #6C4BFA;
  margin-bottom: 25px;
}


/* BOTÕES */
#btn-login {
  background-color: #6C4BFA;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s;
}

#btn-login:hover {
  background-color: #5840c2;
}

/* BOTÃO GOOGLE */
.google-btn {
  display: flex;
  align-items: center;
  gap: 10px;
margin-top: 10px;
  background-color: #ffffff;
  color: #6e6e6e;
 justify-content: center;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
border: 1px solid #e9e5eb; /* BORDA */
  transition: background-color 0.2s ease-in-out;
}

/* HOVER CINZA CLARO */
.google-btn:hover {
  background-color: #f4effa; /* equivalente ao zinc-300 */
}

/* ÍCONE GOOGLE */
.google-btn .google-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* LINK */
.link {
  margin-top: 15px;
  color: #6C4BFA;
  cursor: pointer;
  text-decoration: underline;
  text-align: center;
}


/* ===== INPUT FLOATING LABEL (SEM TAILWIND) ===== */

.input-group {
  position: relative;
  margin-bottom: 18px;
}

.input-group::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(to bottom, #6366f1, #a855f7);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.input-group:focus-within::before {
  opacity: 1;
}

.input-group input {
  width: 100%;
  padding: 22px 14px 8px 20px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  background: white;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.input-group input:focus {
  border-color: #aa63f1;
    box-shadow: 0 0 0 1px rgba(161, 99, 241, 0.35);
}

.input-group label {
  position: absolute;
  left: 20px;
  top: 16px;
  font-size: 14px;
  color: #888;
  pointer-events: none;
  transition: all 0.2s ease;
  background: white;
  padding: 0 6px;
}

/* label sobe */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 11px;
  color: #6366f1;
  font-weight: 600;
}




/* MOBILE — login sem imagem */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    height: auto;
  }

  .image-area,
  #login {
    width: 100%;
  }

  .image-area {
    display: none;
  }

}
