/* Fundo com imagem e blur suave */
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-image: url('https://score.engeriscogr.com.br/assets/images/EngeriscoBackground.png');
  background-size: cover;        
  background-repeat: no-repeat;   
  background-position: center;     
  height: 100vh;                   
  display: flex;                
  justify-content: center;
  align-items: center;
}
/* Container translúcido com destaque */
.login-container form {
  background: rgba(255, 255, 255, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 18px;
  padding: 45px;
  width: 360px;
  text-align: center;
  box-shadow: 
    0 0 30px rgba(0, 0, 0, 0.4),     
    0 0 60px rgba(255, 255, 255, 0.1) inset; 
  backdrop-filter: blur(25px) saturate(150%); 
  transform: translateY(-10px); 
  transition: all 0.3s ease-in-out;
}


.login-container form:hover {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 
    0 0 35px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(255, 255, 255, 0.15) inset;
  transform: translateY(-15px);
}

/* Logo */
.login-icon img {
  width: 190px;
  margin-bottom: 20px;
}

/* Campos com ícones */
.input-group {
  position: relative;
  margin-bottom: 20px;
  padding-left: 5px;
}

.input-group .icon {
  position: absolute;
  top: 50%;
  left: 22px;
  transform: translateY(-50%);
  color: #555;
  font-size: 18px;
}

.input-group {
  position: relative;
}

.input-group input {
  width: 80%;
  padding: 12px 30px 12px 45px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  outline: none;
  font-size: 17px;
}

.input-group .toggle-password {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: color 0.2s ease;
}

.input-group .toggle-password:hover {
  color: #007bff;
}

.input-group .toggle-password svg {
  width: 18px;
  height: 18px;
}

/* Botão Login */
.btn-login {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #007bff, #0056b3);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-login:hover {
  background: linear-gradient(90deg, #0056b3, #00408a);
}

/* Rodapé do login */
.login-footer {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #eee;
}

.login-footer a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}

.login-footer a:hover {
  text-decoration: underline;
}

/* Mensagem de erro */
.erro {
  color: #ff4c4c;
  font-weight: bold;
  margin-top: 10px;
}

/* Copyright */
.copy {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

/* Popup estilizado para usuário inativo */
.inactive-popup-overlay{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.inactive-popup-card{
  /* estilo “glass” parecido com o card de login, respeitando a textura colorida */
  background: rgba(255, 255, 255, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: 26px 28px 22px;
  width: 380px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  box-shadow:
    0 0 30px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(255, 255, 255, 0.16) inset;
  backdrop-filter: blur(25px) saturate(150%);
}
.inactive-popup-icon{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fee2e2;
  color: #b91c1c;
}
.inactive-popup-card h2{
  margin: 6px 0 8px;
  font-size: 19px;
  color: #111827;
}
.inactive-popup-card p{
  margin: 0 0 16px;
  font-size: 13px;
  color: #1f2933;
}
.inactive-popup-card button{
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #ef4444, #b91c1c);
  color: #f9fafb;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(185,28,28,0.45);
}
.inactive-popup-card button:hover{
  background: linear-gradient(90deg, #dc2626, #991b1b);
}