* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Sinkin Sans', sans-serif;
}

body, html {
  height: 100%;
  background-color: #f2f5f7; /* Fundo cinza claro */
  display: flex;
}

.main-container {
  display: flex;
  width: 100%;
  height: 100vh;
}

/* Área da Logo */
.logo-janela {
  width: 65%;
  background-color: #064974; /* Azul escuro */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px;
}

.rodape-logo {
  color: #ffffffb3; /* Branco com opacidade */
  font-size: 12px;
  text-align: center;
  margin-top: 20px;
}

.logo-destaque {
  width: 200%;
  max-width: 450px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.logo-destaque:hover {
  transform: scale(1.05);
}

/* Área do Formulário de Login */
.login-box {
  width: 85%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: 180px; /* Distância extra entre logo e login */
}

.form-container {
  background-color: #f9f9f9; /* Branco levemente off */
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 360px; /* Aumento de 20% sobre os 300px originais */
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #ccc;
  padding: 10px 5px;
  font-size: 16px;
  background: transparent;
  outline: none;
}

.form-group label {
  position: absolute;
  top: 10px;
  left: 5px;
  color: #aaa;
  font-size: 16px;
  transition: 0.2s ease all;
  pointer-events: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: -12px;
  left: 0;
  font-size: 12px;
  color: #064974;
}

.login-button {
  width: 100%;
  padding: 12px;
  background-color: #064974;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.login-button:hover {
  background-color: #0460a9;
  transform: translateY(-2px);
}

.login-button:active {
  transform: scale(0.95);
}

.link-direita {
  text-align: right;
  margin-bottom: 10px;
}

.texto-link {
  color: #064974;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s ease;
}

.texto-link:hover {
  color: #0460a9;
  text-decoration: underline;
}

.rodape-link {
  margin-top: 15px;
  text-align: center;
}

.pequeno {
  font-size: 12px;
}

/* ===== RESPONSIVIDADE ===== */

/* Para tablets (largura entre 768px e 1024px) */
@media (max-width: 1024px) {
  .main-container {
    flex-direction: column;
    height: auto;
  }

  .logo-janela {
    width: 100%;
    padding: 60px 20px;
  }

  .login-box {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    padding: 20px;
  }

  .form-container {
    width: 90%;
    max-width: 400px;
  }
}

/* Para dispositivos móveis (largura até 767px) */
@media (max-width: 767px) {
  body, html {
    display: block;
  }

  .main-container {
    flex-direction: column;
    height: auto;
  }

  .logo-janela {
    width: 100%;
    padding: 40px 20px;
  }

  .logo-destaque {
    max-width: 250px;
  }

  .login-box {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    padding: 10px;
  }

  .form-container {
    width: 95%;
    padding: 30px 20px;
  }

  .form-group input {
    font-size: 14px;
  }

  .login-button {
    font-size: 14px;
    padding: 10px;
  }

  .texto-link {
    font-size: 10px;
  }
}