/* Login no mesmo padrão do CRM (crm2/views/login.php) */
:root { --texto: #4f515b; --botao: #4A9BF0; --botao-hover: #4189D4; --campo: #f7f7f7; }
* { box-sizing: border-box; margin: 0; padding: 0; font-family: "Nunito", system-ui, sans-serif; }
html, body { height: 100%; background: #fff; }
.login { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.login-caixa { width: 300px; max-width: 100%; display: flex; flex-direction: column; align-items: center; }
.login-logo { width: 130px; height: 60px; object-fit: contain; margin: 10px 0; }
.login-caixa h1 { color: var(--texto); font-size: 22px; font-weight: 500; margin: 10px 0 0; }
.login-sub { color: #9298a4; font-size: 13px; margin: 2px 0 12px; }
.form-login { width: 100%; }
.form-login input[name=usuario], .form-login input[name=senha] {
  width: 100%; background: var(--campo); margin: 5px 0; padding: 10px 14px; border-radius: 20px;
  color: var(--texto); border: 0; outline: none; font-size: 14px;
}
.form-login input:focus-visible { box-shadow: 0 0 0 2px rgba(74, 155, 240, .45); }
.senha-wrap { position: relative; display: block; width: 100%; }
.senha-wrap input { padding-right: 38px !important; }
.olho-senha {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px;
  background: none; border: 0; display: flex; align-items: center; justify-content: center; color: #9298a4; cursor: pointer;
}
.olho-senha:hover { color: var(--texto); }
.form-opcoes { display: flex; font-size: 12px; align-items: center; margin: 10px 0; padding: 0 5px; color: var(--texto); }
.form-opcoes label { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.form-opcoes input { accent-color: var(--botao); }
.entrar {
  background: var(--botao); width: 100%; border-radius: 20px; color: #fff; padding: 10px; cursor: pointer;
  border: 0; font-size: 14px; font-weight: 600; transition: background .3s;
}
.entrar:hover { background: var(--botao-hover); }
.entrar:focus-visible { outline: 2px solid var(--botao-hover); outline-offset: 2px; }
.login-erro { font-size: 12px; margin-top: 10px; color: #fff; background: #f26522; width: 100%; padding: 10px 20px; text-align: center; border-radius: 6px; }
.login-nota { margin-top: 22px; font-size: 12px; color: #9298a4; text-align: center; }
