/* ═══ LOGIN PAGE ═══
   Standalone styles for auth/login.html.
   Prefix: lp- (login page). Uses --ds-* tokens from variables.css.
*/

body.lp-body-root {
  font-family: var(--ds-font-family);
  height: 100vh;
  display: flex;
  overflow: hidden;
  background: var(--ds-surface-base);
  margin: 0;
  padding: 0;
}

/* ── Left brand panel ────────────────────────────────── */
.lp-brand {
  width: 440px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #000050 0%, #1A178A 55%, #0D0A6E 100%);
  display: flex;
  flex-direction: column;
  padding: 44px 48px;
  position: relative;
  overflow: hidden;
}

.lp-brand-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.lp-brand-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0) invert(1) sepia(1) saturate(1.5) hue-rotate(210deg);
  opacity: 0.12;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.lp-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.lp-logo-brand {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.lp-logo-sub {
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.lp-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
  padding-bottom: 12px;
}

.lp-product {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.lp-product span {
  color: rgba(255, 255, 255, 0.45);
}

.lp-tagline {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  max-width: 300px;
  margin-bottom: 36px;
}

.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ds-radius-full);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  width: fit-content;
}

.lp-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
}

/* ── Right form panel ────────────────────────────────── */
.lp-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  overflow-y: auto;
}

.lp-card {
  width: 100%;
  max-width: 390px;
}

.lp-card-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.lp-card-icon {
  width: 32px;
  height: 32px;
  background: var(--ds-rose-500);
  border-radius: var(--ds-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.lp-card-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.lp-card-logo-brand {
  font-size: 13px;
  font-weight: 700;
  color: var(--ds-text-primary);
  letter-spacing: -0.01em;
}

.lp-card-logo-sub {
  font-size: 9px;
  font-weight: 600;
  color: var(--ds-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-heading {
  font-size: 22px;
  font-weight: 800;
  color: var(--ds-text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.lp-sub {
  font-size: 13.5px;
  color: var(--ds-text-muted);
  line-height: 1.5;
  margin-bottom: 28px;
}

/* ── Google button ───────────────────────────────────── */
.lp-btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 20px;
  background: #fff;
  border: 1.5px solid var(--ds-border-component);
  border-radius: var(--ds-radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--ds-text-body);
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s, background 0.15s;
  text-decoration: none;
  letter-spacing: -0.01em;
  font-family: var(--ds-font-family);
  line-height: 1;
}

.lp-btn-google:hover {
  border-color: var(--ds-indigo-400);
  box-shadow: 0 2px 10px rgba(0, 0, 80, 0.10);
}

.lp-btn-google:active {
  background: var(--ds-surface-base);
}

/* ── SSO note ────────────────────────────────────────── */
.lp-sso-note {
  margin-top: 20px;
  background: var(--ds-indigo-100);
  border: 1px solid var(--ds-indigo-200);
  border-radius: var(--ds-radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lp-sso-note-icon {
  color: var(--ds-indigo-600);
  flex-shrink: 0;
  margin-top: 1px;
}

.lp-sso-note p {
  font-size: 12px;
  color: var(--ds-indigo-700);
  line-height: 1.55;
  margin: 0;
}

.lp-sso-note strong {
  font-weight: 600;
}

/* ── Footer ──────────────────────────────────────────── */
.lp-footer {
  margin-top: 32px;
  font-size: 11.5px;
  color: var(--ds-text-muted);
  line-height: 1.6;
  text-align: center;
}

.lp-footer a {
  color: var(--ds-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.12s;
}

.lp-footer a:hover {
  color: var(--ds-text-primary);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .lp-brand {
    display: none;
  }

  .lp-form-panel {
    padding: 32px 24px;
  }
}
