/* ============================================================
   ProFast — Kurumsal Admin Panel Şablonu
   Tema renklerini değiştirmek için :root değişkenlerini düzenleyin.
   ============================================================ */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff6ff;
  --primary-ring: rgba(37, 99, 235, 0.16);

  --bg: #eef1f8;
  --surface: #ffffff;
  --card-bg: #ffffff;
  --sidebar-bg: #f4f7fc;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-soft: #94a3b8;
  --border: #e6eaf1;
  --hover: #f1f5f9;

  --success: #16a34a;
  --success-soft: #f0fdf4;
  --warning: #d97706;
  --warning-soft: #fffbeb;
  --danger: #dc2626;
  --danger-soft: #fef2f2;

  --radius: 12px;
  --radius-sm: 9px;
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.18);

  --sidebar-w: 264px;
  --topbar-h: 64px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  color-scheme: light;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- Animasyon kareleri ---------- */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes bell-ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(13deg); }
  40% { transform: rotate(-11deg); }
  60% { transform: rotate(7deg); }
  80% { transform: rotate(-4deg); }
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(8px); }
}

/* ---------- Marka (yazı logo) ---------- */

.brand {
  display: inline-block;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand b { font-weight: 800; color: var(--primary); }

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28); }

.btn-ghost { background: var(--surface); border: 1px solid var(--border); color: var(--text-muted); }
.btn-ghost:hover { background: var(--hover); color: var(--text); }

.btn-block { width: 100%; }

.btn.loading { pointer-events: none; opacity: 0.85; }

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ---------- Uyarı kutusu ---------- */

.alert {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.88rem;
}
.alert svg { width: 17px; height: 17px; }
.alert-error { background: var(--danger-soft); border-color: #fecaca; color: #b91c1c; }

/* ============================================================
   GİRİŞ SAYFASI (düz / tek kolon)
   ============================================================ */

.auth {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    radial-gradient(900px 480px at 50% -80px, #e0ebff 0%, rgba(246, 248, 251, 0) 70%),
    var(--bg);
}

.auth .brand {
  font-size: 1.6rem;
  margin-bottom: 26px;
  animation: fade-up 0.5s ease both;
}

.auth-card {
  width: 100%;
  max-width: 410px;
  padding: 32px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  animation: fade-up 0.5s 0.08s ease both;
}

.auth-title {
  margin: 0 0 6px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.auth-sub { margin: 0 0 24px; color: var(--text-muted); font-size: 0.95rem; }

.auth-foot {
  margin-top: 26px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-soft);
  animation: fade-up 0.5s 0.16s ease both;
}

/* ---------- Form elemanları ---------- */

.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.86rem;
  font-weight: 600;
}

.input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder { color: var(--text-soft); }
.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-ring);
}

.input-wrap { position: relative; }
.input-wrap .input { padding-right: 46px; }

.input-toggle {
  position: absolute;
  top: 0; right: 0;
  width: 46px; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.input-toggle:hover { color: var(--text-muted); }
.input-toggle svg { width: 19px; height: 19px; }
.input-toggle .icon-eye-off { display: none; }
.input-toggle.is-visible .icon-eye { display: none; }
.input-toggle.is-visible .icon-eye-off { display: block; }

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 22px;
  font-size: 0.88rem;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}
.checkbox input { width: 16px; height: 16px; margin: 0; accent-color: var(--primary); }

.link { color: var(--primary); font-weight: 600; }
.link:hover { color: var(--primary-dark); }

/* ============================================================
   PANEL (DASHBOARD)
   ============================================================ */

/* ---------- Kenar menü ---------- */

.sidebar {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  width: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-right: 1px solid var(--border);
  z-index: 50;
  transition: transform 0.25s ease;
}

