/* NovaGuard — ek stiller: dil secici + hesap sayfalari */

/* ---------------- dil secici ---------------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  margin-right: 8px;
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font: 600 12px/1 "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.is-active {
  color: #06110b;
  background: #4ade80;
}

@media (max-width: 860px) {
  .lang-switch { margin-right: 0; order: -1; }
}

/* ---------------- hesap sayfalari ---------------- */
.ng-auth {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 20px 64px;
}
.ng-card {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 30px 28px;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.ng-card--wide { max-width: 780px; }
.ng-card h1 {
  font-size: 24px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.ng-card .ng-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  margin: 0 0 22px;
}

.ng-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 22px;
}
.ng-tabs button {
  flex: 1;
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font: 600 14px/1 "Space Grotesk", system-ui, sans-serif;
  padding: 11px 8px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}
.ng-tabs button.is-active {
  background: rgba(74, 222, 128, 0.16);
  color: #4ade80;
}

.ng-field { margin-bottom: 14px; }
.ng-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 7px;
}
.ng-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font: 400 14px/1.4 "IBM Plex Mono", ui-monospace, monospace;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.ng-field input:focus {
  outline: none;
  border-color: rgba(74, 222, 128, 0.55);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
}
.ng-field input::placeholder { color: rgba(255, 255, 255, 0.28); }

.ng-btn {
  width: 100%;
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 13px 16px;
  font: 700 14px/1 "Space Grotesk", system-ui, sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: linear-gradient(180deg, #4ade80, #22c55e);
  color: #05130a;
  transition: transform 0.12s ease, filter 0.16s ease;
}
.ng-btn:hover { filter: brightness(1.06); }
.ng-btn:active { transform: translateY(1px); }
.ng-btn[disabled] { opacity: 0.5; cursor: not-allowed; filter: none; }
.ng-btn--ghost {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ng-msg {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 9px;
  padding: 11px 13px;
  display: none;
}
.ng-msg.show { display: block; }
.ng-msg--err { background: rgba(248, 113, 113, 0.12); color: #fca5a5; border: 1px solid rgba(248, 113, 113, 0.3); }
.ng-msg--ok { background: rgba(74, 222, 128, 0.12); color: #86efac; border: 1px solid rgba(74, 222, 128, 0.3); }

.ng-alt {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.ng-alt a { color: #4ade80; text-decoration: none; font-weight: 600; }
.ng-alt a:hover { text-decoration: underline; }

/* ---------------- panel ---------------- */
.ng-rows { display: grid; gap: 10px; margin: 20px 0; }
.ng-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 14px;
}
.ng-row span:first-child { color: rgba(255, 255, 255, 0.55); }
.ng-row span:last-child { font-weight: 600; font-family: "IBM Plex Mono", ui-monospace, monospace; }

.ng-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font: 700 11px/1.4 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ng-pill--ok { background: rgba(74, 222, 128, 0.16); color: #4ade80; }
.ng-pill--warn { background: rgba(250, 204, 21, 0.16); color: #facc15; }
.ng-pill--bad { background: rgba(248, 113, 113, 0.16); color: #f87171; }

.ng-key {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  word-break: break-all;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  padding: 12px 14px;
  color: #86efac;
  margin: 12px 0;
}

.ng-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 18px;
}
.ng-note code {
  background: rgba(255, 255, 255, 0.07);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 12px;
}

/* --- fiyat indirim etiketi + stok --- */
.price__badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.16);
  border: 1px solid rgba(74, 222, 128, 0.45);
  color: #4ade80;
  font: 700 10.5px/1.5 "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price__stock {
  margin-top: 8px;
  font: 600 12px/1.5 "IBM Plex Mono", ui-monospace, monospace;
  color: rgba(255, 255, 255, 0.5);
  min-height: 18px;
}
.ng-plan-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  margin: 12px 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.ng-plan-link:hover { border-color: rgba(74, 222, 128, 0.5); background: rgba(74, 222, 128, 0.07); }
.ng-plan-link strong { display: block; font-size: 15px; }
.ng-plan-link small { color: rgba(255, 255, 255, 0.5); font-size: 12px; }
.ng-plan-link .ng-plan-price {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 700;
  color: #4ade80;
  white-space: nowrap;
}
.ng-plan-link.is-disabled { opacity: 0.45; pointer-events: none; }
