/* ══════════════════════════════
   AUTH PAGES
══════════════════════════════ */
.auth-body {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Arka plan */
.auth-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.auth-orb-1 {
  width: 600px; height: 600px;
  top: -150px; left: -100px;
  background: radial-gradient(circle, rgba(255,70,85,.35) 0%, transparent 70%);
}

.auth-orb-2 {
  width: 500px; height: 500px;
  bottom: -100px; right: -80px;
  background: radial-gradient(circle, rgba(129,140,248,.3) 0%, transparent 70%);
}

.auth-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Layout */
.auth-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100vh;
}

/* Sol panel */
.auth-left {
  width: 420px;
  flex-shrink: 0;
  background: rgba(255,70,85,.04);
  border-right: 1px solid rgba(255,70,85,.12);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-left-title {
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: #fff;
}

.alr {
  background: linear-gradient(90deg, #ff4655, #ff8a95);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-left-desc {
  font-size: 15px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

/* Bilgi kutusu */
.auth-info-box {
  display: flex;
  gap: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 18px;
}

.aib-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }

.aib-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.aib-desc {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
}

/* Özellik listesi */
.auth-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.af-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}

.af-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.af-red    { background: #ff4655; box-shadow: 0 0 8px #ff4655; }
.af-blue   { background: #818cf8; box-shadow: 0 0 8px #818cf8; }
.af-purple { background: #a855f7; box-shadow: 0 0 8px #a855f7; }
.af-green  { background: #22c55e; box-shadow: 0 0 8px #22c55e; }

/* Sağ panel */
.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow-y: auto;
}

/* Kart */
.auth-card {
  width: 100%;
  max-width: 520px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 32px 40px;
  backdrop-filter: blur(20px);
}

.auth-card-header { margin-bottom: 20px; }

.auth-card-title {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}

.auth-card-sub {
  font-size: 14px;
  color: rgba(255,255,255,.4);
}

.auth-card-sub a {
  color: #ff4655;
  font-weight: 600;
}

.auth-card-sub a:hover { text-decoration: underline; }

/* Alert */
.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.auth-alert-error   { background: rgba(255,70,85,.1);  border: 1px solid rgba(255,70,85,.3);  color: #ff8a95; }
.auth-alert-success { background: rgba(34,197,94,.1);  border: 1px solid rgba(34,197,94,.3);  color: #86efac; }

/* Form */
.auth-form { display: flex; flex-direction: column; gap: 12px; }

.auth-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.auth-field label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}

.req { color: #ff4655; }

.auth-optional {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  font-weight: 400;
}

.auth-field input {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 9px 12px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
  width: 100%;
}

.auth-field input:focus {
  border-color: rgba(255,70,85,.6);
  box-shadow: 0 0 0 3px rgba(255,70,85,.1);
}

.auth-field input::placeholder { color: rgba(255,255,255,.25); }

.auth-input-wrap {
  position: relative;
}

.auth-input-wrap input { padding-right: 46px; }

.toggle-pass {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  opacity: 1;
  transition: all .2s;
  padding: 0;
  color: #fff;
  filter: brightness(2);
}

.toggle-pass:hover {
  background: rgba(255,70,85,.25);
  border-color: rgba(255,70,85,.5);
}

.auth-field-hint {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  line-height: 1.4;
}

/* Beni hatırla + şifremi unuttum */
.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  user-select: none;
}

.auth-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: #ff4655;
  cursor: pointer;
}

.auth-forgot {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}

.auth-forgot:hover { color: #ff4655; }

/* Submit */
.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 11px;
  background: #ff4655;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 0 24px rgba(255,70,85,.35);
  margin-top: 4px;
}

.auth-submit:hover {
  background: #e03040;
  box-shadow: 0 0 50px rgba(255,70,85,.6);
  transform: translateY(-2px);
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: rgba(255,255,255,.2);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.08);
}

/* Alt buton */
.auth-alt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
}

.auth-alt-btn:hover {
  background: rgba(255,70,85,.08);
  border-color: rgba(255,70,85,.3);
  color: #ff4655;
}

.pass-strength-wrap{
  display:flex;align-items:center;gap:12px;margin-top:2px;
}
.pass-strength-bar{
  flex:1;height:4px;background:rgba(255,255,255,.08);
  border-radius:4px;overflow:hidden;
}
.pass-strength-fill{
  height:100%;width:0%;border-radius:4px;
  transition:width .3s, background .3s;
}
.pass-strength-label{
  font-size:11px;color:rgba(255,255,255,.35);
  white-space:nowrap;min-width:60px;text-align:right;
  transition:color .3s;
}

.auth-alt-btn-wrap { margin-top: 12px; }

/* Alt özellik listesi */
.auth-features-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.afb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}

.afb-item .af-dot {
  animation: dot-pulse 2s ease-in-out infinite;
}
.afb-item:nth-child(1) .af-dot { animation-delay: 0s; }
.afb-item:nth-child(2) .af-dot { animation-delay: .4s; }
.afb-item:nth-child(3) .af-dot { animation-delay: .8s; }
.afb-item:nth-child(4) .af-dot { animation-delay: 1.2s; }

@keyframes dot-pulse {
  0%,100% { transform:scale(1);   opacity:1; }
  50%      { transform:scale(1.6); opacity:.6; }
}

/* Kart neon çerçeve animasyonu */
.auth-card {
  animation: card-neon 3s ease-in-out infinite;
}

/* Login kartı — kırmızı */
.auth-right.login-right .auth-card {
  animation: card-neon-red 3s ease-in-out infinite;
}

/* Register kartı — mavi/mor */
.auth-right.register-right .auth-card {
  animation: card-neon-blue 3s ease-in-out infinite;
}

@keyframes card-neon-red {
  0%,100% {
    border-color: rgba(255,255,255,.08);
    box-shadow: 0 0 0 rgba(255,70,85,0);
  }
  50% {
    border-color: rgba(255,70,85,.5);
    box-shadow: 0 0 30px rgba(255,70,85,.2), inset 0 0 20px rgba(255,70,85,.05);
  }
}

@keyframes card-neon-blue {
  0%,100% {
    border-color: rgba(255,255,255,.08);
    box-shadow: 0 0 0 rgba(129,140,248,0);
  }
  50% {
    border-color: rgba(129,140,248,.5);
    box-shadow: 0 0 30px rgba(129,140,248,.2), inset 0 0 20px rgba(129,140,248,.05);
  }
}

/* Hover'da animasyon durur, sabit parlak */
.auth-right.login-right .auth-card:hover {
  animation: none;
  border-color: rgba(255,70,85,.7);
  box-shadow: 0 0 40px rgba(255,70,85,.3), inset 0 0 24px rgba(255,70,85,.07);
}
.auth-right.register-right .auth-card:hover {
  animation: none;
  border-color: rgba(129,140,248,.7);
  box-shadow: 0 0 40px rgba(129,140,248,.3), inset 0 0 24px rgba(129,140,248,.07);
}

/* Sol panel feature kartları */
.auth-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.auth-feat-card {
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid transparent;
  background: rgba(255,255,255,.03);
  transition: transform .25s;
  cursor: default;
}

.auth-feat-card:hover { transform: translateY(-2px); }

.afc-icon { font-size: 22px; }
.afc-title { font-size: 12px; font-weight: 700; color: #fff; line-height: 1.3; }

/* Neon animasyonlar */
.afc-red    { animation: afc-pulse-red    2.2s ease-in-out infinite; }
.afc-blue   { animation: afc-pulse-blue   2.2s ease-in-out infinite .4s; }
.afc-purple { animation: afc-pulse-purple 2.2s ease-in-out infinite .8s; }
.afc-green  { animation: afc-pulse-green  2.2s ease-in-out infinite 1.2s; }

@keyframes afc-pulse-red {
  0%,100%{ border-color:rgba(255,70,85,.12);  box-shadow:0 0 0 rgba(255,70,85,0);    background:rgba(255,70,85,.04); }
  50%    { border-color:rgba(255,70,85,.8);   box-shadow:0 0 16px rgba(255,70,85,.4); background:rgba(255,70,85,.09); }
}
@keyframes afc-pulse-blue {
  0%,100%{ border-color:rgba(129,140,248,.12); box-shadow:0 0 0 rgba(129,140,248,0);    background:rgba(129,140,248,.04); }
  50%    { border-color:rgba(129,140,248,.8);  box-shadow:0 0 16px rgba(129,140,248,.4); background:rgba(129,140,248,.09); }
}
@keyframes afc-pulse-purple {
  0%,100%{ border-color:rgba(168,85,247,.12); box-shadow:0 0 0 rgba(168,85,247,0);    background:rgba(168,85,247,.04); }
  50%    { border-color:rgba(168,85,247,.8);  box-shadow:0 0 16px rgba(168,85,247,.4); background:rgba(168,85,247,.09); }
}
@keyframes afc-pulse-green {
  0%,100%{ border-color:rgba(34,197,94,.12); box-shadow:0 0 0 rgba(34,197,94,0);    background:rgba(34,197,94,.04); }
  50%    { border-color:rgba(34,197,94,.8);  box-shadow:0 0 16px rgba(34,197,94,.4); background:rgba(34,197,94,.09); }
}

.afc-red:hover    { animation:none; border-color:rgba(255,70,85,.9);   box-shadow:0 0 20px rgba(255,70,85,.5);   background:rgba(255,70,85,.1); }
.afc-blue:hover   { animation:none; border-color:rgba(129,140,248,.9); box-shadow:0 0 20px rgba(129,140,248,.5); background:rgba(129,140,248,.1); }
.afc-purple:hover { animation:none; border-color:rgba(168,85,247,.9);  box-shadow:0 0 20px rgba(168,85,247,.5);  background:rgba(168,85,247,.1); }
.afc-green:hover  { animation:none; border-color:rgba(34,197,94,.9);   box-shadow:0 0 20px rgba(34,197,94,.5);   background:rgba(34,197,94,.1); }

/* Mobil header & footer — masaüstünde gizli */
.auth-mobile-header{
  display:none;
  position:fixed;top:0;left:0;right:0;z-index:200;
  height:56px;align-items:center;padding:0 20px;
  background:rgba(8,8,15,.95);backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
}

.auth-mobile-footer{
  display:none;
  position:fixed;bottom:0;left:0;right:0;z-index:200;
  padding:12px 20px;
  background:rgba(8,8,15,.95);backdrop-filter:blur(20px);
  border-top:1px solid var(--border);
  font-size:11px;color:rgba(255,255,255,.3);
  text-align:center;
}

/* Responsive */
@media (max-width: 900px) {
  .auth-left { display: none; }
  .auth-card { padding: 28px 24px; }

  /* Header & footer göster */
  .auth-mobile-header{ display:flex; }
  .auth-mobile-footer{ display:block; }

  /* Wrap'i header/footer arasına sığdır */
  .auth-body{ display:flex; flex-direction:column; }
  .auth-wrap{
    padding-top:56px;
    padding-bottom:44px;
    height:100vh;
    overflow-y:auto;
  }
}

@media (max-width: 540px) {
  .auth-field-row { grid-template-columns: 1fr; }
  .auth-right { padding: 20px; }
}
