/* ==========================================================================
   QwaZz REVOLUTION 6 — tasarım sistemi
   Koyu, sade, tek vurgu rengi. Gradient, glow, glassmorphism yok.
   ========================================================================== */

:root {
  --bg: #0a0a0b;
  --surface: #121214;
  --surface-2: #17171a;
  --surface-3: #1d1d21;
  --border: #26262b;
  --border-strong: #38383f;
  --text: #ececf1;
  --muted: #9a9aa4;
  --muted-2: #6f6f78;
  --accent: #4d8dff;
  --accent-hover: #6ea1ff;
  --danger: #e5484d;
  --success: #2f9e6b;
  --radius: 8px;
  --radius-lg: 12px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

img {
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   Auth (login / register / reset) düzeni
   -------------------------------------------------------------------------- */

.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.auth-card {
  width: 100%;
  max-width: 384px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.auth-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.auth-title {
  font-size: 21px;
  text-align: center;
}

.auth-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13.5px;
  text-align: center;
}

.auth-alert {
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 18px;
  border: 1px solid transparent;
}

.auth-alert--error {
  background: rgba(229, 72, 77, 0.1);
  border-color: rgba(229, 72, 77, 0.35);
  color: #ff9296;
}

.auth-alert--success {
  background: rgba(47, 158, 107, 0.1);
  border-color: rgba(47, 158, 107, 0.35);
  color: #5cd7a1;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
}

.input {
  width: 100%;
  padding: 11px 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.input::placeholder {
  color: var(--muted-2);
}

.input:hover {
  border-color: var(--border-strong);
}

.auth-card > .input {
  margin-bottom: 12px;
}

.input:focus {
  outline: none;
  background: var(--surface-3);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(77, 141, 255, 0.16);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 18px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  margin: 3px 0 0;
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
}

.check a {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: var(--accent-hover);
}

.btn:active {
  background: #3b7bf0;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(77, 141, 255, 0.3);
}

.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.auth-alt {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.auth-alt + .auth-alt {
  margin-top: 8px;
}

.auth-meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--muted-2);
}

/* Kilit rozeti */
.secure-badge {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.secure-badge:hover {
  border-color: var(--border-strong);
  text-decoration: none;
}

.secure-badge img {
  height: 22px;
  width: auto;
  display: block;
}

.secure-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.secure-badge__label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.secure-badge__brand {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Yardımcılar
   -------------------------------------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 26px 20px;
  }

  .secure-badge {
    right: 12px;
    bottom: 12px;
    padding: 7px 11px;
  }
}
