/* Estilos básicos */
body {
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background: #f4f7fc; /* Fundo claro e suave */
  color: #333;
  overflow: hidden;
}

.container {
  max-width: 600px;
  width: 100%;
  padding: 2rem;
  background-color: #ffffff; /* Fundo branco puro */
  border-radius: 15px;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.1);
  text-align: center;
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo img {
  width: 120px;
  margin-bottom: 1.5rem;
}

.container h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.input-wrapper {
  margin-bottom: 1.5rem;
  text-align: left;
}

.input-wrapper label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
}

.input-wrapper input,
.input-wrapper select {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa; /* Fundo levemente mais claro */
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.2); /* Sombra sutil ao focar */
}

.input-wrapper select {
  appearance: none; /* Remove o estilo padrão do navegador */
  background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 30px; /* Espaço para o ícone */
}

.password-container {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
}

.password-toggle:hover {
  color: #007bff;
}

.password-toggle ion-icon {
  font-size: 1.2em;
}

.btn-primary {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  color: #fff;
  background: #007bff; /* Azul vibrante */
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.btn-primary:hover {
  background: #0056b3; /* Azul mais escuro */
  transform: scale(1.02); /* Efeito de crescimento sutil */
}

.login-link {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #333;
}

.login-link a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s;
}

.login-link a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
  .container {
    padding: 1.5rem;
  }

  .container h2 {
    font-size: 1.5rem;
  }

  .input-wrapper input,
  .input-wrapper select {
    padding: 0.6rem;
  }

  .btn-primary {
    font-size: 0.9rem;
  }
}