/* LMD login — Aurora theme (dark gradient panel + clean white card) */
:root {
  --lmd-font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --lmd-ink: #1b2140;
  --lmd-muted: #6b7390;
  --lmd-border: #e6e9f2;
  --lmd-primary: #6d5dfc;
  --lmd-grad: linear-gradient(135deg, #6d5dfc 0%, #3fb7ff 100%);
  --lmd-input-h: 40px;
}

* { box-sizing: border-box; }

html, body.lmd-login-body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--lmd-font);
  color: var(--lmd-ink);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  background: #f3f5fb;
}

.lmd-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(109, 93, 252, 0.14), transparent 60%),
    radial-gradient(500px 400px at 100% 100%, rgba(63, 183, 255, 0.16), transparent 60%),
    #f3f5fb;
}

.lmd-login-shell {
  width: 100%;
  max-width: 920px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(27, 33, 64, 0.16);
  border: 1px solid #fff;
}

/* Left visual panel */
.lmd-login-visual {
  position: relative;
  padding: 34px 34px 30px;
  color: #fff;
  background: linear-gradient(160deg, #141a33 0%, #1d2550 55%, #2a2f77 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.lmd-login-visual::before {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  right: -140px; top: -160px;
  background: radial-gradient(circle, rgba(109, 93, 252, 0.7) 0%, rgba(63, 183, 255, 0) 70%);
}

.lmd-login-visual::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  left: -120px; bottom: -180px;
  background: radial-gradient(circle, rgba(255, 122, 89, 0.55) 0%, rgba(255, 77, 141, 0) 70%);
}

.lmd-login-visual > * { position: relative; z-index: 1; }

.lmd-login-brand { display: flex; align-items: center; gap: 12px; }

.lmd-login-brand-icon {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--lmd-grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; letter-spacing: 0.05em; color: #fff;
  box-shadow: 0 8px 20px rgba(109, 93, 252, 0.45);
}

.lmd-login-brand-text strong { display: block; font-size: 16px; font-weight: 800; line-height: 1.2; }
.lmd-login-brand-text small { font-size: 11.5px; color: rgba(255, 255, 255, 0.65); }

.lmd-login-hero { margin: 36px 0 28px; }

.lmd-login-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px; padding: 4px 11px; margin-bottom: 14px;
}

.lmd-login-hero h1 {
  font-size: 26px; line-height: 1.25; font-weight: 800; letter-spacing: -0.015em;
  margin: 0 0 10px; max-width: 380px;
}

.lmd-login-desc { font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); margin: 0 0 16px; max-width: 380px; }

.lmd-login-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lmd-login-chips span {
  font-size: 11.5px; font-weight: 600; padding: 5px 11px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff;
}

.lmd-login-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lmd-login-features li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.82); }
.lmd-login-features li i {
  width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.1); color: #8fd3ff; font-size: 14px; flex-shrink: 0;
}

/* Right form */
.lmd-login-form-wrap { display: flex; align-items: center; justify-content: center; padding: 36px 30px; }
.lmd-login-card { width: 100%; max-width: 330px; }

.lmd-login-card-head { margin-bottom: 22px; }
.lmd-login-card-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.lmd-login-sub { font-size: 13px; color: var(--lmd-muted); margin: 0; line-height: 1.5; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 600; color: var(--lmd-muted); margin-bottom: 6px; }

.lmd-input-wrap { position: relative; }
.lmd-input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: #9aa1bb; font-size: 15px; pointer-events: none;
}

.lmd-login-card .form-control {
  width: 100%;
  height: var(--lmd-input-h);
  padding: 0 12px 0 38px;
  font-size: 14px;
  font-family: var(--lmd-font);
  border: 1px solid var(--lmd-border);
  border-radius: 11px;
  background: #f8f9fd;
  color: var(--lmd-ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.lmd-login-card .form-control::placeholder { color: #a7adc4; }
.lmd-login-card .form-control:focus {
  border-color: var(--lmd-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(109, 93, 252, 0.15);
}

.btn-login {
  width: 100%;
  height: 42px;
  margin-top: 6px;
  border: 0;
  border-radius: 11px;
  font-family: var(--lmd-font);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--lmd-grad);
  box-shadow: 0 10px 24px rgba(109, 93, 252, 0.35);
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}

.btn-login:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-login:active { transform: translateY(0); }

.lmd-login-org {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--lmd-border);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--lmd-muted);
  text-align: center;
}

.lmd-login-org strong { color: var(--lmd-ink); font-weight: 700; }

@media (max-width: 860px) {
  .lmd-login-shell { grid-template-columns: 1fr; max-width: 440px; }
  .lmd-login-visual { padding: 26px 24px; }
  .lmd-login-hero { margin: 22px 0 18px; }
  .lmd-login-hero h1 { font-size: 21px; }
  .lmd-login-features { display: none; }
  .lmd-login-form-wrap { padding: 28px 24px; }
}
