/* 3MOVE — ecrã de login (tema light) */
:root {
  --lg-ink: #111113;
  --lg-fg: #111113;
  --lg-fg-2: #2B2B30;
  --lg-muted: #7A7A85;
  --lg-line: #E0E0E3;
  --lg-sunken: #F6F6F7;
  --lg-font: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
.lg-body { margin: 0; font-family: var(--lg-font); color: var(--lg-fg); background: #fff; -webkit-font-smoothing: antialiased; }
.lg-wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, 1fr); }

/* ---------------- Painel visual ---------------- */
.lg-visual {
  position: relative; overflow: hidden;
  margin: 16px; border-radius: 24px;
  background: radial-gradient(120% 90% at 0% 0%, #26262B 0%, #111113 55%, #0A0A0B 100%);
  color: #fff; display: flex; flex-direction: column; padding: 36px 40px;
}
.lg-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 70% at 50% 45%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 45%, #000 30%, transparent 85%);
}
.lg-visual-head { position: relative; display: flex; align-items: center; gap: 14px; z-index: 1; }
.lg-visual-logo { width: 48px; height: 48px; border-radius: 13px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.lg-visual-head strong { display: block; font-size: 20px; letter-spacing: -.02em; }
.lg-visual-head span { display: block; font-size: 13px; color: rgba(255,255,255,.6); }

.lg-tiles {
  position: relative; flex: 1; z-index: 1; margin: 28px 0;
  display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(0, auto);
  gap: 16px; align-content: center;
}
.lg-tile {
  background: rgba(255,255,255,.96); color: var(--lg-fg);
  border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06);
  font-size: 13px;
  animation: lg-float 7s ease-in-out infinite;
}
.lg-tile-head {
  display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px;
  padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed #E4E4E7;
}
.lg-ico {
  width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--lg-line);
  display: inline-grid; place-items: center; flex-shrink: 0;
}
.lg-ico svg { width: 16px; height: 16px; stroke: var(--lg-fg); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lg-row { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; color: var(--lg-fg-2); }
.lg-row b { font-weight: 600; color: var(--lg-fg); white-space: nowrap; }
.lg-row small, .lg-big small { color: var(--lg-muted); font-weight: 500; font-size: 12px; }
.lg-big { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.lg-big small.up { color: #1E9E4A; background: #EAF7EE; padding: 2px 7px; border-radius: 6px; font-weight: 600; margin-left: 6px; vertical-align: middle; }
.lg-macros { display: flex; gap: 4px; height: 8px; margin: 12px 0 6px; }
.lg-macros span { width: var(--w); border-radius: 999px; background: #111113; }
.lg-macros span:nth-child(2) { background: #8A8A94; }
.lg-macros span:nth-child(3) { background: #D4D4D8; }
.lg-legend { display: flex; justify-content: space-between; color: var(--lg-muted); font-size: 12px; }
.lg-legend i { font-style: normal; }
.lg-slot { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 8px; padding: 5px 0; }
.lg-slot b { font-weight: 600; }
.lg-slot span { color: var(--lg-fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-slot em { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.lg-slot em.ok { color: #1E9E4A; background: #EAF7EE; }
.lg-slot em.wait { color: #D97706; background: #FFF4E5; }
.lg-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-bottom: 8px; }
.lg-bars i {
  flex: 1; height: var(--h); border-radius: 6px;
  background: repeating-linear-gradient(135deg, #E4E4E7 0 3px, #F4F4F5 3px 7px);
  border: 1px solid #E4E4E7;
}
.lg-bars i.on { background: repeating-linear-gradient(135deg, #2B2B30 0 3px, #3A3A40 3px 7px); border-color: #111113; }

/* posições do mosaico */
.lg-t1 { grid-column: 1 / span 3; transform: rotate(-2deg); animation-delay: -1s; }
.lg-t2 { grid-column: 4 / span 3; margin-top: 26px; transform: rotate(1.5deg); animation-delay: -3s; }
.lg-t3 { grid-column: 1 / span 3; margin-left: 30px; transform: rotate(1deg); animation-delay: -2s; }
.lg-t4 { grid-column: 4 / span 3; transform: rotate(-1.5deg); animation-delay: -4s; }
.lg-t5 { grid-column: 2 / span 2; transform: rotate(-1deg); animation-delay: -5s; }
.lg-t6 { grid-column: 4 / span 2; transform: rotate(2deg); animation-delay: -6s; }
@keyframes lg-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (prefers-reduced-motion: reduce) { .lg-tile { animation: none; } }

.lg-visual-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.lg-visual-foot span {
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 5px 12px;
  background: rgba(255,255,255,.04);
}

/* ---------------- Formulário ---------------- */
.lg-form-side { display: grid; place-items: center; padding: 40px 24px; }
.lg-form-box { width: 100%; max-width: 380px; }
.lg-logo { width: 64px; height: 64px; border-radius: 17px; display: block; margin-bottom: 26px; box-shadow: 0 6px 18px rgba(17,17,19,.18); }
.lg-form-box h1 { font-size: 28px; font-weight: 700; letter-spacing: -.03em; margin: 0 0 6px; }
.lg-sub { color: var(--lg-muted); margin: 0 0 28px; font-size: 15px; }
.lg-label { display: block; font-size: 13px; font-weight: 600; color: var(--lg-fg-2); margin: 0 0 6px; }
.lg-field { position: relative; margin-bottom: 16px; }
.lg-field > svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; stroke: var(--lg-muted); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
}
.lg-field input {
  width: 100%; height: 48px; padding: 0 44px 0 42px;
  border: 1px solid var(--lg-line); border-radius: 12px; background: #fff;
  font: inherit; font-size: 15px; color: var(--lg-fg); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.lg-field input::placeholder { color: #A1A1AA; }
.lg-field input:focus { border-color: var(--lg-ink); box-shadow: 0 0 0 4px rgba(17,17,19,.08); }
.lg-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; background: transparent; border-radius: 9px; display: grid; place-items: center; cursor: pointer;
}
.lg-eye:hover { background: var(--lg-sunken); }
.lg-eye svg { width: 18px; height: 18px; stroke: var(--lg-fg-2); fill: none; stroke-width: 1.7; }
.lg-check { display: flex; align-items: center; gap: 10px; margin: 4px 0 22px; font-size: 14px; color: var(--lg-fg-2); cursor: pointer; user-select: none; }
.lg-check input { width: 18px; height: 18px; accent-color: #111113; margin: 0; }
.lg-btn {
  width: 100%; height: 48px; border: 0; border-radius: 12px;
  background: var(--lg-ink); color: #fff; font: inherit; font-weight: 600; font-size: 15px;
  box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 8px 20px rgba(17,17,19,.18);
  cursor: pointer; transition: background-color .2s, transform .1s;
}
.lg-btn:hover { background: #2B2B30; }
.lg-btn:active { transform: translateY(1px); }
.lg-errors:empty, .lg-errors.validation-summary-valid { display: none; }
.lg-errors {
  background: #FDECEC; color: #B91C1C; border: 1px solid #F8C9C9; border-radius: 12px;
  padding: 10px 14px; margin-bottom: 18px; font-size: 14px;
}
.lg-errors ul { margin: 0; padding-left: 18px; }
.lg-foot { margin: 36px 0 0; color: var(--lg-muted); font-size: 12px; }

/* ---------------- Responsivo ---------------- */
@media (max-width: 1100px) {
  .lg-tiles { grid-template-columns: repeat(4, 1fr); }
  .lg-t1, .lg-t3 { grid-column: 1 / span 2; margin-left: 0; }
  .lg-t2, .lg-t4 { grid-column: 3 / span 2; }
  .lg-t5, .lg-t6 { display: none; }
}
@media (max-width: 860px) {
  .lg-wrap { grid-template-columns: 1fr; }
  .lg-visual { display: none; }
  .lg-form-side {
    background:
      radial-gradient(70% 50% at 50% 0%, rgba(17,17,19,.06), transparent 70%),
      #fff;
  }
}
