/* Panelim — Profesyonel giriş/kayıt ekranı (v1) */
body.ytp-auth-pro {
  background: #070d1a !important;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

/* ---- Arka plan katmanları ---- */
.lgn-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(21, 94, 239, .40), transparent 60%),
    radial-gradient(900px 480px at -6% 106%, rgba(18, 183, 106, .18), transparent 55%),
    linear-gradient(150deg, #070d1a 0%, #0b1220 46%, #0e1a33 100%);
}
.lgn-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  animation: lgnFloat 14s ease-in-out infinite;
}
.lgn-orb.o1 { width: 340px; height: 340px; left: -90px; top: 12%; background: rgba(21, 94, 239, .5); }
.lgn-orb.o2 { width: 300px; height: 300px; right: -110px; bottom: 6%; background: rgba(12, 122, 231, .42); animation-delay: -5s; }
.lgn-orb.o3 { width: 200px; height: 200px; left: 42%; top: -90px; background: rgba(18, 183, 106, .28); animation-delay: -9s; }
.lgn-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 72%);
}
@keyframes lgnFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(22px, -28px) scale(1.08); }
}

/* ---- Düzen ---- */
.lgn-wrap {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: stretch;
  gap: 0;
  padding: 28px 20px;
}
.lgn-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 7vh 44px 40px 20px;
  color: #f8fafc;
}
.lgn-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}
.lgn-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  font-size: 1.45rem;
  color: #fff;
  background: linear-gradient(160deg, #3b82f6, #155eef 55%, #0f3dbd);
  box-shadow: 0 10px 26px rgba(21, 94, 239, .45);
}
.lgn-name {
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -.02em;
  color: #fff;
}
.lgn-title {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.12;
  margin: 0 0 14px;
}
.lgn-lead {
  color: #98a2b3;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 26px;
  max-width: 440px;
}
.lgn-points {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 430px;
}
.lgn-points li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lgn-points li > i {
  color: #22c55e;
  font-size: 1.15rem;
  flex: 0 0 auto;
}
.lgn-points li span { display: flex; flex-direction: column; }
.lgn-points b { font-weight: 700; font-size: .95rem; }
.lgn-points small { color: #98a2b3; font-size: .82rem; }
.lgn-live {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: #cbd5e1;
}
.lgn-live-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 0 rgba(18, 183, 106, .55);
  animation: lgnPulse 1.6s ease-in-out infinite;
}
@keyframes lgnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(18, 183, 106, .55); }
  50% { box-shadow: 0 0 0 9px rgba(18, 183, 106, 0); }
}

/* ---- Kart tarafı ---- */
.lgn-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 6px;
  min-width: 0;
}
.lgn-card {
  width: min(430px, 100%);
  background: #fff;
  border: 1px solid rgba(16, 24, 40, .06);
  border-radius: 22px;
  padding: 34px 32px 30px;
  box-shadow: 0 28px 70px rgba(2, 6, 23, .5), 0 8px 24px rgba(2, 6, 23, .25);
}
[data-bs-theme="dark"] .lgn-card { background: #0f172a; border-color: rgba(148,163,184,.14); }
.lgn-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.lgn-card-ico {
  width: 48px; height: 48px; flex: 0 0 auto;
  border-radius: 15px;
  display: grid; place-items: center;
  font-size: 1.35rem;
  color: #155eef;
  background: rgba(21, 94, 239, .1);
}
.lgn-card-head h3 {
  margin: 0 0 2px;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.lgn-card-head p { margin: 0; color: #667085; font-size: .84rem; }

.lgn-f {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: #344054;
  margin: 0 0 6px 2px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
[data-bs-theme="dark"] .lgn-f { color: #98a2b3; }
.lgn-input {
  position: relative;
  margin-bottom: 18px;
}
.lgn-input > i {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: #98a2b3;
  font-size: 1rem;
  pointer-events: none;
}
.lgn-input input {
  width: 100%;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  padding: 13px 40px 13px 42px;
  font-size: .95rem;
  background: #fcfcfd;
  color: #101828;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
[data-bs-theme="dark"] .lgn-input input { background: #0b1220; border-color: #26304a; color: #f8fafc; }
.lgn-input input:focus {
  border-color: #155eef;
  box-shadow: 0 0 0 4px rgba(21, 94, 239, .14);
  background: #fff;
}
.lgn-eye {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #98a2b3;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}
.lgn-eye:hover { color: #155eef; background: rgba(21,94,239,.08); }
.lgn-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(160deg, #3b82f6, #155eef 58%, #1d4ed8);
  box-shadow: 0 14px 30px rgba(21, 94, 239, .35);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.lgn-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(21, 94, 239, .45); filter: brightness(1.04); }
.lgn-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.lgn-btn.loading { opacity: .8; }
.lgn-alt {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .85rem;
  color: #667085;
}
[data-bs-theme="dark"] .lgn-alt { color: #98a2b3; }
.lgn-alt a { color: #155eef; text-decoration: none; font-weight: 700; }
.lgn-alt a:hover { text-decoration: underline; }
.lgn-foot {
  margin: 20px 0 0;
  font-size: .78rem;
  color: #7c8aa0;
  text-align: center;
}

/* Hata kutusu */
.lgn-card .alert-danger {
  border-radius: 12px;
  font-weight: 600;
  font-size: .86rem;
  animation: none !important;
}

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .lgn-wrap { grid-template-columns: 1fr; padding: 20px 14px; }
  .lgn-panel { padding: 18px 10px 8px; }
  .lgn-title { font-size: 1.6rem; }
  .lgn-points { grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
  .lgn-live { margin-top: 10px; }
  .lgn-side { padding-top: 6px; }
}

/* Açık tema geçersiz kılmaları (daima koyu zemin korunur) */
[data-bs-theme="light"] body.ytp-auth-pro { background: #070d1a !important; }