/* Tela de login (pagina standalone, sem a barra lateral do app). */
:root {
  --brand: #e0457b;
  --brand-hover: #c12f63;
  --brand-soft: #fce7ef;
  --brand-grad: linear-gradient(135deg, #f06aa0, #d6336c);
  --ink: #20242e;
  --muted: #6b7280;
  --soft-muted: #8a90a0;
  --field: #e6e8ee;
}
* { box-sizing: border-box; }
body.login-page {
  margin: 0; min-height: 100vh; background: #fff;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink); display: flex; align-items: center; justify-content: center; padding: 48px 40px;
}

.login-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  max-width: 1180px; width: 100%; align-items: center;
}

/* ---- Coluna esquerda (apresentacao) ---- */
.brand-row { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.brand-logo { width: 64px; height: 64px; flex: none; }
.brand-name { margin: 0; font-size: 44px; font-weight: 800; color: var(--brand); letter-spacing: -.5px; line-height: 1; }
.tagline { margin: 8px 0 0; color: var(--soft-muted); font-size: 16px; }
.intro { color: #4b5160; font-size: 17px; line-height: 1.65; max-width: 470px; margin: 0 0 34px; }

.features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.features li { display: flex; gap: 16px; align-items: flex-start; }
.feat-ico {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
}
.feat-ico svg { width: 20px; height: 20px; }
.feat-txt strong { display: block; font-size: 16px; color: var(--ink); margin-bottom: 3px; }
.feat-txt span { color: var(--muted); font-size: 14.5px; line-height: 1.4; }

/* ---- Coluna direita (formulario) ---- */
.login-right { display: flex; flex-direction: column; gap: 24px; }
.login-card {
  background: #fff; border: 1px solid #eef0f4; border-radius: 22px; padding: 42px;
  box-shadow: 0 24px 60px rgba(30, 36, 48, .07);
}
.field-label { display: block; font-size: 15px; font-weight: 600; color: #3a4150; margin: 0 0 9px; }
.field { margin-bottom: 22px; }
.field:last-of-type { margin-bottom: 0; }

.input-wrap { position: relative; display: flex; align-items: center; }
.input-ico { position: absolute; left: 16px; color: #aab0bd; display: flex; pointer-events: none; }
.input-ico svg { width: 18px; height: 18px; }
.input-wrap input {
  width: 100%; padding: 15px 16px 15px 46px; font-size: 15px;
  border: 1px solid var(--field); border-radius: 12px; background: #fff; color: var(--ink);
}
.input-wrap.has-eye input { padding-right: 46px; }
.input-wrap input::placeholder { color: #aeb4c0; }
.input-wrap input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.eye-btn {
  position: absolute; right: 12px; background: none; border: none; cursor: pointer;
  color: #aab0bd; padding: 6px; display: flex; border-radius: 8px;
}
.eye-btn:hover { color: #6b7280; }
.eye-btn svg { width: 18px; height: 18px; }

.remember { display: flex; align-items: center; gap: 10px; margin: 26px 0 24px; font-size: 15px; color: #3a4150; cursor: pointer; user-select: none; }
.remember input { width: 20px; height: 20px; accent-color: var(--brand); cursor: pointer; }

.btn-entrar {
  width: 100%; padding: 16px; border: none; border-radius: 12px;
  background-image: var(--brand-grad); background-color: var(--brand); color: #fff;
  font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
  box-shadow: 0 10px 22px rgba(224,69,123,.30); transition: filter .15s, box-shadow .15s;
}
.btn-entrar:hover { filter: brightness(1.05); box-shadow: 0 12px 26px rgba(224,69,123,.36); }
.login-error { background: #ffe9e9; color: #c0392b; border: 1px solid #f3c7c7; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-bottom: 16px; }
.login-alt { text-align: center; font-size: 14px; color: var(--muted); margin-top: 16px; }
.login-alt a { color: var(--brand); font-weight: 700; }

.secure { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--soft-muted); font-size: 14px; margin: 0; }
.secure svg { width: 16px; height: 16px; flex: none; }

@media (max-width: 880px) {
  .login-wrap { grid-template-columns: 1fr; gap: 44px; max-width: 460px; }
  .brand-name { font-size: 38px; }
}
