/* Ukoli Tickets — Login (Ukoli PM editorial aesthetic) */
.lg-shell {
  --lg-field: rgba(107,92,73,0.07);
  --lg-field-focus: var(--surface-card);
  --lg-watermark: rgba(107,92,73,0.06);
  position: relative; min-height: 100vh; overflow: hidden;
  display: grid; place-items: center; padding: 48px 40px;
  background:
    radial-gradient(120% 100% at 12% 6%, #FFFDF9 0%, rgba(255,253,249,0) 46%),
    radial-gradient(130% 120% at 92% 96%, #F0E7D8 0%, rgba(240,231,216,0) 50%),
    var(--cream);
}
[data-theme="dark"] .lg-shell {
  --lg-field: rgba(255,255,255,0.05);
  --lg-field-focus: var(--surface-raised);
  --lg-watermark: rgba(245,235,218,0.045);
  background:
    radial-gradient(120% 100% at 12% 6%, #211e15 0%, rgba(33,30,21,0) 48%),
    var(--surface-page);
}

/* Giant watermark numeral */
.lg-watermark {
  position: absolute; right: clamp(-40px, 2vw, 60px); bottom: -16%;
  font-family: var(--font-serif); font-weight: 700; line-height: 0.8;
  font-size: clamp(280px, 38vw, 620px); color: var(--lg-watermark);
  pointer-events: none; user-select: none; z-index: 0;
}

.lg-grid {
  position: relative; z-index: 1; width: 100%; max-width: 1140px;
  display: grid; grid-template-columns: 1.08fr minmax(380px, 460px);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}

/* Brand / editorial column */
.lg-brandcol { max-width: 540px; }
.lg-logo { height: 56px; width: auto; display: block; }
.lg-bysym { font-family: var(--font-ui); font-size: var(--text-sm); font-weight: 500;
  letter-spacing: 0.02em; color: var(--brown); margin: 9px 0 0 3px; }
.lg-head { font-family: var(--font-serif); font-style: italic; font-weight: 700;
  font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.02em;
  margin: 46px 0 0; color: var(--text-strong); }
.lg-head .accent { display: block; color: var(--beige); }
.lg-sub { font-size: var(--text-lg); line-height: 1.55; color: var(--text-muted);
  margin: 22px 0 0; max-width: 40ch; }
.lg-feats { list-style: none; padding: 0; margin: 44px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; max-width: 460px; }
.lg-feat { display: flex; align-items: center; gap: 11px; font-family: var(--font-ui);
  font-size: var(--text-md); font-weight: 500; color: var(--text-body); }
.lg-feat svg { color: var(--brown); flex-shrink: 0; }

/* Form card */
.lg-card { position: relative; background: var(--surface-card);
  border: 1px solid var(--border-subtle); border-radius: 24px;
  box-shadow: var(--shadow-xl); padding: 38px 38px 36px; }
.lg-card-title { font-family: var(--font-serif); font-weight: 700; font-size: var(--text-2xl);
  letter-spacing: -0.015em; color: var(--text-strong); margin: 0; }
.lg-card-sub { font-size: var(--text-md); color: var(--text-muted); margin: 6px 0 0; }
.lg-fields { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
.lg-label { display: block; font-family: var(--font-ui); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--brown); margin-bottom: 9px; }
.lg-field-wrap { display: flex; align-items: center; gap: 11px; height: 52px; padding: 0 15px;
  background: var(--lg-field); border: 1.5px solid transparent; border-radius: 13px;
  transition: border-color var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard); }
.lg-field-wrap:focus-within { border-color: var(--green); background: var(--lg-field-focus); box-shadow: var(--shadow-focus); }
.lg-field-wrap.has-error { border-color: var(--danger); }
.lg-field-ic { color: var(--text-subtle); display: inline-flex; flex-shrink: 0; }
.lg-field-wrap:focus-within .lg-field-ic { color: var(--green); }
.lg-input { flex: 1; min-width: 0; border: none; background: transparent; outline: none;
  font-family: var(--font-body); font-size: var(--text-base); color: var(--text-body); }
.lg-input::placeholder { color: var(--text-subtle); }
.lg-eye { cursor: pointer; display: inline-flex; color: var(--text-subtle); border: none; background: transparent; padding: 2px; }
.lg-eye:hover { color: var(--text-body); }
.lg-err { display: block; font-size: var(--text-xs); color: var(--danger); font-weight: 500; margin-top: 7px; }

.lg-alert { display: flex; align-items: center; gap: 9px; margin-top: 22px; padding: 11px 14px;
  background: var(--danger-bg); color: var(--danger);
  border: 1px solid color-mix(in srgb, var(--danger) 26%, transparent);
  border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 500; }

.lg-forgot { display: flex; justify-content: flex-end; margin-top: 14px; }
.lg-link { color: var(--text-brand); font-family: var(--font-ui); font-weight: 600;
  font-size: var(--text-sm); text-decoration: none; }
.lg-link:hover { text-decoration: underline; }

.lg-btn { width: 100%; margin-top: 22px; height: 54px; border: none; cursor: pointer;
  border-radius: 14px; font-family: var(--font-ui); font-weight: 600; font-size: var(--text-md);
  color: #FCF9F3; letter-spacing: 0.01em;
  background: linear-gradient(110deg, #8a7561 0%, #6B5C49 56%, #5b4d3c 100%);
  box-shadow: 0 8px 20px rgba(107,92,73,0.28);
  transition: filter var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard); }
.lg-btn:hover { filter: brightness(1.05); box-shadow: 0 10px 24px rgba(107,92,73,0.34); }
.lg-btn:active { transform: translateY(1px); }
.lg-btn:disabled { opacity: 0.7; cursor: default; box-shadow: none; }

.lg-help { text-align: center; font-size: var(--text-sm); color: var(--text-muted); margin: 20px 0 0; }

/* Theme toggle */
.lg-theme { position: absolute; top: 24px; right: 28px; z-index: 3; width: 42px; height: 42px;
  border-radius: var(--radius-md); cursor: pointer; border: 1px solid var(--border-subtle);
  background: var(--surface-card); color: var(--text-body); display: inline-flex; align-items: center; justify-content: center; }

@media (max-width: 920px) {
  .lg-grid { grid-template-columns: 1fr; max-width: 480px; gap: 40px; }
  .lg-brandcol { max-width: none; text-align: center; }
  .lg-logo { margin: 0 auto; }
  .lg-bysym { text-align: center; margin-left: 0; }
  .lg-head { margin-top: 26px; font-size: clamp(34px, 9vw, 48px); }
  .lg-sub { margin-left: auto; margin-right: auto; }
  .lg-feats { display: none; }
  .lg-watermark { display: none; }
}
