[hidden] { display: none !important; }

.stack { display: flex; flex-direction: column; gap: 10px; }
.modal-body h3 { margin: 8px 0 0; font-size: 15px; }

/* Giriş ekranı */
.login {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 20px;
}
.login::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, var(--glow), transparent 45%),
    radial-gradient(circle at 90% 90%, var(--glow), transparent 40%);
  opacity: 0.7;
}
.login-card {
  position: relative;
  width: min(380px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 34px 28px;
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.login-card .logo { width: 60px; height: 60px; font-size: 22px; border-radius: 18px; }
.login-card h1 { margin: 6px 0 0; letter-spacing: 0.32em; font-weight: 800; font-size: 20px; }
.login-card small {
  color: var(--accent);
  letter-spacing: 0.42em;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}
.login-card .input { width: 100%; }
.wide { width: 100%; padding: 12px; }
.login-err { min-height: 18px; color: #f87171; font-size: 13px; margin: 0; text-align: center; }

/* Kenar çubuğu kullanıcı kutusu */
.user-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  background: var(--panel2);
  border: 1px solid var(--border);
}
.user-box b { font-size: 13px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-box small { color: var(--muted); font-size: 11px; }
.user-actions { display: flex; gap: 6px; flex-shrink: 0; }
.user-actions .icon-btn { width: 34px; height: 34px; font-size: 14px; }

/* Yönetici paneli */
.user-list { display: flex; flex-direction: column; gap: 8px; max-height: 40vh; overflow: auto; }
.user-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}
.user-row small { display: block; color: var(--muted); font-size: 12px; }
.user-row .user-actions .btn { padding: 6px 10px; font-size: 12px; }
