/* ==========================================================================
   SIGTEL - Tela de Login
   - fundo com imagem + overlay gradiente (azul/ciano)
   - card branco
   ========================================================================== */

html, body{
  height:100%;
  margin:0;
  padding:0;
}

body.login{
  font-family: Arial, sans-serif;
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
  background: url('../img/_1.webp') no-repeat center center fixed;
  background-size: cover;
  overflow:hidden;
}

/* overlay */
body.login::before{
  content:"";
  position:fixed;
  top:0; left:0; right:0; bottom:0;
  background: linear-gradient(to bottom, rgba(59,130,246,0.85), rgba(34,211,238,0.85));
  z-index:0;
}

.login-container{
  position:relative;
  z-index:1;
  background:#fff;
  padding:40px 30px;
  border-radius:18px;
  box-shadow:0 12px 40px rgba(0,0,0,.25);
  width:100%;
  max-width:400px;
  text-align:center;
}

.logo-group{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-bottom:16px;
}
.logo-group img{
  width:150px;
  height:auto;
  border-radius:8px;
}

.login-subtitle{
  font-size:15px;
  color:#555;
  margin-bottom:22px;
}

.field{
  margin:10px 0;
}

input[type="text"],
input[type="password"]{
  width:100%;
  padding:14px;
  border:1px solid #ccc;
  border-radius:12px;
  font-size:15px;
  outline:none;
}

input[type="text"]:focus,
input[type="password"]:focus{
  border-color:#3b82f6;
  box-shadow:0 0 0 4px rgba(59,130,246,.12);
}

.password-wrapper{
  position:relative;
}

.password-wrapper .toggle-visibility{
  position:absolute;
  top:50%;
  right:14px;
  transform:translateY(-50%);
  cursor:pointer;
  font-size:16px;
  color:#666;
}

button.btn-login{
  width:100%;
  padding:14px;
  border:none;
  background-color:#007bff;
  color:#fff;
  border-radius:12px;
  font-size:16px;
  margin-top:14px;
  cursor:pointer;
  transition: background-color .2s ease, color .2s ease;
}

button.btn-login:hover{
  background-color:#c6dbf0;
  color:#003366;
}

.link-btn{
  display:block;
  width:100%;
  text-align:center;
  margin-top:12px;
  text-decoration:none;
  color:#007bff;
  font-size:14px;
}

.login-footer{
  text-align:center;
  margin-top:18px;
  font-size:12px;
  color:#777;
}

.alert{
  background: rgba(220,38,38,.10);
  border:1px solid rgba(220,38,38,.35);
  color:#991b1b;
  padding:10px 12px;
  border-radius:12px;
  text-align:left;
  font-size:13px;
  margin-bottom:12px;
}

@media (max-width:480px){
  .login-container{ padding:26px 20px; }
  .logo-group img{ width:150px; }
}
