/* ============================================================
   AUTH — extraido de app.css
   Carregado apenas via cssModule no head.ejs.
   ============================================================ */

.auth-body {
  --auth-blue: #1a2f6b;
  --auth-blue-dark: #0f1f4a;
  --auth-muted: #6b7280;
  --auth-label: #374151;
  --auth-border: #d1d5db;
  --auth-input-bg: #f9fafb;
  min-height: 100vh;
  margin: 0;
  background: #ffffff;
  color: #111827;
  font-family: 'Inter', sans-serif;
}.auth-page {
  min-height: 100vh;
  display: flex;
  overflow: hidden;
}.auth-module-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}.auth-module-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.4;
}.auth-module-list li::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}.auth-orb {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}.auth-orb-large {
  width: 160px;
  height: 160px;
  right: -48px;
  bottom: -48px;
  background: rgba(255, 255, 255, 0.04);
}.auth-orb-small {
  width: 80px;
  height: 80px;
  right: 30px;
  bottom: 34px;
  background: rgba(255, 255, 255, 0.03);
}.auth-form-panel {
  flex: 0 0 60%;
  width: 100%;
  min-width: 0;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  background: #ffffff;
}.auth-panel {
  width: 100%;
  max-width: 360px;
  padding: 0;
  background: transparent;
  animation: auth-form-entry 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}.auth-panel-head {
  margin-bottom: 26px;
  text-align: left;
}.auth-panel-head h1 {
  margin: 0 0 6px;
  color: var(--auth-blue);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}.auth-panel-head p {
  margin: 0;
  color: var(--auth-muted);
  font-size: 12px;
  line-height: 1.5;
}.auth-form {
  display: grid;
  gap: 14px;
}.auth-field {
  display: grid;
  gap: 6px;
}.auth-form label {
  color: var(--auth-label);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}.auth-input-wrap {
  position: relative;
}.auth-form input[type='text'],
.auth-form input[type='password'] {
  width: 100%;
  height: 38px;
  border: 1px solid var(--auth-border);
  border-radius: 8px;
  background: var(--auth-input-bg);
  color: #111827;
  padding: 0 38px 0 12px;
  outline: 0;
  font-size: 13px;
  line-height: 38px;
  transition: border-color 140ms ease, background-color 140ms ease;
}.auth-form input::placeholder {
  color: #9ca3af;
}.auth-form input[type='text']:focus,
.auth-form input[type='password']:focus {
  border-color: var(--auth-blue);
  background: #ffffff;
}.auth-input-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 14px;
  height: 14px;
  color: #9ca3af;
  transform: translateY(-50%);
  pointer-events: none;
}.auth-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 4px;
}.auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
}.auth-remember input[type='checkbox'] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--auth-blue);
  flex: 0 0 auto;
}.auth-remember span {
  color: var(--auth-label);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}.auth-forgot-link {
  flex: 0 0 auto;
  color: var(--auth-blue);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}.auth-forgot-link:hover {
  text-decoration: underline;
}.auth-submit {
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: var(--auth-blue);
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: background-color 140ms ease;
}.auth-submit:hover {
  background: var(--auth-blue-dark);
}.auth-submit:active {
  transform: translateY(1px);
}.auth-alert {
  margin-bottom: 16px;
  color: #991b1b;
}@media (prefers-reduced-motion: reduce) {
  .auth-panel {
    animation: none;
  }
}
/* ---- regras .login-* (so login.ejs) ---- */
.login-left-panel {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 48px 40px;
  background: #1a2f6b;
  text-align: center;
  overflow: hidden;
}.login-left-panel > :not(.auth-orb) {
  z-index: 1;
}.login-left-top {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}.login-brand-logo {
  width: 440px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}.login-left-middle {
  width: min(320px, 100%);
}.login-left-middle h2 {
  margin: 0 0 10px;
  text-align: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
}.login-left-middle p {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.6;
}.login-left-bottom {
  position: absolute;
  bottom: 24px;
  margin: 0;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}
/* ---- @media misto auth+login ---- */
@media (max-width: 767px) {
  .auth-page {
    min-height: 100vh;
    flex-direction: column;
    overflow: visible;
  }

  .login-left-panel {
    flex: 0 0 auto;
    height: auto;
    min-height: 260px;
    padding: 40px 24px;
  }

  .auth-form-panel {
    flex: 1 1 auto;
    width: 100vw;
    height: auto;
    min-height: auto;
    padding: 36px 24px;
  }

  .auth-panel {
    width: 100%;
    max-width: 360px;
  }
}
