/* =========================================================
   LOGIN — UI FINAL (Modelar Painel SaaS)
========================================================= */
body, html {
    background-color: #f7f7f7 !important; /* Fundo limpo para focar no login */
}

#modelar-login {
  font-family: var(--font, sans-serif);
  color: var(--txt, #202020);
  padding: 40px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

#modelar-login .modelar-login__wrap {
  width: min(440px, 100%);
  margin: 0 auto;
}

#modelar-login .modelar-login__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  text-align: center;
}

#modelar-login .modelar-login__card {
  background: var(--bg2, #FFFFFF);
  border: 1px solid var(--border, #EFEFEF);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
  padding: 32px 28px;
}

#modelar-login .modelar-login__head {
  margin-bottom: 24px;
}

#modelar-login .modelar-login__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--title, #202020);
  line-height: 1.2;
}

#modelar-login .modelar-login__sub {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  line-height: 1.4;
}

/* =========================================================
   FORMULÁRIO E INPUTS
========================================================= */
#modelar-login form { margin: 0; }

/* Afastando o texto de cima e colocando padding a esquerda */
#modelar-login label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #444;
  margin-bottom: 0; 
  padding-left: 3px; /* 3px da esquerda como solicitado */
}

#modelar-login input[type="text"],
#modelar-login input[type="password"] {
  width: 100%;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 6px; /* Afasta o campo do título do Label em 6px */
  font-weight: 600;
  font-size: 14px;
  outline: none;
  color: var(--title);
  background: #fcfcfc;
  box-shadow: none;
  transition: all .2s ease;
}

#modelar-login input[type="text"]:focus,
#modelar-login input[type="password"]:focus {
  border-color: var(--accent, #510424);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(81,4,36,.08);
}

/* =========================================================
   OLHO DA SENHA (TOGGLE)
========================================================= */
#modelar-login .modelar-login__passwrap {
  position: relative;
  display: flex;
  align-items: center; /* Alinha tudo ao centro */
}
#modelar-login .modelar-login__passwrap input {
  padding-right: 55px !important;
  margin-top: 6px; /* Mantém o afastamento de 6px aqui também */
}

#modelar-login .modelar-login__eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-38%); /* Ajuste fino porque o input tem margin-top */
  width: 37px;
  height: 37px;
  border-radius: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  transition: color .2s ease, background .2s ease;
  outline: none !important;
  padding: 8px 8px !important;
}

#modelar-login .modelar-login__eye:hover,
#modelar-login .modelar-login__eye:focus {
  color: var(--accent, #510424);
  background: rgba(81,4,36,.05);
}

/* =========================================================
   ALERTAS DE ERRO / AVISOS
========================================================= */
#modelar-login .modelar-login__alert {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid rgba(193,69,69,.35);
  background: rgba(193,69,69,.08);
  color: #7a1f1f;
}

/* Warning (Tentativas 3 e 4) */
#modelar-login .modelar-login__alert.is-warning {
  border: 1px solid #f59e0b;
  background: rgba(245, 158, 11, 0.08);
  color: #92400e;
}

/* Bloqueado (Tentativa 5+) */
#modelar-login .modelar-login__alert.is-blocked {
  border: 1px solid #dc2626;
  background: #fef2f2;
  color: #991b1b;
  font-size: 14px;
  text-align: center;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* =========================================================
   BOTÕES E ANTI-ELEMENTOR
========================================================= */

/* Forçando o Botão Acessar (Anti Rosa e Largura 75%) */
html body #modelar-login #btn-submit {
  width: 65% !important;
  max-width: 100% !important;
  font-size: 16px !important;
  padding: 14px 10px !important;
  background: var(--accent, #510424) !important;
  color: #ffffff !important;
  border: 1px solid var(--accent, #510424) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  transform: translateY(0) !important;
  font-weight: 600 !important;
}

html body #modelar-login #btn-submit:hover,
html body #modelar-login #btn-submit:focus {
  background: var(--hover, #6b0931) !important;
  border-color: var(--hover, #6b0931) !important;
  outline: none !important;
}

html body #modelar-login #btn-submit:active {
  transform: translateY(1px) !important;
}

/* O Botão de Suporte do WhatsApp (Aparece no Estado de Bloqueio) */
.btn-whatsapp-suporte {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease;
  width: 75%;
}
.btn-whatsapp-suporte:hover {
  background: #1da851;
  color: #fff;
}
.btn-whatsapp-suporte svg {
  width: 18px; height: 18px; fill: currentColor;
}





/* O Botão de Suporte do WhatsApp (Warning 3 e 4) */
.btn-whatsapp-suporte {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff !important;
  font-weight: 600;
  font-size: 17px;
  padding: 10px 15px;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: background 0.2s ease;
  width: 70% !important;
  margin: 12px auto 0 auto !important; /* Centraliza Horizontalmente e afasta de cima */
}
.btn-whatsapp-suporte:hover {
  background: #1da851;
  color: #fff !important;
}
.btn-whatsapp-suporte svg {
  width: 18px; height: 18px; fill: currentColor;
}

/* Flexbox para suportar o Botão Whats no Warning (Erros 3 e 4) */
#modelar-login .modelar-login__alert.is-warning {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}