/* =========================================
   PÁGINA: LOGIN (autenticacao.css)
   ========================================= */

* {
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  margin: 0;
  font-family: var(--font-family);
  background: var(--background-color);
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

/* --- LADO ESQUERDO (LOGIN) --- */
.left-side {
  width: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.login-container {
  padding: 42px 20px;
  width: 380px;
}

.logo-uea {
  width: 100%;
  margin: 0 auto 24px auto;
  text-align: center;
}

.logo-uea img {
  max-width: 100px;
  height: auto;
}

.login-container h2 {
  width: 100%;
  text-align: center;
  margin: 0 auto 20px auto;
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--cinza-8);
  letter-spacing: 1px;
}

.login_label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--cinza-7);
  margin-bottom: 6px;
  display: block;
}

/* Inputs mantendo o tamanho original que você gosta */
.login-container input[type="text"],
.login-container input[type="password"] {
  width: 100%;
  height: 36px;
  padding: 8px 12px;
  margin-bottom: 22px;
  border: 1.8px solid var(--cinza-2);
  border-radius: 4px;
  font-size: .85rem;
  color: var(--text-color);
  background-color: var(--branco);
  transition: border-color 0.2s;
}

.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
  border-color: var(--verde-medio);
  box-shadow: 0 0 4px var(--verde-claro-hover);
  outline: none;
}

/* Botão Entrar */
.login-container #submit-button {
  margin-top: 4px;
  width: 100%;
  height: 36px;
  background-color: var(--verde-medio);
  border: none;
  border-radius: 4px;
  color: var(--branco);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-container #submit-button:hover {
  background-color: var(--verde-escuro);
}

/* Mensagens de Erro */
.login-error-msg {
    color: var(--vermelho-escuro);
    font-size: .9rem;
    margin-bottom: 10px;
    font-weight: 500;
}

/* --- LADO DIREITO (DESTAQUE) --- */
.right-side {
  width: 45%;
  height: 100%;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.evento-destaque {
  width: 100%;
  height: 100%;
  background-image: url('/static/images/enaepe-02.jpeg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.evento-destaque-fade {
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.evento-destaque-dots {
  min-width: 120px;
  height: 36px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 8px 12px;
  border-radius: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.evento-destaque-dots .dot {
  width: 10px;
  height: 10px;
  background-color: var(--branco);
  border-radius: 50%;
  opacity: 0.4;
  transition: all 0.3s ease;
  cursor: pointer;
}


.evento-destaque-dots .dot.active {
  opacity: 1;
  background-color: var(--branco);
  transform: scale(1.2);
}

@media (992px <= width < 1200px) {
  .left-side { width: 45%; }
  .right-side { width: 55%; }
}
/* Responsividade */
@media (max-width: 992px) {
  .left-side { width: 40%; }
  .right-side { width: 60%; }
}

@media (max-width: 768px) {
  .left-side { width: 100%; }
  .right-side { display: none; }
}