/*
 * login.css — Yönetici giriş ekranı (sinematik tam-ekran sahne + yüzen 3D cam kart)
 * Created by: Maki
 * Developed by: Maki
 * Created: 2026-06-23
 */

#login-screen {
  position: fixed; inset: 0; z-index: 1000;
  background: #0c0608 url('/admin/assets/mythmk.jpg') center / cover no-repeat;
  overflow: hidden;
}
/* Sinematik taban veil — görsel net görünür; yalnızca okunabilirlik için
   ince bir alt/sağ tonlama. Sol taraf neredeyse şeffaf (mythmk tam görünür). */
#login-screen::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(75% 85% at 82% 50%, rgba(214, 59, 54, .14), transparent 62%),
    linear-gradient(90deg, rgba(10, 5, 7, .24) 0%, rgba(10, 5, 7, .02) 26%, rgba(10, 5, 7, .04) 58%, rgba(10, 5, 7, .42) 100%),
    linear-gradient(0deg, rgba(9, 4, 6, .55) 0%, transparent 32%);
}
.lg-stage { position: relative; z-index: 1; display: flex; height: 100%; }

/* ── SOL: tanıtım sahnesi (görsel #login-screen'den gelir) ── */
.lg-side { position: relative; width: 56%; min-width: 460px; overflow: hidden; }
.lg-side-art { display: none; }
/* Sol panelde koyu kaplama yok — yalnızca metin bloklarının arkasında
   yumuşak, lokal bir tonlama ile okunabilirlik korunur. */
.lg-side-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 60% at 0% 100%, rgba(8, 4, 5, .62) 0%, transparent 58%),
    radial-gradient(80% 30% at 0% 0%, rgba(8, 4, 5, .42) 0%, transparent 60%);
}
.lg-side-inner {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 52px 56px;
  animation: lg-in .6s var(--ease) both;
}
@keyframes lg-in { from { opacity: 0; transform: translateX(-16px); } }

.lg-brand { display: flex; align-items: center; gap: 14px; }
.lg-brand img { width: 46px; height: 46px; filter: drop-shadow(0 6px 20px rgba(214, 59, 54, .6)); }
.lg-brand b { font-size: 19px; letter-spacing: .5px; display: block; }
.lg-brand b i { font-style: normal; color: var(--ember); }
.lg-brand span {
  display: block; color: var(--rose); font-size: 10px; font-weight: 800;
  letter-spacing: 2.4px; text-transform: uppercase; margin-top: 2px;
}

.lg-hero { max-width: 580px; }
.lg-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: var(--r-pill); margin-bottom: 22px;
  background: rgba(214, 59, 54, .16); border: 1px solid rgba(214, 59, 54, .38);
  color: #ffd9ce; font-size: 10.5px; font-weight: 800; letter-spacing: 2.8px;
  box-shadow: 0 8px 22px -10px rgba(214, 59, 54, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.lg-eyebrow svg { width: 13px; height: 13px; }
.lg-hero h2 {
  font-size: clamp(34px, 3.6vw, 52px); line-height: 1.06;
  letter-spacing: -.5px; margin-bottom: 18px; font-weight: 800;
  text-shadow: 0 6px 40px rgba(0, 0, 0, .65);
}
.lg-hero h2 em {
  font-style: normal;
  background: linear-gradient(100deg, #f6c0a6, var(--ember) 46%, #a51f1a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lg-hero p {
  color: #e7d2cb; font-size: 14.5px; line-height: 1.75; max-width: 470px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .6);
}

.lg-feats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  width: 100%; max-width: 580px; margin-top: 30px;
}
.lg-feat {
  display: flex; gap: 13px; align-items: center;
  background: linear-gradient(160deg, rgba(36, 20, 22, .66), rgba(20, 11, 13, .5));
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--r-md); padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: border-color var(--t-mid), transform var(--t-mid);
}
.lg-feat:hover {
  border-color: rgba(214, 59, 54, .3);
  box-shadow: 0 8px 20px -12px rgba(214, 59, 54, .35);
}
.lg-feat-ico {
  width: 40px; height: 40px; border-radius: var(--r-sm); flex-shrink: 0;
  display: grid; place-items: center; border: 1px solid;
}
.lg-feat-ico svg { width: 18px; height: 18px; }
.lg-feat-ico.c1 { background: rgba(214, 59, 54, .14); color: var(--ember); border-color: rgba(214, 59, 54, .3); }
.lg-feat-ico.c2 { background: rgba(111, 224, 160, .1); color: var(--green); border-color: rgba(111, 224, 160, .24); }
.lg-feat-ico.c3 { background: rgba(79, 209, 192, .1); color: var(--teal); border-color: rgba(79, 209, 192, .24); }
.lg-feat-ico.c4 { background: rgba(224, 177, 90, .12); color: var(--gold); border-color: rgba(224, 177, 90, .26); }
.lg-feat b { display: block; font-size: 13px; margin-bottom: 1px; }
.lg-feat span { color: var(--dim); font-size: 11px; }

