/* index.css */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  /* Fundo verde com degradê suave */
  background: linear-gradient(135deg, rgb(50,83,76) 0%, rgb(60,93,86) 50%, rgb(82,117,109) 100%);
}

.container {
  display: flex;
  width: 850px;
  background: rgba(214, 214, 214, 0.979);
  border-radius: 22px;
  box-shadow: 0px 0px 10px #ccccccc2;
  overflow: hidden;
}

.login-container {
  width: 50%;
  padding: 50px;
  text-align: center;
  background: #f5f5f59a;
  border-radius: 20px 0 0 20px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
}

.welcome-message {
  font-size: 22px;
  font-weight: 700;
  color: #32534C;
  margin-bottom: 10px;
}

.login-container h2 {
  font-size: 18px;
  font-weight: 600;
  color: #32534C;
  margin-bottom: 25px;
}

.error {
  background-color: #ffdddd;
  color: #b30000;
  border: 1px solid #ffcccc;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
  font-size: 14px;
}

.login-container img {
  width: 100px;
  margin-bottom: 20px;
  cursor: pointer;
}

.login-container input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  background: #eaeaea;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.login-container button {
  width: 100%;
  padding: 12px;
  background: #32534C;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  transition: 0.3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.login-container button:hover {
  background: #40756a;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  margin: 0 12px;
  text-decoration: none;
}

.social-icons img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.image-container {
  width: 50%;
  background: url('../logos/backs.png') no-repeat center;
  background-size: cover;
  border-radius: 0 20px 20px 0;
  box-shadow: -5px 0 35px rgba(0, 0, 0, 0.64);
}

.footer {
  margin-top: 20px;
  color: white;
  font-size: 14px;
  text-align: center;
}

.google-login-btn {
  width: 100%;
  padding: 12px;
  background: #32534C;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  transition: 0.3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  margin-top: 10px; /* Espaço entre os botões */
}

.google-login-btn:hover {
  background: #40756a;
}

/* Media Queries para Responsividade */

/* Tablets e dispositivos de tamanho médio */
@media (max-width: 768px) {
  .container {
      width: 90%;
      flex-direction: column;
      border-radius: 20px;
  }
  .login-container, 
  .image-container {
      width: 100%;
      border-radius: 20px 20px 0 0;
  }
  .image-container {
      height: 200px;
      box-shadow: none;
  }
}

/* Celulares e dispositivos pequenos */
@media (max-width: 480px) {
  body {
      padding: 10px;
  }
  .container {
      width: 100%;
      box-shadow: none;
  }
  .login-container {
      padding: 20px;
  }
  .login-container input,
  .login-container button,
  .google-login-btn {
      font-size: 14px;
      padding: 10px;
  }
  .welcome-message {
      font-size: 18px;
  }
  .login-container h2 {
      font-size: 16px;
  }
}