/* ============================================================
   LoginView — branded login screen
   Three layouts: centered (default), split, banner
   All colours come from brandingConfig inline styles;
   this file handles structural layout only.
   ============================================================ */

.lv {
  position: fixed; inset: 0;
  min-height: 100vh;
  overflow: hidden;
  font-family: 'DM Sans', system-ui, sans-serif;
}

/* Radial highlight overlay */
.lv__overlay {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at top, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
}

/* ── Centered ──────────────────────────────────── */
.lv__centered {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  min-height: 100vh; padding: 20px;
  box-sizing: border-box;
}

.lv__card {
  width: min(360px, 90%);
  padding: 28px 28px 22px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  color: #fff;
  box-sizing: border-box;
}
.lv__card--wide { width: min(380px, 90%); }

/* ── Brand block ───────────────────────────────── */
.lv__brand {
  margin-bottom: 18px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.lv__brand--left { align-items: flex-start; }
.lv__mark {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 28px; font-weight: 700;
  flex-shrink: 0;
}
.lv__mark--sm {
  width: 32px; height: 32px;
  border-radius: 8px; font-size: 18px;
}
.lv__wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 22px;
  letter-spacing: -0.02em; color: #fff;
}
.lv__brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700; font-size: 16px; color: #fff;
}
.lv__tagline { font-size: 12px; opacity: 0.8; text-align: center; }
.lv__tagline--left { text-align: left; }

/* ── Form ──────────────────────────────────────── */
.lv__error {
  padding: 10px 12px;
  background: rgba(220,50,50,0.3);
  border: 1px solid rgba(220,50,50,0.5);
  border-radius: 8px;
  font-size: 13px; color: #fff;
  margin-bottom: 12px;
}
.lv__form { display: flex; flex-direction: column; gap: 8px; }
.lv__input {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  color: #fff; font-size: 14px;
  outline: none; font-family: inherit;
  box-sizing: border-box;
}
.lv__input::placeholder { opacity: 0.6; }
.lv__input:focus { border-color: rgba(255,255,255,0.40); }
.lv__btn {
  width: 100%; padding: 13px;
  border: 0; font-weight: 700; font-size: 14px;
  cursor: pointer; font-family: inherit;
  color: #fff; margin-top: 4px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: opacity 120ms;
}
.lv__btn:disabled { opacity: 0.65; cursor: not-allowed; }
.lv__btn:not(:disabled):hover { opacity: 0.88; }
.lv__bypass { margin-top: 14px; text-align: center; }
.lv__bypass-link {
  font-size: 11px; opacity: 0.42; color: #fff;
  text-decoration: underline;
}
.lv__bypass-link:hover { opacity: 0.7; }

/* ── Split ─────────────────────────────────────── */
.lv__split {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.lv__split-left {
  padding: 40px 36px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #fff;
}
.lv__split-hero {
  font-family: 'Syne', sans-serif;
  font-size: 32px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1;
  margin-bottom: 8px;
}
.lv__split-sub { font-size: 13px; opacity: 0.85; max-width: 300px; line-height: 1.5; }
.lv__split-right { display: grid; place-items: center; padding: 20px; }
.lv__store-info {
  font-size: 11px; opacity: 0.55;
  font-family: 'JetBrains Mono', monospace;
  color: #fff;
}

/* ── Banner ────────────────────────────────────── */
.lv__banner { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; }
.lv__banner-top {
  padding: 16px 24px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.lv__banner-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.lv__banner-body { flex: 1; display: grid; place-items: center; padding: 20px; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 600px) {
  .lv__split { grid-template-columns: 1fr; }
  .lv__split-left { display: none; }
}
