/* ============================================================
   Caminho: public/assets/css/login.css
============================================================ */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #8a9de9;
}

.wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
}

h1 {
  margin: 0 0 14px;
  font-size: 22px;
}

label {
  display: block;
  margin: 10px 0 6px;
  font-size: 14px;
  color: #111827;
}

input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 16px;
}

.alert {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
}

/* ===================== Logo ===================== */
.login-logo {
  text-align: center;
  margin-bottom: 20px;
}

.login-logo img {
  max-width: 240px;
  height: auto;
}

/* ===================== Botão Entrar (APENAS submit) ===================== */
button[type="submit"] {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  background: #111827;
  color: #fff;
}

/* ===================== PostPrint • Toggle senha (olhinho) ===================== */
.pp-pass-wrap {
  position: relative;
}

.pp-pass-wrap input {
  width: 100%;
  padding-right: 48px; /* espaço pro ícone */
}

.pp-pass-toggle {
  /* reseta tudo que poderia herdar de estilos de botão */
  all: unset;

  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);

  width: 34px;
  height: 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  border-radius: 999px;
}

.pp-pass-toggle:hover {
  background: rgba(17, 24, 39, 0.06);
}

.pp-pass-toggle:active {
  transform: translateY(-50%) scale(0.96);
}

.pp-eye {
  width: 18px;
  height: 18px;
  opacity: .65;
  fill: #111827;
}

.pp-pass-toggle:hover .pp-eye {
  opacity: 1;
}