/* Bizon — Giriş / Kayıt / Şifremi Unuttum sayfaları (tema ile uyumlu) */

.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  position: relative;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, rgba(26, 0, 16, 0.92), rgba(17, 0, 8, 0.96));
  border: 1px solid rgba(255, 26, 26, 0.25);
  border-radius: 22px;
  padding: 40px 36px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.auth-card--wide {
  max-width: 540px;
}

.auth-head {
  text-align: center;
  margin-bottom: 28px;
}
.auth-head .auth-kicker {
  font-family: var(--font-brand);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.auth-head h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.auth-head p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

.auth-field {
  margin-bottom: 18px;
}
.auth-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 7px;
}
.auth-input-wrap {
  position: relative;
}
.auth-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 13px 15px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.auth-input:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(255, 26, 26, 0.06);
}
.auth-input::placeholder {
  color: rgba(153, 119, 136, 0.7);
}
.auth-input.has-toggle {
  padding-right: 46px;
}
.auth-input.is-valid {
  border-color: rgba(46, 204, 113, 0.6);
}
.auth-input.is-invalid {
  border-color: var(--red);
}

.auth-toggle-pass {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
}
.auth-toggle-pass:hover {
  color: var(--white);
}
.auth-toggle-pass svg {
  width: 20px;
  height: 20px;
}

.auth-hint {
  font-size: 0.78rem;
  margin-top: 6px;
  min-height: 1em;
  color: var(--gray);
}
.auth-hint.error {
  color: #ff6b6b;
}
.auth-hint.ok {
  color: #2ecc71;
}

/* Şifre gücü */
.auth-strength {
  margin-top: 10px;
}
.auth-strength-bar {
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.auth-strength-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition: width 0.25s, background 0.25s;
}
.auth-strength-checks {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}
.auth-strength-checks li {
  font-size: 0.76rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}
.auth-strength-checks li::before {
  content: '○';
  font-size: 0.7rem;
}
.auth-strength-checks li.ok {
  color: #2ecc71;
}
.auth-strength-checks li.ok::before {
  content: '✓';
}

/* Onay kutuları */
.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 12px;
  line-height: 1.4;
}
.auth-check input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  flex-shrink: 0;
}
.auth-check a {
  color: var(--red);
  text-decoration: none;
}
.auth-check a:hover {
  text-decoration: underline;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.auth-row .auth-check {
  margin-bottom: 0;
}
.auth-link {
  color: var(--red);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}
.auth-link:hover {
  text-decoration: underline;
}

.auth-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}
.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 26, 26, 0.35);
}
.auth-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.auth-foot {
  text-align: center;
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--gray);
}
.auth-foot a {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}
.auth-foot a:hover {
  text-decoration: underline;
}

.auth-alert {
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.88rem;
  margin-bottom: 18px;
  line-height: 1.45;
}
.auth-alert-error {
  background: rgba(255, 26, 26, 0.12);
  border: 1px solid rgba(255, 26, 26, 0.35);
  color: #ffb3b3;
}
.auth-alert-success {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  color: #9be7bd;
}
.auth-alert-info {
  background: rgba(52, 152, 219, 0.12);
  border: 1px solid rgba(52, 152, 219, 0.35);
  color: #aad4f0;
}

.auth-step {
  display: none;
}
.auth-step.active {
  display: block;
}

.auth-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
@media (max-width: 460px) {
  .auth-grid-2 {
    grid-template-columns: 1fr;
  }
  .auth-card {
    padding: 32px 22px;
  }
}

/* 6 haneli kod girişi */
.auth-code-input {
  letter-spacing: 10px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
}
.auth-resend {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
}
.auth-resend:disabled {
  color: var(--gray);
  cursor: not-allowed;
}
