/* ── Auth sayfası ── */

.auth-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
  z-index: 1;
}

.auth-tabs {
  display: flex;
  gap: 0;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 400px;
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  border-radius: 9px;
  padding: 10px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.05em;
}

.auth-tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.auth-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 40px;
  width: 100%;
  max-width: 400px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.2);
}

.auth-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.auth-title {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.auth-sub {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.auth-field {
  margin-bottom: 16px;
}

.auth-field label {
  display: block;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.field-hint { color: var(--muted); font-size: 9px; text-transform: none; }

.auth-field input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field input::placeholder { color: var(--muted); }
.auth-field input:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}

.auth-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent2), #9f65f5);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 4px;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}

.auth-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(124,58,237,0.5);
}

.auth-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.auth-error {
  background: rgba(255,60,95,0.08);
  border: 1px solid rgba(255,60,95,0.25);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 16px;
}

.auth-guest {
  margin-top: 20px;
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.auth-guest:hover { color: var(--accent3); }

@media (max-width: 480px) {
  .auth-box { padding: 28px 24px; }
}
