:root{
  --bg:#0b0c10;
  --surface:#12141b;
  --surface-2:#0f1116;
  --text:#e7e7ea;
  --muted:#a1a6b3;
  --border:#1b2030;
  --brand-1:#8b5cf6;
  --brand-2:#6d28d9;

  --err-bg:#2b1315;  --err-bd:#5a1a1f;  --err-tx:#ffd2d2;
  --ok-bg:#102a17;   --ok-bd:#1d5d2f;   --ok-tx:#d0ffd9;

  --radius:22px;
  --field-h:48px;
}

/* ------ Arka Plan + Dış Container ------ */
.auth-wrap,
.auth-login{
  background: radial-gradient(1200px 300px at 50% 0%, rgba(139,92,246,.25), transparent 60%) var(--bg);
  color: var(--text);
  padding: 50px 20px 40px;
}

/* İç container */
.auth-wrap .auth-box,
.auth-login .authl-container{ max-width: 1400px; margin: 0 auto; padding: 0 16px; }

/* ------ Kart/İkili Grid ------ */
.auth-box,
.auth-login .authl-card{
  display: grid;
  grid-template-columns: 1.1fr .9fr;      /* aynı oran */
  gap: 28px;
  background: transparent;                /* paneller ayrı ayrı */
}

/* ------ Sol Panel (Form) ------ */
.auth-left,
.auth-login .authl-left{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.auth-left h2,
.auth-login .authl-title{
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

/* Form grid */
.form-grid,
.auth-login .authl-grid{ display: grid; grid-template-columns: 1fr; gap: 14px; }

.fg,
.auth-login .authl-fg{ display:flex; flex-direction:column; position:relative; gap:6px; }

.fg label,
.auth-login .authl-fg label{ font-size:13px; color:#cfd3de; font-weight:600; }

.fg input,
.auth-login .authl-fg input{
  width: 100%;
  height: var(--field-h);
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid #232838;
  background: var(--surface-2);
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s, transform .05s;
}
.fg input::placeholder,
.auth-login .authl-fg input::placeholder{ color: rgba(255,255,255,.7); }

.fg input:focus,
.auth-login .authl-fg input:focus{
  border-color: var(--brand-1);
  box-shadow: 0 0 0 3px rgba(139,92,246,.15);
}

/* Hata mesajı (input altı) */
.val-msg,
.auth-login .authl-err{ font-size:13px; color:#ffb4b4; min-height:18px; margin-top:6px; }
.fg.invalid .val-msg{ display:block; }

/* Şifre alanı + göz butonu */
.pass .pass-field,
.auth-login .authl-passwrap{ position:relative; height:var(--field-h); display:flex; align-items:center; }
.pass .pass-field input,
.auth-login .authl-passwrap input{ width:100%; height:100%; padding-right:46px; }

.pass .eye,
.auth-login .authl-eye{
  position:absolute; right:8px; top:50%; transform:translateY(-50%);
  width:28px; height:28px; border-radius:8px; border:1px solid #262b3c;
  background: linear-gradient(180deg,#161823,#0f1116);
  cursor:pointer;
}
.pass .eye:hover,
.auth-login .authl-eye:hover{ filter: brightness(1.05); }

.pass .eye::before,
.auth-login .authl-eye::before{
  content:''; position:absolute; inset:0;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 5c-7 0-10 7-10 7s3 7 10 7 10-7 10-7-3-7-10-7zm0 12a5 5 0 1 1 0-10 5 5 0 0 1 0 10z"/></svg>') center/18px 18px no-repeat;
  background:#cfd3de;
}
.pass .eye.show::before,
.auth-login .authl-eye.is-on::before{
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M2 5.27 3.28 4 20 20.72 18.73 22l-2.22-2.22A12 12 0 0 1 12 19C5 19 2 12 2 12a19.7 19.7 0 0 1 4.46-5.73L2 5.27z"/></svg>') center/18px 18px no-repeat;
}

/* KVKK ve durum mesajı */
.kvkk-box{ display:flex; align-items:flex-start; gap:10px; margin:12px 0 4px; color:#d9d9f2; font-size:12px; }
.kvkk-box a{ color:#b48bff; text-decoration:none; }
.kvkk-box a:hover{ text-decoration:underline; }
.kvkk-msg{ display:none; margin-top:6px; font-size:12px; color:#ff8a8a; }
.kvkk-box.invalid{ outline:2px solid rgba(255,92,92,.20); border-radius:10px; padding:6px; }
.kvkk-box.invalid + .kvkk-msg{ display:block; }

/* Giriş sayfası üst satırı */
.auth-login .authl-row{ display:flex; align-items:center; justify-content:space-between; margin-top:8px; }
.auth-login .authl-chk{ display:flex; gap:8px; align-items:center; color:var(--muted); font-size:14px; }
.auth-login .authl-link{ color:#b4c5ff; text-decoration:none; font-weight:600; }
.auth-login .authl-link:hover{ text-decoration:underline; }

.auth-login .authl-muted{ color:var(--muted); text-align:center; margin-top:12px; }

/* ------ Birincil Buton (ikisi de aynı) ------ */
.btn-primary.wide,
.auth-login .authl-btn{
  width:100%; height:46px; margin-top:16px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  font-weight:800; color:#fff; cursor:pointer;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 12px 28px rgba(109,40,217,.35), inset 0 1px 0 rgba(255,255,255,.08);
}
.btn-primary.wide:active,
.auth-login .authl-btn:active{ transform: translateY(1px); }

/* Alert kutuları (login) */
.auth-login .authl-alert{ padding:10px 12px; border-radius: 12px; border:1px solid transparent; margin:10px 0; font-size:14px; }
.auth-login .authl-alert-error{ background: var(--err-bg); border-color: var(--err-bd); color: var(--err-tx); }
.auth-login .authl-alert-success{ background: var(--ok-bg);  border-color: var(--ok-bd);  color: var(--ok-tx); }

/* ------ Sağ Panel (Logo/ görsel) – ikisi aynı ------ */
.auth-right,
.auth-login .authl-right{
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(139,92,246,.35), rgba(109,40,217,.15)),
    linear-gradient(145deg, #1a1125, #0f1116 60%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  min-height: 220px;
}
.auth-right .brand-img,
.auth-login .authl-right img{ max-width: 280px; filter: drop-shadow(0 14px 30px rgba(0,0,0,.4)); }

/* Blur orb (kayıt sağ panelde varsa) */
.blur-orb{ position:absolute; width:420px; height:420px; border-radius:50%;
  background: radial-gradient(circle, rgba(180,90,255,.35), rgba(0,0,0,0));
  filter: blur(40px); right:-120px; bottom:-120px; pointer-events:none;
}

/* ------ Doğrulama Modal (kayıt) ------ */
.verify-modal .v-meta{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; margin:6px 0 4px; font-size:13px; color:#cfd0ff;
}

/* Yeniden gönder: link-vari secondary buton */
.verify-modal .link-btn{
  appearance:none; border:1px solid transparent;
  background:transparent; color:#cdb8ff;
  font-weight:700; font-size:13px; letter-spacing:.1px;
  padding:6px 10px; border-radius:10px; cursor:pointer;
  display:inline-flex; align-items:center; gap:8px;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .05s;
  outline: none;
}
.verify-modal .link-btn::before{
  content:""; width:16px; height:16px; display:inline-block;
  background: currentColor;
  mask: url('data:image/svg+xml;utf8,\
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\
    <path fill="white" d="M12 6V2l-5 5 5 5V8c3.31 0 6 2.69 6 6a6 6 0 0 1-6 6 6 6 0 0 1-5.65-4H4.26A8 8 0 0 0 20 14c0-4.42-3.58-8-8-8z"/>\
  </svg>') center / 16px 16px no-repeat;
}

/* Hover/focus: cam efekti + ince çerçeve */
.verify-modal .link-btn:not(:disabled):hover,
.verify-modal .link-btn:not(:disabled):focus-visible{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-color: rgba(255,255,255,.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 16px rgba(0,0,0,.25);
}
.verify-modal .link-btn:not(:disabled):active{
  transform: translateY(1px);
}

/* Disabled/cooldown görünümü */
.verify-modal .link-btn:disabled{
  cursor: default;
  color: #9aa0b8;
  background: transparent;
  border-color: transparent;
  opacity: .75;
  box-shadow: none;
}

/* Küçük ekranlarda metni kırpmasın */
@media (max-width:420px){
  .verify-modal .link-btn{ padding:6px 8px; font-size:12px; }
}
/* ------ Responsive ------ */
@media (max-width:1024px){
  .auth-box,
  .auth-login .authl-card{ grid-template-columns:1fr; }
  .auth-right,
  .auth-login .authl-right{ min-height:200px; }
}
@media (max-width:600px){
  .auth-wrap .auth-box{ grid-template-areas:"right" "left"; }
}

.auth-wrap{ background: radial-gradient(1200px 300px at 50% 0%, rgba(139,92,246,.25), transparent 60%) var(--bg); color: var(--text); padding: 50px 20px 40px; }
.auth-box{ max-width:1200px; margin:0 auto; padding:0 16px; display:grid; grid-template-columns:1.1fr .9fr; gap:28px; }
.auth-left{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:24px; box-shadow:0 10px 30px rgba(0,0,0,.35); }
.auth-left h2{ margin:0 0 12px; font-size:22px; font-weight:800; color:#fff; }
.form-grid{ display:grid; grid-template-columns:1fr; gap:14px; }
.fg{ display:flex; flex-direction:column; gap:6px; }
.fg label{ font-size:13px; color:#cfd3de; font-weight:600; }
.fg input, .select{ width:100%; height:var(--field-h); padding:0 12px; border-radius:12px; border:1px solid #232838; background:var(--surface-2); color:var(--text); outline:none; transition:border-color .15s, box-shadow .15s; }
.fg input:focus, .select:focus{ border-color:#8b5cf6; box-shadow:0 0 0 3px rgba(139,92,246,.15); }
.hint{ margin-top:4px; font-size:12px; color:#bfbfe6; }
.btn-primary.wide{ width:100%; height:46px; margin-top:16px; border:1px solid rgba(255,255,255,.12); border-radius:12px; font-weight:800; color:#fff; cursor:pointer; background:linear-gradient(90deg,#8b5cf6,#6d28d9); box-shadow:0 12px 28px rgba(109,40,217,.35), inset 0 1px 0 rgba(255,255,255,.08); }
.auth-right{ background: radial-gradient(600px 300px at 50% 0%, rgba(139,92,246,.35), rgba(109,40,217,.15)), linear-gradient(145deg, #1a1125, #0f1116 60%); border:1px solid var(--border); border-radius:var(--radius); padding:24px; display:flex; align-items:center; justify-content:center; box-shadow:0 10px 30px rgba(0,0,0,.35); min-height:220px; }
.authl-alert{ padding:10px 12px; border-radius:12px; border:1px solid transparent; margin:10px 0; font-size:14px; }
.authl-alert-error{ background:#2b1315; border-color:#5a1a1f; color:#ffd2d2; }
.authl-alert-success{ background:#102a17; border-color:#1d5d2f; color:#d0ffd9; }
.sep{ border:0; border-top:1px solid rgba(255,255,255,.08); margin:18px 0; }
.subttl{ margin:0 0 8px; font-size:16px; color:#cfd3de; }
@media (max-width:1024px){ .auth-box{ grid-template-columns:1fr; } .auth-right{ min-height:200px; } }

.hidden{ display:none !important; }

/* Modal katmanı */
.verify-modal{
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 8, 15, 0.72);
  backdrop-filter: saturate(120%) blur(6px);
}

/* İç kutu */
.verify-modal .box{
  width: min(520px, calc(100% - 32px));
  background: var(--surface, #12141b);
  border: 1px solid var(--border, #1b2030);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
}

/* Başlık alanı */
.verify-modal .v-header{
  text-align:center;
  margin-bottom: 12px;
  color: var(--text, #e7e7ea);
}
.verify-modal .v-header .v-icon{
  font-size: 28px;
  margin-bottom: 6px;
}

/* OTP kutuları */
.verify-modal .otp{
  display:flex; gap:10px; justify-content:center;
  margin: 12px 0 10px;
}
.verify-modal .otp-input{
  width: 46px; height: 54px;
  text-align: center;
  font-size: 1.15rem; letter-spacing: .5px;
  background: var(--surface-2, #0f1116);
  border: 1px solid var(--border, #1b2030);
  border-radius: 12px;
  color: var(--text, #e7e7ea);
}
.verify-modal .otp-input:focus{
  outline: none;
  border-color: var(--brand-1, #8b5cf6);
  box-shadow: 0 0 0 2px rgba(139,92,246,.35);
}

/* Meta satırı: (süre + yeniden gönder) — link-btn zaten var */
.verify-modal .v-meta{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; margin:6px 0 4px; font-size:13px; color:#cfd0ff;
}

/* Hata/mesaj alanı */
.verify-modal #verifyMsg{
  display:block; min-height: 18px;
  margin: 6px 0 10px; text-align:center; color:#ff9d9f;
  opacity: .95; transform: translateY(0); transition: opacity .15s, transform .15s;
}
.verify-modal #verifyMsg:not(.show){ opacity:0; transform: translateY(-2px); }

/* Butonlar */
.verify-modal .v-actions{
  display:flex; justify-content:center; margin-top: 4px;
}
.verify-modal .btn-primary{
  padding: 10px 18px; border-radius: 10px; cursor: pointer;
}

