/* Adam Legal LI Reporting — split-screen login (injected via nginx on /login/ only) */

body {
  background: #F4F0E6 radial-gradient(rgba(27,25,21,.028) 1px, transparent 1px) !important;
  background-size: 22px 22px !important;
}

/* hide the app navbar on the login screen — the brand lives in the left panel */
.ant-layout-header, header.ant-layout-header, #main-menu { display: none !important; }

/* push the form area to the right half */
main.ant-layout-content {
  margin-left: 44vw !important;
  width: 56vw !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: none !important;
}

.ant-card {
  width: min(400px, 84%) !important;
  background: #FCFAF5 !important;
  border: 1px solid #E4DCC9 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 6px rgba(27,25,21,.08), 0 18px 40px -16px rgba(27,25,21,.28) !important;
  animation: liw-card-in .6s cubic-bezier(.22,1,.36,1);
}
@keyframes liw-card-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ── the ink brand panel ── */
.liw-panel {
  position: fixed; top: 0; left: 0; bottom: 0; width: 44vw;
  background: #1B1915; color: #FCFAF5; z-index: 50;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 44px 48px; overflow: hidden;
}
.liw-panel::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 34px, #FCFAF5 34px, #FCFAF5 35px);
}
.liw-art {
  position: absolute; left: 0; right: 0; bottom: 0; height: 64%;
  background: url(/brand/login-lawyer.jpg) center 20% / cover no-repeat;
  opacity: .55; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 32%, #000 78%, transparent 96%);
  mask-image: linear-gradient(180deg, transparent, #000 32%, #000 78%, transparent 96%);
}
.liw-top, .liw-mid, .liw-foot { position: relative; z-index: 1; }
.liw-brand { font-family: Georgia, 'Times New Roman', serif; font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.liw-brand em { font-style: normal; color: #F6E9E4; opacity: .75; }
.liw-caps { margin-top: 4px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: rgba(252,250,245,.5); font-family: system-ui, sans-serif; }
.liw-mid { max-width: 420px; margin-bottom: 46%; }
.liw-quote { font-family: Georgia, serif; font-weight: 300; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.18; }
.liw-quote em { font-style: italic; color: #F3ECD9; }
.liw-sub { margin-top: 16px; font-size: 14px; line-height: 1.65; color: rgba(252,250,245,.62); font-family: system-ui, sans-serif; }
.liw-foot { font-size: 11px; color: rgba(252,250,245,.4); font-family: system-ui, sans-serif; }

@media (max-width: 900px) {
  .liw-panel { display: none; }
  main.ant-layout-content { margin-left: 0 !important; width: 100vw !important; }
}
@media (prefers-reduced-motion: reduce) { .ant-card { animation: none; } }