.sidebar-head {
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  padding: 0 22px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.sidebar-nav { flex: 1; overflow-y: auto; padding: 14px; }

.nav-label {
  margin: 18px 0 8px;
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.sidebar-nav .nav-label:first-child { margin-top: 4px; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 2px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav-item svg { width: 19px; height: 19px; }
.nav-item:hover { background: var(--hover); color: var(--text); }
.nav-item.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }

.sidebar-foot { padding: 14px; border-top: 1px solid var(--border); flex-shrink: 0; }
.nav-item--logout:hover { background: var(--danger-soft); color: var(--danger); }

/* ---------- Ana bölüm ---------- */

.main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Üst bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s;
}
.icon-btn:hover { background: var(--hover); color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.ringing svg { animation: bell-ring 0.8s ease; transform-origin: top center; }

.menu-btn { display: none; }

.badge-count {
  position: absolute;
  top: 3px; right: 3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--danger);
  border: 2px solid var(--surface);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.search { position: relative; color: var(--text-soft); }
.search svg {
  position: absolute;
  left: 13px; top: 50%;
  transform: translateY(-50%);
  width: 17px; height: 17px;
  pointer-events: none;
}
.search input {
  width: 300px;
  height: 40px;
  padding: 0 14px 0 40px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--hover);
  color: var(--text);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.search input::placeholder { color: var(--text-soft); }
.search input:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-ring);
}

.topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Açılır menüler (ortak) ---------- */

.menu { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 200px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 60;
}
.menu.open .dropdown { opacity: 1; visibility: visible; transform: none; }

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}
.dropdown a:hover { background: var(--hover); color: var(--text); }
.dropdown a svg { width: 17px; height: 17px; }
.dropdown a.danger { color: var(--danger); }
.dropdown a.danger:hover { background: var(--danger-soft); color: var(--danger); }

.dropdown-sep { height: 1px; margin: 6px 4px; background: var(--border); }

/* ---------- Bildirim paneli ---------- */

.dropdown--notif { width: 324px; padding: 0; overflow: hidden; }

.notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.92rem;
}
.notif-mark {
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  transition: background 0.15s;
}
.notif-mark:hover { background: var(--primary-soft); }

.notif-list { max-height: 320px; overflow-y: auto; }

.notif-item {
  display: flex;
  gap: 11px;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}
