/* ======== GERAL ======== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Orbitron', sans-serif;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../../../images/imagem-background-login.png");
  background-size: cover;
  background-position: center;
}

/* ======== CONTAINER ======== */
.login-container {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 40px;
  width: 350px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

/* ======== LOGO ======== */
.logo img {
  width: 350px;         /* aumenta o tamanho base */
  max-width: 80%;       /* limita em telas pequenas */
  height: auto;
  margin-bottom: 5px;
  image-rendering: -webkit-optimize-contrast; /* melhora nitidez */
  image-rendering: crisp-edges;
}

/* ======== TÍTULO ======== */
.login-container h2 {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
  font-family: 'Orbitron', sans-serif;
}

/* ======== INPUT CPF ======== */
.login-container input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 15px;
}

.login-container input::placeholder {
  color: #ccc;
}

/* ======== BOTÃO ENTRAR ======== */
.login-container button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #00bcd4;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
}

.login-container button:hover {
  background: #0097a7;
}

/* ======== ERROS E ACESSIBILIDADE ======== */
.error-area {
  color: #ff6b6b;
  margin-top: 10px;
  font-size: 0.9rem;
  min-height: 1.2em;
  text-align: left;
}

/* ======== CAMPOS INVÁLIDOS ======== */
.invalid {
  border: 2px solid #ff6b6b !important;
  background: rgba(255, 255, 255, 0.15);
}

/* ======== RESPONSIVIDADE ======== */
@media (max-width: 400px) {
  .login-container {
    width: 90%;
    padding: 30px;
  }

  .logo img {
    width: 150px;
  }
}