.lg-foot { color: var(--dim); font-size: 10.5px; letter-spacing: .4px; }

/* ── SAĞ: yüzen 3D giriş kartı (arka plan sahneden gelir) ── */
.lg-main {
  position: relative; flex: 1; display: grid; place-items: center;
  padding: 40px; overflow: visible;
}
.lg-main::before {
  content: ''; position: absolute; width: 560px; height: 560px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(214, 59, 54, .28), transparent 72%);
  filter: blur(2px);
}

.lg-form {
  position: relative; z-index: 1;
  width: min(430px, 100%);
  padding: 38px 36px 32px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 26%),
    linear-gradient(158deg, rgba(44, 24, 27, .92) 0%, rgba(24, 13, 15, .94) 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow:
    0 46px 90px -34px rgba(0, 0, 0, .9),
    0 20px 44px -24px rgba(214, 59, 54, .5),
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(0, 0, 0, .4);
  animation: lg-card .55s var(--ease) both;
}
@keyframes lg-card { from { opacity: 0; transform: translateY(22px); } }
/* üst kor çizgisi — 3D kenarın üstünde ince ışık */
.lg-form::after {
  content: ''; position: absolute; top: -1px; left: 28px; right: 28px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--ember), transparent);
  opacity: .8;
}

.lg-form-head { text-align: center; margin-bottom: 26px; }
.lg-form-ico {
  position: relative;
  display: grid; place-items: center;
  width: 70px; height: 70px; margin: 0 auto 18px;
  border-radius: 22px;
  background: linear-gradient(150deg, #e3463b, #a51f1a);
  color: #fff;
  box-shadow:
    0 18px 34px -10px rgba(214, 59, 54, .7),
    inset 0 2px 0 rgba(255, 255, 255, .35),
    inset 0 -3px 8px rgba(0, 0, 0, .35);
}
.lg-form-ico::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .25), transparent 50%);
}
.lg-form-ico svg { position: relative; width: 32px; height: 32px; }
.lg-form-head h3 { font-size: 25px; letter-spacing: .2px; margin-bottom: 7px; font-weight: 800; }
.lg-form-head h3 em {
  font-style: normal;
  background: linear-gradient(100deg, #f6c0a6, var(--ember));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lg-form-head p { color: var(--muted); font-size: 13px; }

.lf-field { display: block; margin-bottom: 16px; }
.lf-label {
  display: flex; align-items: center; gap: 6px;
  color: var(--rose); font-size: 10px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px;
}
.lf-label svg { width: 12px; height: 12px; }
.lf-input { position: relative; }
.lf-input > svg {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--dim); pointer-events: none;
  transition: color var(--t-mid);
}
.lf-input:focus-within > svg { color: var(--ember); }
.lf-input input {
  width: 100%;
  background: rgba(12, 6, 8, .6);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--text); border-radius: 14px; padding: 15px 16px 15px 44px;
  font: inherit; font-size: 14px; outline: none;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35);
  transition: border-color var(--t-mid), box-shadow var(--t-mid), background var(--t-mid);
}
.lf-input input:focus {
  border-color: rgba(214, 59, 54, .7);
  background: rgba(18, 9, 11, .75);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35), 0 0 0 3px rgba(214, 59, 54, .16);
}
.lf-input input::placeholder { color: rgba(255, 255, 255, .24); transition: opacity .15s; }
.lf-input input:focus::placeholder { opacity: 0; }
.lf-input input:only-child { padding-left: 16px; }

.lg-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 14px;
  background: linear-gradient(180deg, #ec5246, #b2231d);
  color: #fff; border: none;
  border-radius: 14px; padding: 16px; font: inherit; font-weight: 800;
  font-size: 14px; letter-spacing: .5px; cursor: pointer;
  box-shadow:
    0 16px 32px -12px rgba(214, 59, 54, .75),
    inset 0 1px 0 rgba(255, 255, 255, .3),
    inset 0 -2px 6px rgba(0, 0, 0, .3);
  transition: transform .14s, filter .14s, box-shadow .14s;
}
.lg-submit svg { width: 17px; height: 17px; transition: transform .14s; }
.lg-submit:hover {
  filter: brightness(1.07);
  box-shadow: 0 22px 44px -14px rgba(214, 59, 54, .85), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.lg-submit:hover svg { transform: translateX(3px); }
.lg-submit:active { transform: translateY(0); }

.login-error { color: var(--red); font-size: 12.5px; margin-top: 14px; display: none; text-align: center; }

@media (max-width: 980px) {
  .lg-side { display: none; }
  #login-screen::before { background: linear-gradient(0deg, rgba(9, 4, 6, .92), rgba(9, 4, 6, .7)); }
}
