/* DijitalGöz giriş / kayıt penceresi */
.dga-lock { overflow: hidden; }
.dga-root {
  --dga-bg: #0d1714;
  --dga-ink: #eef5f1;
  --dga-muted: #93a49b;
  --dga-line: rgba(238, 245, 241, 0.12);
  --dga-accent: #3fbf9f;
  --dga-accent-ink: #03120d;
  --dga-danger: #ff7a62;
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: radial-gradient(1200px 600px at 50% 20%, rgba(63, 191, 159, 0.12), transparent 60%), rgba(3, 8, 6, 0.74);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.22s ease;
  font-family: "Manrope", system-ui, sans-serif;
}
.dga-root.in { opacity: 1; }
.dga-card {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 30px 28px 24px;
  border: 1px solid var(--dga-line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%), var(--dga-bg);
  color: var(--dga-ink);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(63, 191, 159, 0.06) inset;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.dga-root.in .dga-card { transform: none; }
.dga-x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--dga-muted);
  font-size: 22px;
  cursor: pointer;
}
.dga-x:hover { background: rgba(255, 255, 255, 0.06); color: var(--dga-ink); }
.dga-logo { display: flex; justify-content: center; margin-bottom: 10px; }
.dga-logo img { filter: drop-shadow(0 8px 24px rgba(63, 191, 159, 0.35)); }
.dga-card h2 {
  margin: 0;
  text-align: center;
  font: 700 1.45rem/1.2 "Outfit", system-ui, sans-serif;
  letter-spacing: -0.01em;
}
.dga-sub { margin: 8px 0 0; text-align: center; color: var(--dga-muted); font-size: 0.9rem; line-height: 1.5; }
.dga-form { display: grid; gap: 12px; margin-top: 20px; }
.dga-field { display: grid; gap: 6px; }
.dga-field > span { color: var(--dga-muted); font: 600 0.72rem/1 "IBM Plex Mono", monospace; letter-spacing: 0.08em; text-transform: uppercase; }
.dga-form input[type="email"],
.dga-form input[type="password"],
.dga-form input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid var(--dga-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--dga-ink);
  font: 500 0.95rem/1.2 inherit;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.dga-form input:focus { outline: none; border-color: var(--dga-accent); background: rgba(63, 191, 159, 0.06); }
.dga-passwrap { position: relative; display: block; }
.dga-meter { position: absolute; left: 12px; right: 12px; bottom: 5px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.dga-meter i { display: block; height: 100%; width: 0; background: var(--dga-danger); transition: width 0.25s ease, background 0.25s ease; }
.dga-meter[data-s="2"] i { width: 40%; background: #e8b04a; }
.dga-meter[data-s="3"] i { width: 65%; background: #c9d65a; }
.dga-meter[data-s="4"] i,
.dga-meter[data-s="5"] i { width: 100%; background: var(--dga-accent); }
.dga-meter[data-s="1"] i { width: 20%; }
.dga-check { display: flex; gap: 10px; align-items: flex-start; color: var(--dga-muted); font-size: 0.85rem; line-height: 1.45; }
.dga-check input { margin-top: 3px; accent-color: var(--dga-accent); width: 16px; height: 16px; }
.dga-card a { color: var(--dga-accent); }
.dga-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #4fd2b1, #2f9b86);
  color: var(--dga-accent-ink);
  font: 700 0.98rem/1 "Manrope", system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(63, 191, 159, 0.25);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.dga-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.dga-primary:disabled { opacity: 0.65; cursor: wait; transform: none; }
.dga-card a.dga-a { color: var(--dga-accent-ink); margin-top: 8px; }
.dga-ghost {
  padding: 11px 14px;
  border: 1px solid var(--dga-line);
  border-radius: 12px;
  background: transparent;
  color: var(--dga-ink);
  font: 600 0.88rem/1 inherit;
  font-family: inherit;
  cursor: pointer;
}
.dga-ghost:hover { border-color: var(--dga-accent); }
.dga-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.dga-msg { min-height: 1.2em; margin: 0; color: var(--dga-danger); font-size: 0.86rem; text-align: center; }
.dga-msg.ok { color: var(--dga-accent); }
.dga-switch, .dga-hint { margin: 2px 0 0; text-align: center; color: var(--dga-muted); font-size: 0.86rem; }
.dga-row-end { margin: -4px 0 0; text-align: right; font-size: 0.84rem; }
.dga-center { margin: 0; text-align: center; color: #cfdcd6; line-height: 1.55; }
.dga-dev:empty { display: none; }
.dga-dev {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px dashed rgba(232, 176, 74, 0.45);
  border-radius: 12px;
  background: rgba(232, 176, 74, 0.07);
  color: #e8c47a;
  font-size: 0.82rem;
}
.dga-mailart { position: relative; height: 92px; display: grid; place-items: center; }
.dga-env {
  position: relative;
  width: 74px;
  height: 52px;
  border: 2px solid var(--dga-accent);
  border-radius: 10px;
  background: rgba(63, 191, 159, 0.08);
}
.dga-env::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 6px;
  height: 26px;
  border-left: 2px solid var(--dga-accent);
  border-bottom: 2px solid var(--dga-accent);
  transform: skewY(-32deg) rotate(-45deg);
  transform-origin: left;
  opacity: 0.9;
  border-bottom-left-radius: 4px;
}
.dga-pulse {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid rgba(63, 191, 159, 0.5);
  animation: dgaPulse 2.2s ease-out infinite;
}
@keyframes dgaPulse {
  from { transform: scale(0.5); opacity: 0.9; }
  to { transform: scale(1.25); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dga-pulse { animation: none; }
  .dga-card, .dga-root { transition: none; }
}
