/* =====================================================
   LUXURY AUTH — Giriş & Kayıt Sayfaları CSS
   ===================================================== */

.lx-auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  padding-top: 0 !important;
}

/* Left — Brand Panel */
.lx-auth-brand {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.lx-auth-brand::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,184,154,0.12) 0%, transparent 70%);
  top: -100px; right: -120px;
  pointer-events: none;
}
.lx-auth-brand::after {
  content: '';
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,184,154,0.08) 0%, transparent 70%);
  bottom: -80px; left: -80px;
  pointer-events: none;
}

.lx-auth-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.lx-auth-logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--stone);
}

.lx-auth-brand-body {
  position: relative;
  z-index: 1;
}
.lx-auth-brand-tag {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}
.lx-auth-brand-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 22px;
}
.lx-auth-brand-title em {
  font-style: italic;
  color: var(--stone);
}
.lx-auth-brand-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  max-width: 320px;
}

.lx-auth-brand-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.lx-auth-brand-footer-link {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.lx-auth-brand-footer-link:hover { color: rgba(255,255,255,0.7); }
.lx-auth-brand-footer-dot {
  width: 3px; height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
}

/* Right — Form Panel */
.lx-auth-form-panel {
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px);
  overflow-y: auto;
}

.lx-auth-form-wrap {
  width: 100%;
  max-width: 400px;
}

.lx-auth-form-head {
  margin-bottom: 36px;
}
.lx-auth-form-head h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 8px;
}
.lx-auth-form-head p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Form controls */
.lx-form-group { margin-bottom: 20px; }
.lx-form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.lx-form-input {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.92rem;
  font-family: var(--font-sans);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.lx-form-input:focus {
  border-color: var(--stone);
  box-shadow: 0 0 0 4px rgba(200,184,154,0.18);
  background: var(--white);
}
.lx-form-input::placeholder { color: rgba(122,117,112,0.55); }

.lx-form-input-wrap {
  position: relative;
}
.lx-form-input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s;
}
.lx-form-input-icon:hover { color: var(--ink); }

/* Submit button */
.lx-auth-submit {
  width: 100%;
  background: var(--ink);
  color: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 15px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s var(--ease-spring), box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.lx-auth-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--stone);
  transform: translateX(-101%);
  transition: transform 0.35s var(--ease);
}
.lx-auth-submit span { position: relative; z-index: 1; }
.lx-auth-submit:hover::before { transform: translateX(0); }
.lx-auth-submit:hover { color: var(--white); border-color: var(--stone); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Divider */
.lx-auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
}
.lx-auth-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.lx-auth-divider span {
  font-size: 0.76rem;
  color: var(--muted);
  white-space: nowrap;
}

/* Links */
.lx-auth-link-row {
  text-align: center;
  margin-top: 22px;
  font-size: 0.86rem;
  color: var(--muted);
}
.lx-auth-link {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--border-dark);
  transition: border-color 0.2s;
}
.lx-auth-link:hover { border-color: var(--ink); }

.lx-auth-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 24px;
  transition: color 0.2s, gap 0.2s;
}
.lx-auth-back:hover { color: var(--ink); gap: 10px; }

/* Alert messages */
.lx-alert {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.lx-alert i { flex-shrink: 0; margin-top: 1px; }
.lx-alert-error {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.18);
  color: #b91c1c;
}
.lx-alert-success {
  background: rgba(16,185,129,0.07);
  border: 1px solid rgba(16,185,129,0.2);
  color: #065f46;
}

/* Mobile: stack vertically */
@media (max-width: 820px) {
  .lx-auth-page {
    grid-template-columns: 1fr;
  }
  .lx-auth-brand {
    padding: 36px 24px;
    min-height: 260px;
  }
  .lx-auth-brand-title { font-size: 32px; }
  .lx-auth-form-panel { padding: 40px 24px; }
}
