/* =====================================================================
   Login v2 sayfa duzeni: marka paneli (mobilde ust, masaustunde sol) + kart.
   Referans: docs/design/login-v2/prototip.html (ayni kisitlar: bkz. ui.css basi)
   ===================================================================== */

.lv { min-height: 100vh; }

/* ---------- Marka paneli ---------- */
.lv-brand {
  position: relative; overflow: hidden; color: #fff; background: var(--grad);
  padding: 14px 18px 74px;
}
.lv-blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(30px); }
.lv-blob-a { width: 260px; height: 260px; background: rgba(255, 255, 255, .25); top: -90px; right: -60px; animation: lv-blob 9s ease-in-out infinite; }
.lv-blob-b { width: 240px; height: 240px; background: rgba(255, 190, 110, .35); bottom: -110px; left: -60px; animation: lv-blob 12s ease-in-out infinite reverse; }
@keyframes lv-blob { 50% { transform: translate(-40px, 30px) scale(1.2); } }
.lv-spark {
  position: absolute; width: 10px; height: 10px; background: #fff; pointer-events: none;
  -webkit-clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: lv-twinkle 2.4s ease-in-out infinite;
}
@keyframes lv-twinkle { 0%, 100% { opacity: .1; transform: scale(.5); } 50% { opacity: 1; transform: scale(1); } }

.lv-top { position: relative; display: flex; align-items: center; min-height: 40px; }
.lv-logo { display: flex; align-items: center; font: 700 19px/1 var(--font-hd); font-stretch: 115%; color: #fff; text-decoration: none; }
.lv-logo img { display: block; max-height: 36px; max-width: 180px; }
.lv-logo-mark {
  width: 34px; height: 34px; border-radius: 11px; margin-right: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
}
[dir=rtl] .lv-logo-mark { margin: 0 0 0 10px; }
.lv-logo-mark .lv-ic { width: 18px; height: 18px; }

.lv-orbit { position: relative; width: 150px; height: 150px; margin: 14px auto 0; }
.lv-ring1, .lv-ring2 { position: absolute; border-radius: 50%; }
.lv-ring1 { top: 0; left: 0; right: 0; bottom: 0; border: 1.5px dashed rgba(255, 255, 255, .35); animation: lv-spin 40s linear infinite; }
.lv-ring2 { top: 30px; left: 30px; right: 30px; bottom: 30px; border: 1.5px solid rgba(255, 255, 255, .18); }
.lv-core {
  position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .95); color: #d6249f;
  box-shadow: 0 18px 34px -12px rgba(0, 0, 0, .35);
}
.lv-core .lv-ic { width: 32px; height: 32px; }
.lv-core::before, .lv-core::after {
  content: ""; position: absolute; top: -6px; left: -6px; right: -6px; bottom: -6px; border-radius: 26px;
  border: 2px solid rgba(255, 255, 255, .7); animation: lv-ripple 2.6s ease-out infinite;
}
.lv-core::after { animation-delay: 1.3s; }
@keyframes lv-ripple { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(1.7); } }
.lv-spin { position: absolute; top: 0; left: 0; right: 0; bottom: 0; animation: lv-spin 26s linear infinite; }
.lv-oi {
  position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 12px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--c2), var(--c));
  box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .35), inset 0 1.5px 0 rgba(255, 255, 255, .5);
  animation: lv-spin 26s linear infinite reverse;
}
.lv-oi .lv-ic { width: 18px; height: 18px; }
.lv-tag {
  position: relative; margin: 30px auto 0; max-width: 330px; text-align: center;
  font: 700 20px/1.15 var(--font-hd); font-stretch: 115%;
}
.lv-disc { display: none; position: relative; align-items: flex-start; font-size: 12px; opacity: .85; max-width: 360px; margin: 0; }
.lv-disc .lv-ic { width: 15px; height: 15px; margin: 2px 8px 0 0; flex: none; }
[dir=rtl] .lv-disc .lv-ic { margin: 2px 0 0 8px; }
/* Bekleme / sonuc gorunumunde mobil panel daralir: onemli icerik hemen gorunsun */
.lv.is-waiting .lv-orbit, .lv.is-waiting .lv-tag { display: none; }
.lv.is-waiting .lv-brand { padding-bottom: 64px; }

/* ---------- Kart ---------- */
.lv-main { position: relative; z-index: 2; padding: 0 14px 28px; margin-top: -54px; }
.lv-card {
  position: relative; background: #fff; border-radius: 30px; padding: 24px 20px 20px;
  box-shadow: 0 1px 2px rgba(23, 19, 43, .04), 0 24px 50px -24px rgba(23, 19, 43, .3);
  max-width: 460px; margin: 0 auto;
}

/* ---------- Geri bildirim: feedback-modal.css'in .fb-trigger kurallari v2 butonunu ezmesin ---------- */
.lv-fb.fb-trigger { display: flex; text-decoration: none; margin-top: 14px; font-size: 13px; color: var(--ink); }
.lv-fb.fb-trigger:hover { color: var(--ink); }

/* ---------- Geri bildirim penceresi: v2 gorunumu (feedback-modal.css uzerine) ---------- */
.fb-modal__panel { border-radius: 26px !important; font-family: var(--font); }
.fb-modal__title { font-family: var(--font-hd); font-stretch: 115%; }

/* ---------- Masaustu ---------- */
@media (min-width: 880px) {
  .lv { display: flex; }
  .lv-brand { width: 50%; min-height: 100vh; padding: 28px 44px 40px; display: flex; flex-direction: column; }
  .lv-orbit, .lv.is-waiting .lv-orbit { display: block; width: 300px; height: 300px; margin: auto; }
  .lv.is-waiting .lv-tag { display: block; }
  .lv.is-waiting .lv-brand { padding-bottom: 40px; }
  .lv-ring2 { top: 50px; left: 50px; right: 50px; bottom: 50px; }
  .lv-core { width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 32px; }
  .lv-core .lv-ic { width: 52px; height: 52px; }
  .lv-oi { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 18px; }
  .lv-oi .lv-ic { width: 27px; height: 27px; }
  .lv-tag { font-size: 38px; max-width: 460px; margin: 24px auto 28px; }
  .lv-disc { display: flex; margin: 0 auto; }
  .lv-main { width: 50%; margin: 0; padding: 40px; display: flex; align-items: center; justify-content: center; }
  .lv-card { width: 100%; max-width: 430px; padding: 30px 30px 24px; }
  .lv-h1 { font-size: 32px; }
  .lv-notes .lv-nc { display: none; }
}

/* Hafif mod (bkz. ui.css): bulanik lekeler ve parlamalar kalkar, donen ikonlar durur (sayfa ayni gorunur). */
.lv-lite .lv-blob, .lv-lite .lv-spark, .lv-lite .lv-core::before, .lv-lite .lv-core::after { display: none; }
.lv-lite .lv-spin, .lv-lite .lv-oi, .lv-lite .lv-ring1 { animation: none !important; }