.notif-item:hover { background: #f8fafc; }
.notif-item.unread { background: #f7faff; }
.notif-item.unread:hover { background: #f0f6ff; }

.notif-ico {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}
.notif-ico svg { width: 16px; height: 16px; }
.notif-ico.info    { background: var(--primary-soft); color: var(--primary); }
.notif-ico.success { background: var(--success-soft); color: var(--success); }
.notif-ico.warning { background: var(--warning-soft); color: var(--warning); }

.notif-body { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.notif-title { display: flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 600; }
.notif-item.unread .notif-title::after {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.notif-text { font-size: 0.8rem; line-height: 1.35; color: var(--text-muted); }
.notif-time { margin-top: 2px; font-size: 0.73rem; color: var(--text-soft); }

.notif-empty { padding: 26px; text-align: center; font-size: 0.86rem; color: var(--text-soft); }

.notif-foot {
  display: block;
  padding: 11px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  border-top: 1px solid var(--border);
  transition: background 0.15s;
}
.notif-foot:hover { background: var(--primary-soft); }

/* ---------- Kullanıcı menüsü ---------- */

.user-menu { margin-left: 6px; }

.user-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px 5px 5px;
  border-radius: 12px;
  transition: background 0.15s;
}
.user-btn:hover { background: var(--hover); }

.avatar {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  text-align: left;
}
.user-name { font-size: 0.88rem; font-weight: 600; }
.user-role { font-size: 0.75rem; color: var(--text-muted); }

.user-btn .chev { width: 16px; height: 16px; color: var(--text-soft); transition: transform 0.15s; }
.menu.open .chev { transform: rotate(180deg); }

/* ---------- İçerik ---------- */

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
}

/* Giriş animasyonu: içerik blokları sırayla belirir */
.content > * { animation: fade-up 0.45s ease both; }
.content > *:nth-child(2) { animation-delay: 0.07s; }
.content > *:nth-child(3) { animation-delay: 0.14s; }
.content > *:nth-child(4) { animation-delay: 0.21s; }

.page-head h1 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.page-head p { margin: 4px 0 0; color: var(--text-muted); }

/* Boş içerik alanı (şablon yer tutucusu) */
.empty {
  flex: 1;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  background: var(--surface);
  border: 1.5px dashed #cfd8e5;
  border-radius: 16px;
}
.empty-icon {
  width: 58px; height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
}
.empty-icon svg { width: 26px; height: 26px; }
.empty h2 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 600; }
.empty p { margin: 0; max-width: 380px; font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Mobil menü karartması ---------- */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.overlay.show { opacity: 1; visibility: visible; }

/* ============================================================
   MODAL (açılış bilgilendirmesi / T.O.S.)
   ============================================================ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.modal-backdrop.show { opacity: 1; visibility: visible; }

.modal {
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.25s ease;
}
.modal-backdrop.show .modal { transform: none; }

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.modal-title { margin: 0; font-size: 1.08rem; font-weight: 700; }

.modal-body { padding: 20px 22px; overflow-y: auto; font-size: 0.93rem; color: var(--text-muted); }
.modal-body p { margin: 0 0 12px; }
.modal-body p strong { color: var(--text); }
.modal-body ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-body ul li::before { content: "→"; margin-right: 8px; font-weight: 700; color: var(--primary); }
.modal-note { font-size: 0.85rem; color: var(--text-soft); }

.modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--border);
}
.modal-foot .btn { height: 42px; }

/* ============================================================
   TOAST BİLDİRİMLERİ
   ============================================================ */

.toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  animation: toast-in 0.3s ease;
}
.toast svg { width: 17px; height: 17px; }
.toast.success svg { color: #4ade80; }
.toast.error   svg { color: #f87171; }
.toast.info    svg { color: #93c5fd; }
.toast.hide { animation: toast-out 0.25s ease forwards; }

/* ============================================================
   DUYARLI (RESPONSIVE)
   ============================================================ */

@media (max-width: 1024px) {
  .sidebar { transform: translateX(-105%); }
  .sidebar.open { transform: none; box-shadow: var(--shadow-md); }
  .main { margin-left: 0; }
  .menu-btn { display: inline-flex; }
}

@media (max-width: 640px) {
  .search { display: none; }
  .user-info, .user-btn .chev { display: none; }
  .topbar { padding: 0 14px; }
  .content { padding: 18px; gap: 18px; }
  .auth-card { padding: 26px 20px; }
}

@media (max-width: 480px) {
  .dropdown--notif {
    position: fixed;
    top: calc(var(--topbar-h) + 6px);
    left: 14px;
    right: 14px;
    width: auto;
  }
  .toast-wrap { left: 16px; right: 16px; }
  .modal-foot { flex-direction: column-reverse; }
  .modal-foot .btn { width: 100%; }
}

/* Hareket azaltma tercihine saygı göster */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   2FA SAYFALARI
   ============================================================ */

.totp-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.totp-instruction {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.totp-qr {
  display: flex;
  justify-content: center;
  margin: 16px 0 14px;
}
.totp-qr img {
  border-radius: 10px;
  border: 1px solid var(--border);
  width: 180px;
  height: 180px;
}

.totp-label {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.totp-secret {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 11px 14px;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  letter-spacing: 3px;
  text-align: center;
  word-break: break-all;
  margin-bottom: 18px;
  color: var(--text);
  cursor: copy;
  user-select: all;
  transition: background 0.15s;
}
.totp-secret:hover { background: var(--hover); }

.input-code {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 10px;
  font-family: "Courier New", Courier, monospace;
  height: 58px;
}

.totp-shield {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  margin: 0 auto 18px;
}
.totp-shield svg { width: 28px; height: 28px; }

.totp-back {
  margin-top: 18px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* ============================================================
   AYARLAR SAYFASI
   ============================================================ */

.alert-success {
  background: var(--success-soft);
  border-color: #bbf7d0;
  color: #15803d;
}

.settings-card {
  max-width: 640px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
}

.settings-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.settings-card-ico {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  flex-shrink: 0;
}
.settings-card-ico svg { width: 20px; height: 20px; }

.settings-card-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
}
.settings-card-sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.field-hint {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.45;
}

/* Kullanıcı tablosu (ayarlar sayfası) */
.user-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.user-table th {
  text-align: left;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border);
}
.user-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text);
  vertical-align: middle;
}
.user-table tr:last-child td { border-bottom: none; }

.role-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
}
.role-badge.role-admin    { background: var(--primary-soft); color: var(--primary); }
.role-badge.role-support  { background: var(--warning-soft); color: var(--warning); }
.role-badge.role-tedarikci { background: var(--success-soft); color: var(--success); }

.status-dot { font-size: 14px; }
.status-dot.ok { color: var(--success); }
.status-dot.no { color: var(--border); }
