/* Giriş ve şifre sıfırlama sayfaları (accounts/templates/accounts/login.html, forgot_password.html) */

:root {
  color-scheme: light;
  --lg-accent: #ffc104;
  --lg-ink: #0b0b0b;
  --lg-ink-2: #52514e;
  --lg-muted: #898781;
  --lg-border: rgba(11, 11, 11, .14);
  --lg-danger: #c4262b;
}

.lg-body {
  margin: 0;
  background: #fff;
  color: var(--lg-ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Sayfa kaydırma çubuğu gizli; kaydırma çalışmaya devam eder */
html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

.lg-shell {
  display: grid;
  grid-template-columns: minmax(320px, 5fr) 6fr;
  min-height: 100vh;
}

/* ---------- sol: marka paneli ---------- */
.lg-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 48px;
  overflow: hidden;
  background: #0b0b0b;
  color: #fff;
}

/* ince ızgara + sarı ışıma */
.lg-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 320px at 85% 8%, rgba(255, 193, 4, .28), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 36px 36px;
  pointer-events: none;
}

.lg-brand > * {
  position: relative;
}

.lg-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .2px;
}

.lg-mark i {
  color: var(--lg-accent);
  font-size: 22px;
}

.lg-live {
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--lg-accent);
  color: #0b0b0b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lg-pitch h2 {
  max-width: 14em;
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.18;
}

.lg-pitch h2 em {
  color: var(--lg-accent);
  font-style: normal;
}

.lg-pitch p {
  max-width: 28em;
  margin: 0;
  color: #b9b9b3;
  font-size: 15px;
  line-height: 1.55;
}

.lg-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.lg-points li {
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: #dcdcd6;
  font-size: 13px;
}

.lg-copy {
  color: #77776f;
  font-size: 12.5px;
}

/* ---------- sağ: form ---------- */
.lg-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: #f4f4f2;
}

.lg-card {
  width: 100%;
  max-width: 400px;
}

.lg-logo {
  display: block;
  width: 150px;
  height: auto;
  margin: 0 0 28px;
  /* logonun beyaz zemini panelin gri zemininde görünmesin */
  mix-blend-mode: multiply;
}

.lg-card h1 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
}

.lg-sub {
  margin: 0 0 26px;
  color: var(--lg-ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}

.lg-field {
  margin-bottom: 16px;
}

.lg-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--lg-ink-2);
  font-size: 13px;
  font-weight: 600;
}

.lg-input {
  position: relative;
}

.lg-input > i {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--lg-muted);
  font-size: 15px;
  transform: translateY(-50%);
  pointer-events: none;
}

.lg-input .form-control {
  height: 46px;
  padding-left: 42px;
  border: 1px solid var(--lg-border);
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  box-shadow: none;
}

.lg-input .form-control:focus {
  border-color: var(--lg-accent);
  box-shadow: 0 0 0 3px rgba(255, 193, 4, .35);
}

.lg-input.has-toggle .form-control {
  padding-right: 46px;
}

.lg-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--lg-muted);
  transform: translateY(-50%);
}

.lg-toggle:hover,
.lg-toggle:focus-visible {
  background: rgba(11, 11, 11, .06);
  color: var(--lg-ink);
}

.lg-toggle i {
  position: static;
  transform: none;
}

.lg-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  padding: 11px 14px;
  border: 1px solid rgba(196, 38, 43, .25);
  border-radius: 10px;
  background: #fdeeee;
  color: var(--lg-danger);
  font-size: 14px;
  line-height: 1.45;
}

.lg-alert.is-ok {
  border-color: rgba(18, 128, 75, .28);
  background: #e9f7ef;
  color: #0f6b40;
}

.lg-alert i {
  margin-top: 2px;
}

.lg-submit {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--lg-accent);
  color: #0b0b0b;
  font-size: 15px;
  font-weight: 700;
  transition: background-color .15s ease, transform .05s ease;
}

.lg-submit:hover,
.lg-submit:focus-visible {
  background: #f0b400;
  color: #0b0b0b;
}

.lg-submit:active {
  transform: translateY(1px);
}

.lg-submit[disabled] {
  opacity: .7;
}

.lg-links {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

.lg-links a {
  color: var(--lg-ink-2);
  font-weight: 500;
}

.lg-links a:hover {
  color: var(--lg-ink);
  text-decoration: underline;
}

.lg-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 20px 0 0;
  color: var(--lg-ink-2);
  font-size: 13.5px;
  line-height: 1.45;
}

.lg-note i {
  margin-top: 2px;
  color: var(--lg-muted);
}

/* .lg-submit'i bağlantı olarak kullanan düğme (şifremi unuttum sayfası) */
.lg-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

/* ---------- dar ekran ---------- */
@media (max-width: 860px) {
  .lg-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .lg-brand {
    padding: 22px 24px;
  }

  .lg-pitch,
  .lg-copy {
    display: none;
  }

  .lg-panel {
    align-items: flex-start;
    padding-top: 32px;
  }
}
