/* auth.css — FashionTV Magazine Auth Pages */

body.auth-page {
  background: #0a0a0a;
  min-height: 100vh;
  font-family: var(--font-body);
  color: #fff;
  overflow-x: hidden;
  display: block;
}

/* ── MINIMAL HEADER ── */
.auth-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.auth-topbar__logo img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}
.auth-topbar__back {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color .2s;
}
.auth-topbar__back:hover { color: var(--gold); }
.auth-topbar__back svg { opacity: .6; }

/* ── MAIN LAYOUT ── */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 500px;
  min-height: 100vh;
  padding-top: 64px;
}

/* ── LEFT PANEL ── */
.auth-left {
  position: relative;
  overflow: hidden;
}
.auth-left__bg {
  position: absolute;
  inset: 0;
  background: #0a0a0a;
}
.auth-left__overlay {
  display: none;
}
.auth-left__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px,6vw,72px);
}
.auth-left__kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.auth-left__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 16px;
}
.auth-left__heading em {
  font-style: italic;
  color: var(--gold);
}
.auth-left__text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,.55);
  max-width: 400px;
  margin-bottom: 36px;
}
.auth-left__stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.auth-stat__n {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.auth-stat__l {
  display: block;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

/* ── RIGHT PANEL ── */
.auth-right {
  background: #111;
  border-left: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px,5vw,64px) clamp(32px,5vw,56px);
  overflow-y: auto;
}

/* Form header */
.auth-form-head {
  margin-bottom: 36px;
}
.auth-form-head__label {
  display: block;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.auth-form-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 10px;
}
.auth-form-head__sub {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255,255,255,.42);
  line-height: 1.7;
}
.auth-form-head__sub a {
  color: var(--gold);
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity .2s;
}
.auth-form-head__sub a:hover { opacity: .65; }

/* ── ALERT ── */
.auth-alert {
  display: none;
  padding: 13px 16px;
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  border-left: 3px solid;
  border-radius: 2px;
}
.auth-alert.error   { background: rgba(176,41,30,.12); color: #e07068; border-color: #b0291e; }
.auth-alert.success { background: rgba(26,107,58,.12); color: #6dbf8a; border-color: #1a6b3a; }
.auth-alert.info    { background: rgba(193,156,96,.1); color: rgba(255,255,255,.7); border-color: var(--gold); }

/* ── FORM FIELDS ── */
.auth-form {
  display: flex;
  flex-direction: column;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.form-field:last-of-type { margin-bottom: 0; }

.form-field__label {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
.form-field__input {
  padding: 13px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  outline: none;
  border-radius: 4px;
  transition: border-color .2s, background .2s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-field__input::placeholder { color: rgba(255,255,255,.2); }
.form-field__input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.07);
}
.form-field__input.is-error { border-color: #b0291e; }

/* Autofill dark fix */
.form-field__input:-webkit-autofill,
.form-field__input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset !important;
  -webkit-text-fill-color: #fff !important;
}

/* Şifre toggle */
.pw-field { position: relative; }
.pw-field .form-field__input { padding-right: 46px; }
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: rgba(255,255,255,.3);
  transition: color .2s;
  line-height: 0;
}
.pw-toggle:hover { color: var(--gold); }

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 20px;
  margin-top: 4px;
}
.form-checkbox input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}
.form-checkbox label {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255,255,255,.38);
  line-height: 1.65;
  cursor: pointer;
}
.form-checkbox label a {
  color: var(--gold);
  border-bottom: 1px solid currentColor;
  transition: opacity .2s;
}
.form-checkbox label a:hover { opacity: .65; }

/* Şifremi unuttum */
.form-forgot {
  display: block;
  text-align: right;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 22px;
  margin-top: -10px;
  transition: color .2s;
}
.form-forgot:hover { color: var(--gold); }

/* ── BUTONLAR ── */
.auth-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 15px 20px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .22s;
  border: 1px solid transparent;
  border-radius: 4px;
  margin-top: 8px;
  text-decoration: none;
}
.auth-btn:disabled { opacity: .45; cursor: not-allowed; }

.auth-btn--gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.auth-btn--gold:hover:not(:disabled) {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
}

.auth-btn--outline {
  background: transparent;
  color: rgba(255,255,255,.6);
  border-color: rgba(255,255,255,.15);
}
.auth-btn--outline:hover:not(:disabled) {
  background: rgba(255,255,255,.07);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

/* ── AYRAÇ ── */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.1);
}
.auth-divider span {
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
}

/* ── GÜVENLİK NOTU ── */
.auth-security {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { min-height: calc(100vh - 64px); }
}
@media (max-width: 480px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .auth-right { padding: 36px 20px; }
  .auth-topbar { padding: 0 20px; }
}
