/* ASRİAD CRM - Ana Stil */
/* Inter font: layout head icinde <link> ile yuklenir (@import CSS kirilmasina yol acti) */

:root {
  --sidebar: #0b1220;
  --sidebar-hover: rgba(255, 255, 255, 0.08);
  --sidebar-active: rgba(59, 130, 246, 0.18);
  --sidebar-border: rgba(255, 255, 255, 0.08);
  --sidebar-text: rgba(255, 255, 255, 0.62);
  --sidebar-width: 272px;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--gray-50); color: var(--gray-900); font-size: 14px; }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }

/* Layout */
.app { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar-width); background: linear-gradient(180deg, #0d1526 0%, #0a101c 55%, #070d16 100%); color: #fff; flex-shrink: 0; display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100vh; z-index: 300; overflow-y: auto; transition: transform .3s cubic-bezier(.4,0,.2,1); border-right: 1px solid var(--sidebar-border); box-shadow: 4px 0 28px rgba(0,0,0,.18); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.14) transparent; }
.sidebar::-webkit-scrollbar { width: 5px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 99px; }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(2,6,23,.55); backdrop-filter: blur(2px); z-index: 290; }
.main { flex: 1; margin-left: var(--sidebar-width); display: flex; flex-direction: column; min-width: 0; min-height: 100vh; }
.topbar { background: #fff; border-bottom: 1px solid var(--gray-200); padding: 12px 24px; display: flex; align-items: center; gap: 16px; position: sticky; top: 0; z-index: 50; flex-shrink: 0; }
.content { padding: 24px; flex: 1 1 auto; }

/* Sidebar */
.sidebar-brand { padding: 18px 16px; border-bottom: 1px solid var(--sidebar-border); display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.02); }
.sidebar-brand-link { display: flex; width: 100%; justify-content: center; text-decoration: none; }
.sidebar-wordmark {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
}
.sidebar-wordmark::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 8px auto 0;
  border-radius: 99px;
  background: #f59e0b;
}
.sidebar-brand-media,
.brand-logo-media.sidebar-brand-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 220px);
    max-height: 62px;
}
.sidebar-brand-media picture,
.sidebar-brand-media img,
.brand-logo-media.sidebar-brand-media picture,
.brand-logo-media.sidebar-brand-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 62px;
    object-fit: contain;
    object-position: center;
}
.sidebar-profile { padding: 18px 16px; border-bottom: 1px solid var(--sidebar-border); display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.02); }
.sidebar-profile img { width: 42px; height: 42px; border-radius: 12px; border: 2px solid rgba(255,255,255,.12); }
.sidebar-profile .name { font-weight: 600; font-size: 13px; letter-spacing: -.01em; }
.sidebar-profile .role { font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }
.sidebar-profile .online { font-size: 11px; color: #4ade80; display: flex; align-items: center; gap: 4px; }
.sidebar-profile .online::before { content: ''; width: 6px; height: 6px; background: #4ade80; border-radius: 50%; }
.sidebar-nav { padding: 14px 10px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.nav-icon-slot {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.05);
  flex-shrink: 0;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.nav-label-text { flex: 1; min-width: 0; line-height: 1.3; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--sidebar-text);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 0;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.nav-item:hover { background: var(--sidebar-hover); color: #fff; border-color: rgba(255,255,255,.06); }
.nav-item:hover .nav-icon-slot { background: rgba(59,130,246,.18); }
.nav-item.active {
  background: linear-gradient(90deg, rgba(37,99,235,.28) 0%, rgba(37,99,235,.1) 100%);
  color: #fff;
  border-color: rgba(96,165,250,.28);
  box-shadow: 0 4px 16px rgba(37,99,235,.18);
}
.nav-item.active .nav-icon-slot { background: rgba(59,130,246,.28); box-shadow: 0 0 0 1px rgba(96,165,250,.25); }
.nav-item.nav-flag-red {
  border: 1.5px solid #ef4444;
  box-shadow: 0 0 0 1px rgba(239,68,68,.35), 0 2px 10px rgba(239,68,68,.25);
}
.nav-item.nav-flag-red:hover { border-color: #f87171; background: rgba(239,68,68,.12); }
.nav-item.nav-flag-red.active {
  border-color: #ef4444;
  background: linear-gradient(90deg, rgba(239,68,68,.28) 0%, rgba(239,68,68,.1) 100%);
  box-shadow: 0 0 0 1px rgba(239,68,68,.4), 0 4px 16px rgba(239,68,68,.28);
}
.nav-item.nav-flag-red .nav-icon-slot { background: rgba(239,68,68,.2); }
.nav-sub { margin-left: 0; border-left: none; padding-left: 0; }
.nav-sub .nav-item,
.nav-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 12px;
  margin-bottom: 2px;
  border-radius: 10px;
  line-height: 1.35;
  color: rgba(255,255,255,.52);
  background: transparent;
  border: 1px solid transparent;
  position: relative;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, padding-left .2s ease;
}
.nav-sub-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  flex-shrink: 0;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.nav-sub .nav-item::before { display: none; }
.nav-sub .nav-item:hover:not(.active),
.nav-sub-link:hover:not(.active) {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.06);
  padding-left: 14px;
}
.nav-sub .nav-item:hover:not(.active) .nav-sub-bullet,
.nav-sub-link:hover:not(.active) .nav-sub-bullet {
  background: #60a5fa;
  box-shadow: 0 0 8px rgba(96,165,250,.45);
  transform: scale(1.15);
}
.nav-sub .nav-item.active,
.nav-sub-link.active {
  background: rgba(37,99,235,.16);
  border-color: rgba(96,165,250,.22);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 3px 0 0 #60a5fa;
  padding-left: 14px;
}
.nav-sub .nav-item.active .nav-sub-bullet,
.nav-sub-link.active .nav-sub-bullet {
  background: #60a5fa;
  box-shadow: 0 0 10px rgba(96,165,250,.55);
}
.nav-sub-link.nav-theme-blue.active { background: rgba(37,99,235,.18); border-color: rgba(96,165,250,.3); box-shadow: inset 3px 0 0 #60a5fa; }
.nav-sub-link.nav-theme-blue.active .nav-sub-bullet { background: #60a5fa; }
.nav-sub-link.nav-theme-green.active { background: rgba(22,163,74,.18); border-color: rgba(74,222,128,.28); box-shadow: inset 3px 0 0 #4ade80; }
.nav-sub-link.nav-theme-green.active .nav-sub-bullet { background: #4ade80; box-shadow: 0 0 10px rgba(74,222,128,.45); }
.nav-sub-link.nav-theme-teal.active { background: rgba(13,148,136,.18); border-color: rgba(45,212,191,.28); box-shadow: inset 3px 0 0 #2dd4bf; }
.nav-sub-link.nav-theme-teal.active .nav-sub-bullet { background: #2dd4bf; box-shadow: 0 0 10px rgba(45,212,191,.45); }
.nav-sub-link.nav-theme-indigo.active { background: rgba(79,70,229,.18); border-color: rgba(129,140,248,.28); box-shadow: inset 3px 0 0 #818cf8; }
.nav-sub-link.nav-theme-indigo.active .nav-sub-bullet { background: #818cf8; box-shadow: 0 0 10px rgba(129,140,248,.45); }
.nav-sub-link.nav-theme-amber.active { background: rgba(245,158,11,.16); border-color: rgba(251,191,36,.28); box-shadow: inset 3px 0 0 #fbbf24; }
.nav-sub-link.nav-theme-amber.active .nav-sub-bullet { background: #fbbf24; box-shadow: 0 0 10px rgba(251,191,36,.45); }
.nav-sub-link.nav-theme-purple.active { background: rgba(147,51,234,.18); border-color: rgba(192,132,252,.28); box-shadow: inset 3px 0 0 #c084fc; }
.nav-sub-link.nav-theme-purple.active .nav-sub-bullet { background: #c084fc; }
.nav-sub-link.nav-theme-red.active { background: rgba(220,38,38,.18); border-color: rgba(248,113,113,.28); box-shadow: inset 3px 0 0 #f87171; }
.nav-sub-link.nav-theme-red.active .nav-sub-bullet { background: #f87171; }
.nav-sub a.nav-item { display: flex; width: 100%; text-decoration: none; color: inherit; }
.card { background: #fff; border-radius: 12px; border: 1px solid var(--gray-100); box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--gray-100); display: flex; justify-content: space-between; align-items: center; }
.card-header h3 { font-size: 14px; font-weight: 600; }
.card-body { padding: 20px; }
.card-body.no-pad { padding: 0; }

/* Stat cards */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 24px; }
.stat-card { background: #fff; border-radius: 12px; border: 1px solid var(--gray-100); padding: 16px; display: flex; gap: 12px; align-items: flex-start; }
.stat-card .icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.stat-card .label { font-size: 11px; color: var(--gray-500); }
.stat-card .value { font-size: 20px; font-weight: 700; margin-top: 2px; }
.stat-card .sub { font-size: 11px; color: var(--gray-500); margin-top: 2px; }

/* Badges */
.badge { display: inline-flex; padding: 2px 10px; border-radius: 20px; font-size: 11px; font-weight: 500; }
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }
.badge-purple { background: #f3e8ff; color: #6b21a8; }
.badge-default { background: var(--gray-100); color: var(--gray-700); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 500; border: none; cursor: pointer; transition: .2s; text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: #fff; border: 1px solid var(--gray-200); color: var(--gray-700); }
.btn-outline:hover { background: var(--gray-50); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-danger {
  background: var(--danger);
  color: #fff;
  border: 1px solid var(--danger);
}
.btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
}
.btn-outline.btn-danger {
  background: #fff;
  color: var(--danger);
  border-color: #fecaca;
}
.btn-outline.btn-danger:hover {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fca5a5;
}
.btn-outline.btn-danger .icon,
.btn-outline.btn-danger [data-lucide] {
  color: currentColor;
  stroke: currentColor;
}

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--gray-700); margin-bottom: 6px; }
.form-control { width: 100%; padding: 10px 12px; border: 1px solid var(--gray-200); border-radius: 8px; font-size: 13px; font-family: inherit; color: var(--gray-900); background-color: #fff; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
select.form-control { appearance: auto; color: var(--gray-900); background-color: #fff; }
/* Açılır listelerdeki seçenekler her zaman okunur olsun (koyu OS temasında beyaz görünme sorunu) */
select.form-control option,
select option { color: #111827; background-color: #fff; }
/* Native tarih/saat seçicileri her zaman açık temada render edilsin (ay listesi beyaz görünmesin) */
input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"], input[type="week"], select.form-control { color-scheme: light; }

/* Table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; padding: 12px 16px; font-size: 11px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; border-bottom: 1px solid var(--gray-100); }
td { padding: 12px 16px; border-bottom: 1px solid var(--gray-50); color: var(--gray-700); }
tr:hover td { background: var(--gray-50); }

/* List items */
.list-item { display: flex; align-items: center; gap: 16px; padding: 16px; border-bottom: 1px solid var(--gray-50); }
.list-item:hover { background: var(--gray-50); }
.list-item img { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }
.list-item .info { flex: 1; min-width: 0; }
.list-item .name { font-weight: 600; }
.list-item .sub { font-size: 12px; color: var(--gray-500); }

/* Tabs */
.tabs { display: flex; gap: 8px; margin-bottom: 16px; overflow-x: auto; }
.tab { padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 500; border: 1px solid var(--gray-200); background: #fff; color: var(--gray-600); cursor: pointer; white-space: nowrap; text-decoration: none; }
.tab.active, .tab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Elit filtre kartları (tüm sayfalar) */
.filter-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.filter-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  text-decoration: none;
  border: 1px solid var(--fc-border, #e5e7eb);
  background: var(--fc-bg, #fff);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
  overflow: hidden;
}
.filter-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 14px 0 0 14px;
  background: var(--fc-accent, #3b82f6);
  opacity: .92;
}
.filter-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, .1); }
.filter-card.is-active { transform: translateY(-1px); border-color: var(--fc-active-border, #3b82f6); box-shadow: var(--fc-active-shadow, 0 12px 28px rgba(37, 99, 235, .22)); }
.filter-card-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fc-icon-bg, #3b82f6);
  color: #fff;
  box-shadow: var(--fc-icon-shadow, 0 6px 16px rgba(37, 99, 235, .28));
}
.filter-card-content { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.filter-card-label { font-size: 13px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: var(--fc-label, #1e3a8a); }
.filter-card.is-active .filter-card-label { font-weight: 800; }
.filter-card-count { font-size: 22px; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--fc-count, #1d4ed8); }
.filter-card-sub { font-size: 11px; font-weight: 500; line-height: 1.35; color: var(--fc-sub, #64748b); }
.filter-card-theme-blue { --fc-bg: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%); --fc-border: #c7d9ff; --fc-accent: linear-gradient(180deg, #3b82f6, #1d4ed8); --fc-icon-bg: linear-gradient(135deg, #3b82f6, #2563eb); --fc-icon-shadow: 0 6px 16px rgba(37, 99, 235, .28); --fc-label: #1e3a8a; --fc-count: #1d4ed8; --fc-sub: #3b82f6; --fc-active-border: #3b82f6; --fc-active-shadow: 0 12px 28px rgba(37, 99, 235, .22); }
.filter-card-theme-purple { --fc-bg: linear-gradient(135deg, #fdfaff 0%, #f5ecff 100%); --fc-border: #e9d5ff; --fc-accent: linear-gradient(180deg, #a855f7, #7c3aed); --fc-icon-bg: linear-gradient(135deg, #a855f7, #9333ea); --fc-icon-shadow: 0 6px 16px rgba(147, 51, 234, .28); --fc-label: #581c87; --fc-count: #7e22ce; --fc-sub: #9333ea; --fc-active-border: #9333ea; --fc-active-shadow: 0 12px 28px rgba(147, 51, 234, .22); }
.filter-card-theme-green { --fc-bg: linear-gradient(135deg, #f6fffb 0%, #ecfdf5 100%); --fc-border: #bbf7d0; --fc-accent: linear-gradient(180deg, #22c55e, #15803d); --fc-icon-bg: linear-gradient(135deg, #22c55e, #16a34a); --fc-icon-shadow: 0 6px 16px rgba(22, 163, 74, .28); --fc-label: #14532d; --fc-count: #15803d; --fc-sub: #16a34a; --fc-active-border: #16a34a; --fc-active-shadow: 0 12px 28px rgba(22, 163, 74, .22); }
.filter-card-theme-amber { --fc-bg: linear-gradient(135deg, #fffdf7 0%, #fff7ed 100%); --fc-border: #fde68a; --fc-accent: linear-gradient(180deg, #fbbf24, #d97706); --fc-icon-bg: linear-gradient(135deg, #fbbf24, #f59e0b); --fc-icon-shadow: 0 6px 16px rgba(245, 158, 11, .28); --fc-label: #92400e; --fc-count: #b45309; --fc-sub: #d97706; --fc-active-border: #f59e0b; --fc-active-shadow: 0 12px 28px rgba(245, 158, 11, .22); }
.filter-card-theme-red { --fc-bg: linear-gradient(135deg, #fffafa 0%, #fef2f2 100%); --fc-border: #fecaca; --fc-accent: linear-gradient(180deg, #ef4444, #b91c1c); --fc-icon-bg: linear-gradient(135deg, #ef4444, #dc2626); --fc-icon-shadow: 0 6px 16px rgba(220, 38, 38, .28); --fc-label: #7f1d1d; --fc-count: #b91c1c; --fc-sub: #dc2626; --fc-active-border: #dc2626; --fc-active-shadow: 0 12px 28px rgba(220, 38, 38, .22); }
.filter-card-theme-teal { --fc-bg: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%); --fc-border: #99f6e4; --fc-accent: linear-gradient(180deg, #14b8a6, #0f766e); --fc-icon-bg: linear-gradient(135deg, #14b8a6, #0d9488); --fc-icon-shadow: 0 6px 16px rgba(13, 148, 136, .28); --fc-label: #134e4a; --fc-count: #0f766e; --fc-sub: #0d9488; --fc-active-border: #0d9488; --fc-active-shadow: 0 12px 28px rgba(13, 148, 136, .22); }
.filter-card-theme-indigo { --fc-bg: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%); --fc-border: #c7d2fe; --fc-accent: linear-gradient(180deg, #6366f1, #4338ca); --fc-icon-bg: linear-gradient(135deg, #6366f1, #4f46e5); --fc-icon-shadow: 0 6px 16px rgba(79, 70, 229, .28); --fc-label: #312e81; --fc-count: #4338ca; --fc-sub: #4f46e5; --fc-active-border: #4f46e5; --fc-active-shadow: 0 12px 28px rgba(79, 70, 229, .22); }
.filter-card-theme-slate { --fc-bg: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); --fc-border: #cbd5e1; --fc-accent: linear-gradient(180deg, #64748b, #475569); --fc-icon-bg: linear-gradient(135deg, #64748b, #475569); --fc-icon-shadow: 0 6px 16px rgba(71, 85, 105, .28); --fc-label: #334155; --fc-count: #475569; --fc-sub: #64748b; --fc-active-border: #475569; --fc-active-shadow: 0 12px 28px rgba(71, 85, 105, .22); }
.filter-card-theme-rose { --fc-bg: linear-gradient(135deg, #fff5f7 0%, #ffe4e6 100%); --fc-border: #fecdd3; --fc-accent: linear-gradient(180deg, #f43f5e, #be123c); --fc-icon-bg: linear-gradient(135deg, #f43f5e, #e11d48); --fc-icon-shadow: 0 6px 16px rgba(225, 29, 72, .28); --fc-label: #9f1239; --fc-count: #be123c; --fc-sub: #e11d48; --fc-active-border: #e11d48; --fc-active-shadow: 0 12px 28px rgba(225, 29, 72, .22); }
.filter-card-theme-cyan { --fc-bg: linear-gradient(135deg, #f0fdfa 0%, #cffafe 100%); --fc-border: #a5f3fc; --fc-accent: linear-gradient(180deg, #06b6d4, #0e7490); --fc-icon-bg: linear-gradient(135deg, #06b6d4, #0891b2); --fc-icon-shadow: 0 6px 16px rgba(8, 145, 178, .28); --fc-label: #155e75; --fc-count: #0e7490; --fc-sub: #0891b2; --fc-active-border: #0891b2; --fc-active-shadow: 0 12px 28px rgba(8, 145, 178, .22); }
@media (max-width: 768px) { .filter-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .filter-cards { grid-template-columns: 1fr; } }

/* Eski member-status sınıfları → filter-cards ile uyumlu */
.member-status-filter { display: contents; }

/* Alert */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 13px; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-info { background: #dbeafe; color: #1e40af; }

/* Login — sade beyaz zemin (lacivert panel kaldırıldı) */
html.login-html,
body.login-body {
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}
body.login-body {
  margin: 0;
  background: var(--gray-50);
  overflow-x: hidden;
  color: var(--gray-900);
}
.login-page,
.login-page--light,
.login-page--solid {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  box-sizing: border-box;
  background: var(--gray-50);
}
.login-stage {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.login-hero,
.login-left,
.login-right { display: none !important; }
.login-box {
  width: 100%;
  max-width: 440px;
  background: #fff;
  color: var(--gray-900);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--gray-100);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}
.login-box-brand {
  display: block !important;
  text-align: center;
  margin-bottom: 22px;
}
.login-wordmark {
  display: block;
  font-size: clamp(34px, 7vw, 48px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--sidebar);
  text-transform: uppercase;
}
.login-wordmark::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 99px;
  background: var(--primary);
}
.login-box h2 { color: var(--gray-900); text-align: center; }
.login-box .login-sub { color: var(--gray-500); text-align: center; }
.login-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.login-tab { flex: 1; min-width: 90px; padding: 10px; text-align: center; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; border: none; background: var(--gray-100); color: var(--gray-600); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
a.login-tab:hover { background: var(--gray-200); color: var(--gray-900); }
.login-tab.active { background: var(--primary); color: #fff; }
a.login-tab.active:hover { color: #fff; }
.reset-method-tabs .login-tab { font-size: 12px; padding: 8px 6px; }

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.grid-3 .dashboard-table-card .card-body.no-pad { max-height: 340px; overflow-y: auto; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Mobile */
.mobile-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--gray-200); z-index: 50; }
.mobile-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 8px; font-size: 10px; color: var(--gray-500); text-decoration: none; }
.mobile-nav a.active { color: var(--primary); }
.menu-btn { display: none; background: none; border: none; font-size: 20px; cursor: pointer; padding: 8px; }

@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .main { margin-left: 0; }
  .menu-btn { display: block; }
  .mobile-nav { display: flex; }
  .content { padding-bottom: 70px; }
  .form-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.page-header h1 { font-size: 22px; font-weight: 700; }
.page-header p { font-size: 13px; color: var(--gray-500); margin-top: 4px; }

.search-box { position: relative; flex: 1; max-width: 400px; }
.search-box input { width: 100%; padding: 8px 12px 8px 36px; border: 1px solid var(--gray-200); border-radius: 8px; background: var(--gray-50); font-size: 13px; }

.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 12px; }
.quick-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; text-align: center; font-size: 11px; color: var(--gray-600); text-decoration: none; transition: .2s; }
.quick-item:hover { background: var(--gray-50); }
.quick-item .qi-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; }

/* Lucide Icons */
.icon, [data-lucide] { width: 18px; height: 18px; stroke-width: 2; flex-shrink: 0; }
.icon-sm, .icon-sm [data-lucide] { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }
.icon-dot { width: 8px; height: 8px; color: #4ade80; fill: #4ade80; }
.nav-item .icon, .nav-label .icon, .nav-icon-slot .icon { width: 16px; height: 16px; }
.sidebar .icon { color: rgba(255,255,255,.9); }
.nav-item.active .icon, .nav-parent-link.is-active .icon { color: #fff; }
.topbar-icon .icon { color: var(--gray-600); }
.stat-icon { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-icon .icon { width: 20px; height: 20px; }
.stat-icon.bg-blue { background: #dbeafe; color: #2563eb; }
.stat-icon.bg-green { background: #dcfce7; color: #16a34a; }
.stat-icon.bg-red { background: #fee2e2; color: #dc2626; }
.stat-icon.bg-pink { background: #fce7f3; color: #db2777; }
.stat-icon.bg-purple { background: #f3e8ff; color: #7c3aed; }
.stat-icon.bg-amber { background: #fef3c7; color: #d97706; }

/* Üye durumları */
.status-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 24px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid #dbeafe;
  border-radius: 14px;
}
.status-overview-main { display: flex; align-items: center; gap: 16px; }
.status-overview-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .25);
}
.status-overview-icon .icon { width: 26px; height: 26px; color: #fff; }
.status-overview-label { font-size: 12px; color: var(--gray-500); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.status-overview-value { font-size: 32px; font-weight: 700; color: var(--gray-900); line-height: 1.1; margin-top: 2px; }
.status-overview-sub { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.status-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.status-card {
  display: block;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  border-top: 3px solid var(--status-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.status-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  border-color: var(--status-color);
}
.status-card-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.status-card-meta { min-width: 0; }
.status-card-label { font-size: 14px; font-weight: 600; color: var(--gray-900); }
.status-card-desc { font-size: 11px; color: var(--gray-500); margin-top: 3px; line-height: 1.4; }
.status-card-value { font-size: 28px; font-weight: 700; color: var(--gray-900); line-height: 1; }
.status-card-pct { font-size: 11px; color: var(--gray-500); margin-top: 4px; margin-bottom: 10px; }
.status-card-bar { height: 6px; background: var(--gray-100); border-radius: 99px; overflow: hidden; }
.status-card-bar span { display: block; height: 100%; background: var(--status-color); border-radius: 99px; transition: width .4s ease; }
.status-distribution {
  display: flex;
  height: 14px;
  border-radius: 99px;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 14px;
}
.status-dist-segment { min-width: 4px; transition: width .4s ease; }
.status-dist-legend { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.status-dist-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-600); }
.status-dist-item i { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.status-dist-item strong { color: var(--gray-900); }
@media (max-width: 1200px) {
  .status-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .status-cards { grid-template-columns: 1fr; }
  .status-overview { padding: 16px; }
  .status-overview-value { font-size: 26px; }
}
.btn .icon { margin-right: 4px; }
.dropdown-menu a { display: flex; align-items: center; gap: 8px; }
.doc-icon { color: var(--primary); }
.profile-avatar { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; }
.profile-header { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.qr-img { border-radius: 8px; border: 1px solid var(--gray-200); }
.filter-bar { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.meeting-card { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.meeting-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--gray-500); flex-wrap: wrap; }
.rsvp-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.firma-logo { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.map-embed { width: 100%; height: 160px; border: 0; border-radius: 8px; margin-top: 12px; }
.qr-dialog { border: none; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.15); padding: 0; }
.mobile-nav a { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mobile-nav .icon { width: 20px; height: 20px; }
.nav-label { display: inline-flex; align-items: center; gap: 10px; }
.member-avatar { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }

/* Üye arama */
.member-search { position: relative; }
.member-search-box { display: flex; gap: 8px; align-items: center; position: relative; }
.member-search-box .form-control { flex: 1; padding-left: 36px; }
.member-search-icon { position: absolute; left: 10px; z-index: 2; color: var(--gray-500); pointer-events: none; }
.member-search-results { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--gray-200); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.1); z-index: 40; max-height: 240px; overflow-y: auto; margin-top: 4px; }
.member-search-results.open { display: block; }
.member-search-item { display: block; width: 100%; text-align: left; padding: 10px 14px; border: none; background: none; cursor: pointer; border-bottom: 1px solid var(--gray-50); }
.member-search-item:hover { background: var(--gray-50); }
.member-search-item strong { display: block; font-size: 13px; }
.member-search-item small { color: var(--gray-500); font-size: 11px; }
.member-search-empty { padding: 12px; color: var(--gray-500); font-size: 13px; }
.member-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.member-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--gray-100, #f1f5f9); border: 1px solid var(--gray-200, #e2e8f0); border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 13px; }
.member-chip-label { line-height: 1.2; }
.member-chip-remove { border: none; background: var(--gray-200, #e2e8f0); color: var(--gray-600, #475569); width: 18px; height: 18px; border-radius: 50%; cursor: pointer; font-size: 14px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.member-chip-remove:hover { background: #ef4444; color: #fff; }
.member-match-status { margin-top: 6px; font-size: 12px; }
.member-match-status.match-success { color: var(--success); }
.member-match-status.match-warn { color: var(--warning); }
.match-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.match-suggestion { border: 1px solid var(--gray-200); background: var(--gray-50); border-radius: 6px; padding: 4px 8px; font-size: 11px; cursor: pointer; }
.match-suggestion:hover { border-color: var(--primary); color: var(--primary); }

.modal { display: none; position: fixed; inset: 0; z-index: 400; align-items: center; justify-content: center; padding: 20px; pointer-events: none; visibility: hidden; }
.modal.open { display: flex; pointer-events: auto; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); z-index: 0; }
.modal-box { position: relative; background: #fff; border-radius: 14px; width: 100%; max-width: 520px; padding: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.2); z-index: 1; }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal-close { background: none; border: none; cursor: pointer; color: var(--gray-500); padding: 4px; display: inline-flex; align-items: center; text-decoration: none; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.text-right { text-align: right; }

/* Komisyonlar */
.page-header-actions { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 5; }
.page-header-actions .btn .icon,
.page-header-actions .btn svg,
.form-hint { display: block; margin-top: 4px; color: var(--gray-500); font-size: 11px; }
.commission-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.commission-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.commission-stat-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.commission-stat-icon .icon { width: 22px; height: 22px; }
.commission-stat-label { font-size: 12px; color: var(--gray-500); font-weight: 500; }
.commission-stat-value { font-size: 24px; font-weight: 700; color: var(--gray-900); line-height: 1.1; margin-top: 2px; }
.commission-table .commission-name { font-weight: 600; color: var(--gray-900); font-size: 14px; }
.commission-table .commission-meta { margin-top: 6px; }
.commission-table .commission-desc { color: var(--gray-500); font-size: 13px; max-width: 280px; }
.commission-members { display: flex; flex-wrap: wrap; gap: 8px; }
.commission-member-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  font-size: 12px;
  color: var(--gray-700);
}
.commission-member-chip .badge { font-size: 10px; padding: 1px 8px; }
.commission-more { font-size: 12px; color: var(--gray-500); align-self: center; }
.commission-empty { font-size: 12px; color: var(--gray-400); font-style: italic; }
.commission-empty-row { text-align: center; padding: 40px !important; color: var(--gray-500); }
.commission-actions { justify-content: flex-end; }
.commission-row-click { cursor: pointer; }
.commission-row-click:hover { background: #f8fafc; }
.commission-name-link { text-decoration: none; color: inherit; }
.commission-name-link:hover .commission-name { color: var(--primary); }

.commission-breadcrumb { font-size: 13px; color: var(--gray-500); margin: 0 0 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.commission-breadcrumb a { color: var(--primary); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.commission-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.commission-detail-stat {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 16px 18px;
}
.commission-detail-stat-label { display: block; font-size: 12px; color: var(--gray-500); margin-bottom: 6px; }
.commission-detail-stat strong { font-size: 24px; color: var(--gray-900); }
.commission-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}
.commission-detail-main { display: flex; flex-direction: column; gap: 16px; }
.commission-role-section {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
}
.commission-role-baskan { border-top: 3px solid #2563eb; }
.commission-role-baskan_yardimcisi { border-top: 3px solid #7c3aed; }
.commission-role-uye { border-top: 3px solid #64748b; }
.commission-role-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid var(--gray-100);
}
.commission-role-head-left { display: flex; align-items: center; gap: 12px; }
.commission-role-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: #eff6ff; color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.commission-role-head h3 { margin: 0; font-size: 16px; }
.commission-role-head p { margin: 4px 0 0; font-size: 12px; color: var(--gray-500); }
.commission-role-body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.commission-role-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--gray-500);
  font-size: 13px;
  background: #fafafa;
  border-radius: 10px;
  border: 1px dashed var(--gray-200);
}
.commission-role-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
}
.commission-role-card .member-avatar { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.commission-role-name { font-weight: 700; color: var(--gray-900); font-size: 15px; }
.commission-role-sub { margin-top: 4px; font-size: 13px; color: var(--gray-600); }
.commission-role-contact {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  margin-top: 8px; font-size: 12px; color: var(--gray-500);
}
.commission-role-contact span { display: inline-flex; align-items: center; gap: 6px; }
.commission-role-actions {
  display: flex; flex-direction: column; gap: 8px; min-width: 220px;
}
.commission-gorev-form { margin: 0; }
.commission-gorev-label { display: block; font-size: 11px; font-weight: 600; color: var(--gray-500); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.commission-gorev-row { display: flex; gap: 8px; align-items: center; }
.commission-gorev-row .form-control { min-width: 150px; }
.btn-danger-text { color: #b91c1c; border-color: #fecaca; }
.btn-danger-text:hover { background: #fef2f2; color: #991b1b; }
.commission-rules ul { margin: 0; padding-left: 18px; color: var(--gray-600); font-size: 13px; line-height: 1.6; }
.commission-overview-actions { margin-bottom: 16px; }
.commission-overview-card { margin-bottom: 16px; }
.commission-overview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.commission-overview-head h3 { margin: 0; display: flex; align-items: center; gap: 8px; }
.commission-gorev-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.commission-gorev-stat {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 14px 16px;
}
.commission-gorev-stat span { display: block; font-size: 12px; color: var(--gray-500); }
.commission-gorev-stat strong { font-size: 22px; color: var(--gray-900); }
/* Rapor filtre & istatistik */
.report-filter-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}
.report-filter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}
.report-filter-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}
.report-filter-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--gray-500);
}
.report-filter-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}
.report-filter-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}
.report-filter-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.report-filter-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.report-preset {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: .2s;
}
.report-preset:hover,
.report-preset.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.report-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.report-stat-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.report-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.report-stat-icon .icon { width: 22px; height: 22px; }
.report-stat-label { font-size: 12px; color: var(--gray-500); font-weight: 500; }
.report-stat-value { font-size: 20px; font-weight: 700; color: var(--gray-900); line-height: 1.2; margin-top: 4px; word-break: break-word; }
.report-stat-sub { font-size: 11px; color: var(--gray-400); margin-top: 4px; }
.report-chart-card .card-header h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.report-chart-sub { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.report-chart-wrap { height: 320px; }
@media (max-width: 900px) {
  .report-filter-fields { grid-template-columns: 1fr; }
  .report-filter-actions { width: 100%; }
  .report-filter-actions .btn { flex: 1; justify-content: center; }
}
@media (max-width: 1024px) {
  .commission-stats { grid-template-columns: 1fr; }
  .commission-table .commission-desc { max-width: none; }
  .commission-actions { justify-content: flex-start; }
  .commission-detail-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commission-detail-layout { grid-template-columns: 1fr; }
  .commission-role-card { grid-template-columns: 52px 1fr; }
  .commission-role-actions { min-width: 0; grid-column: 1 / -1; }
  .commission-gorev-stats { grid-template-columns: 1fr; }
}

/* Rehber sayfaları */
.directory-filter-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}
.directory-filter-actions { align-self: end; }
.directory-search .search-box { width: 100%; }
.directory-list-card {
  margin-bottom: 16px;
  border: 1px solid var(--gray-100);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}
.directory-table tbody tr {
  transition: background .15s;
}
.directory-table tbody tr:hover {
  background: var(--gray-50);
}
.directory-table th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gray-500);
  background: #fafbfc;
  border-bottom: 1px solid var(--gray-100);
}
.directory-table td {
  vertical-align: middle;
  padding-top: 14px;
  padding-bottom: 14px;
}
.directory-firma-cell {
  align-items: flex-start;
  gap: 12px;
}
.directory-firma-cell .directory-firma-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  flex-shrink: 0;
}
.directory-firma-yetkili {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}
.directory-firma-snippet {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 4px;
  line-height: 1.4;
  max-width: 280px;
}
.directory-table .directory-contact-cell a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--primary);
  text-decoration: none;
}
.directory-table .directory-contact-cell a:hover { text-decoration: underline; }
.directory-row-actions {
  white-space: nowrap;
  text-align: right;
}
.directory-firma-dialog {
  width: min(520px, 92vw);
  padding: 20px;
}
.directory-firma-dialog-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
}
.directory-firma-dialog-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
}
.directory-firma-dialog-head strong {
  display: block;
  font-size: 16px;
}
.directory-firma-dialog-head p {
  margin: 4px 0 8px;
  font-size: 13px;
}
.directory-detail-panel .directory-card-text {
  margin-top: 0;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 12px;
}
.directory-detail-panel .directory-card-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 12px;
}
.directory-detail-panel .directory-card-contact span,
.directory-detail-panel .directory-card-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.directory-detail-panel .directory-card-actions {
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}
.directory-table .directory-contact-cell { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.directory-table .directory-contact-cell span { display: inline-flex; align-items: center; gap: 6px; }
.directory-dialog-close {
  width: 100%;
  margin-top: 16px;
}
.directory-table .table-user img {
  width: 32px;
  height: 32px;
}
@media (max-width: 1100px) {
  .directory-filter-grid { grid-template-columns: 1fr 1fr; }
  .directory-filter-actions { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .directory-filter-grid { grid-template-columns: 1fr; }
  .directory-firma-snippet { max-width: none; }
  .directory-table { display: block; overflow-x: auto; }
}
.ticket-timeline { display: flex; flex-direction: column; gap: 10px; }
.ticket-step { padding: 10px 14px; border-radius: 8px; background: var(--gray-50); font-size: 13px; border-left: 3px solid var(--gray-200); }
.ticket-step.done { border-left-color: var(--primary); background: #eff6ff; }
.ticket-message { font-size: 14px; line-height: 1.6; }

/* Firma görselleri */
.firma-preview-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 12px; }
.firma-preview-item { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--gray-200); cursor: grab; transition: box-shadow .15s, transform .15s; aspect-ratio: 1; background: var(--gray-50); display: flex; align-items: center; justify-content: center; }
.firma-preview-item:active { cursor: grabbing; }
.firma-preview-item.dragging { opacity: .55; transform: scale(.96); }
.firma-preview-item.drag-over { box-shadow: 0 0 0 2px var(--primary); }
.firma-preview-item img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; pointer-events: none; user-select: none; }
.firma-order { position: absolute; bottom: 4px; right: 4px; background: rgba(0,0,0,.65); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; pointer-events: none; z-index: 2; }
.firma-drag-hint { position: absolute; top: 4px; left: 4px; background: rgba(255,255,255,.9); color: var(--gray-600); font-size: 10px; padding: 3px 5px; border-radius: 4px; pointer-events: none; display: flex; align-items: center; z-index: 2; }
.firma-delete-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 0; background: rgba(220,38,38,.72); color: #fff; opacity: 0; transition: opacity .15s; cursor: pointer; z-index: 3; }
.firma-preview-item:hover .firma-delete-btn { opacity: 1; }
.firma-delete-btn .icon { width: 28px; height: 28px; }
.firma-logo-preview { position: relative; display: inline-block; max-width: 160px; margin-bottom: 10px; border-radius: 10px; overflow: hidden; border: 1px solid var(--gray-200); cursor: pointer; }
.firma-logo-preview img { width: 160px; height: 160px; object-fit: contain; display: block; background: var(--gray-50); }
.firma-logo-preview:hover img { filter: brightness(.85); }
.firma-media-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4px; background: rgba(0,0,0,.45); color: #fff; font-size: 12px; font-weight: 600; opacity: 0; transition: opacity .15s; }
.firma-logo-preview:hover .firma-media-hint { opacity: 1; }
.firma-map-wrap { margin-top: 16px; border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; background: var(--gray-50); }
.firma-map-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: #fff; border-bottom: 1px solid var(--gray-100); font-size: 13px; }
.firma-map-label { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gray-700); }
.firma-map-open { font-size: 12px; color: var(--primary); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.firma-map-open:hover { text-decoration: underline; }
.social-links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; grid-column: 1 / -1; margin-top: 4px; }
.social-links-title { font-size: 13px; color: var(--gray-700); margin-bottom: 4px; }
.social-link-field label { display: inline-flex; align-items: center; gap: 6px; }
.social-link-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; background: var(--gray-100); color: var(--gray-700); font-size: 12px; text-decoration: none; margin: 2px 4px 2px 0; }
.social-link-chip:hover { background: #eff6ff; color: var(--primary); }
.directory-social-links { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.directory-card-map { margin-top: 10px; height: 140px; }
.directory-firma-logo { object-fit: contain; background: var(--gray-50); }
.directory-gallery { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.directory-gallery-thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; border: 1px solid var(--gray-200); display: block; }
.directory-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.directory-gallery-thumb:hover { box-shadow: 0 0 0 2px var(--primary); }
@media (max-width: 768px) {
  .social-links-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1200px) {
  .firma-preview-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .firma-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

.firma-bulk-upload { margin-top: 8px; }
.firma-bulk-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.firma-bulk-dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 28px 20px; border: 2px dashed var(--gray-200); border-radius: 12px;
  background: var(--gray-50); cursor: pointer; text-align: center; transition: border-color .15s, background .15s;
}
.firma-bulk-dropzone:hover, .firma-bulk-dropzone.drag-over {
  border-color: var(--primary); background: #eff6ff;
}
.firma-bulk-dropzone strong { font-size: 14px; color: var(--gray-900); }
.firma-bulk-dropzone span { font-size: 13px; color: var(--gray-700); }
.firma-bulk-dropzone small { font-size: 11px; color: var(--gray-500); max-width: 420px; line-height: 1.5; }
.firma-bulk-queue {
  margin-top: 12px; padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: 10px; background: #fff;
}
.firma-bulk-queue-head { font-size: 13px; margin-bottom: 8px; color: var(--gray-700); }
.firma-bulk-queue-list { margin: 0; padding: 0; list-style: none; max-height: 160px; overflow-y: auto; }
.firma-bulk-queue-list li { font-size: 12px; padding: 6px 0; border-bottom: 1px solid var(--gray-50); color: var(--gray-800); }
.firma-bulk-queue-num { display: inline-block; min-width: 22px; font-weight: 600; color: var(--primary); }

/* Login güvenlik */
.login-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
.login-brand-tagline { font-size: 14px; opacity: .75; margin: 0; line-height: 1.5; }
.login-brand-logo,
.brand-logo-media.login-brand-logo {
    display: block;
    width: min(100%, 280px);
    max-height: 68px;
}
.login-brand-logo picture,
.login-brand-logo img,
.brand-logo-media.login-brand-logo picture,
.brand-logo-media.login-brand-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 68px;
    object-fit: contain;
    object-position: left center;
}
.login-box-brand {
    display: none;
    text-align: center;
    margin-bottom: 20px;
}
.login-box-brand-logo,
.brand-logo-media.login-box-brand-logo {
    display: inline-block;
    width: min(100%, 220px);
    max-height: 56px;
}
.login-box-brand-logo picture,
.login-box-brand-logo img,
.brand-logo-media.login-box-brand-logo picture,
.brand-logo-media.login-box-brand-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 56px;
    object-fit: contain;
    margin: 0 auto;
}
.login-logo { width: 48px; height: 48px; background: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.login-desc { opacity: .7; line-height: 1.6; margin-bottom: 24px; }
.login-features { list-style: none; font-size: 13px; opacity: .85; }
.login-features li { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.login-sub { font-size: 13px; color: var(--gray-500); margin-bottom: 24px; }
.login-context-info { font-size: 12px; display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.login-submit { width: 100%; padding: 12px; margin-top: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.login-footer { text-align: center; margin-top: 16px; font-size: 13px; color: var(--gray-500); }
.password-field { position: relative; }
.password-field .form-control { padding-right: 44px; }
.password-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--gray-500); padding: 4px; display: flex; align-items: center; }
.password-toggle:hover { color: var(--primary); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.manual-security { margin-top: 8px; }
.security-code-box { background: var(--gray-50); border: 2px dashed var(--primary); border-radius: 10px; padding: 14px; text-align: center; margin-bottom: 10px; }
.security-code-hint { display: block; font-size: 12px; color: var(--gray-500); margin-bottom: 8px; }
.security-code-display { font-size: 28px; font-weight: 800; letter-spacing: 8px; color: var(--primary); font-family: 'Courier New', monospace; user-select: all; }
.security-code-input { font-size: 18px; font-weight: 600; letter-spacing: 6px; text-align: center; text-transform: uppercase; }
.security-code-input::placeholder { letter-spacing: normal; font-weight: 400; text-transform: none; font-size: 14px; color: var(--gray-400, #9ca3af); }
.qr-card { margin-top: 16px; display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--gray-50); border-radius: 12px; }

.search-box { position: relative; }
.search-box .search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--gray-500); }
.search-box input { padding-left: 36px; }

.stats-grid-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.stats-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-sm { font-size: 14px !important; }
.trend-up { color: var(--success); font-weight: 500; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.span-2 { grid-column: span 2; }
.chart-wrap { height: 220px; position: relative; }
.chart-wrap canvas { max-height: 200px; }
.mini-list-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--gray-50); }
.mini-list-item img { width: 32px; height: 32px; border-radius: 50%; }
.flex-1 { flex: 1; min-width: 0; }
.text-muted { color: var(--gray-500); font-size: 13px; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.b2b-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; font-size: 12px; }
.b2b-stats .label { display: block; color: var(--gray-500); }
.gauge-wrap { position: relative; height: 100px; }
.gauge-label { text-align: center; font-size: 12px; color: var(--gray-500); margin-top: -8px; }
.financial-summary .fs-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--gray-50); }
.financial-summary .fs-balance { font-size: 16px; font-weight: 700; border-bottom: none; padding-top: 16px; }
.progress-row { margin-bottom: 12px; }
.progress-label { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 4px; }
.progress-bar { height: 8px; background: var(--gray-100); border-radius: 4px; overflow: hidden; }
.progress-bar div { height: 100%; border-radius: 4px; }
.quick-grid-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.table-user { display: flex; align-items: center; gap: 8px; }
.table-user img { width: 24px; height: 24px; border-radius: 50%; }
.ring-chart { width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(var(--primary) calc(var(--pct) * 1%), var(--gray-200) 0); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ring-chart span { width: 36px; height: 36px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.export-bar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.card-link { text-decoration: none; color: inherit; transition: .2s; }
.card-link:hover { border-color: var(--primary); box-shadow: 0 4px 12px rgba(37,99,235,.1); }

/* Sidebar nav groups */
.nav-group { margin-bottom: 2px; }
.nav-toggle-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 0;
  border-radius: 12px;
  border: 1px solid transparent;
  overflow: hidden;
  transition: background .2s ease, border-color .2s ease;
}
.nav-toggle-row.is-open,
.nav-group.open .nav-toggle-row {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.06);
}
.nav-parent-link {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px 0 0 12px;
  color: var(--sidebar-text);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.nav-parent-link:hover,
.nav-parent-link.is-active { background: var(--sidebar-hover); color: #fff; }
.nav-parent-link:hover .nav-icon-slot,
.nav-parent-link.is-active .nav-icon-slot { background: rgba(59,130,246,.18); }
.nav-chevron-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.45);
  padding: 8px 12px;
  border-radius: 0 12px 12px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.nav-chevron-btn:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-toggle { width: 100%; background: none; border: none; cursor: pointer; text-align: left; color: inherit; font: inherit; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nav-toggle:hover { background: var(--sidebar-hover); color: #fff; }
.nav-toggle .nav-label { flex: 1; min-width: 0; }
.nav-toggle .nav-arrow { opacity: 0.65; flex-shrink: 0; }
.nav-group .nav-sub {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  padding: 0 6px 0 22px;
  border-left: 2px solid transparent;
  transition: max-height .35s cubic-bezier(.4,0,.2,1), opacity .25s ease, margin .3s ease, padding .3s ease, border-color .3s ease;
}
.nav-group.open .nav-sub {
  max-height: 720px;
  opacity: 1;
  margin: 4px 0 6px;
  padding: 6px 6px 6px 22px;
  border-left-color: rgba(59,130,246,.22);
}
/* JS olmadan veya ok tıklanmadan alt menü — fare ile üzerine gelince açılır */
@media (hover: hover) {
  .nav-group:hover .nav-sub,
  .nav-group:focus-within .nav-sub {
    max-height: 720px;
    opacity: 1;
    margin: 4px 0 6px;
    padding: 6px 6px 6px 22px;
    border-left-color: rgba(59,130,246,.22);
  }
  .nav-group:hover .nav-toggle-row,
  .nav-group:focus-within .nav-toggle-row {
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.06);
  }
  .nav-group:hover .nav-arrow,
  .nav-group:focus-within .nav-arrow {
    transform: rotate(180deg);
    opacity: .9;
  }
}
.nav-arrow { width: 16px; height: 16px; opacity: .55; transition: transform .25s cubic-bezier(.4,0,.2,1), opacity .2s ease; }
.nav-group.open .nav-arrow { transform: rotate(180deg); opacity: .9; }
.sidebar-footer {
  padding: 12px;
  border-top: 1px solid var(--sidebar-border);
  display: flex;
  gap: 6px;
  background: rgba(0,0,0,.18);
}
.sidebar-footer .nav-item {
  flex: 1;
  justify-content: center;
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.sidebar-footer .nav-item:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }
.sidebar-footer .nav-item .nav-icon-slot { width: 28px; height: 28px; border-radius: 8px; }
.sidebar-footer .nav-item .nav-label-text { display: none; }

/* Topbar */
.topbar-title-wrap { display: flex; align-items: center; gap: 10px; min-width: 0; flex-shrink: 0; }
.topbar-title { font-size: 16px; font-weight: 600; white-space: nowrap; }
.topbar-version {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #1e40af;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 55%, #eff6ff 100%);
  background-size: 200% 200%;
  border: 1px solid rgba(37, 99, 235, .28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .75) inset,
    0 2px 10px rgba(37, 99, 235, .14);
  animation: topbar-version-shine 4s ease-in-out infinite;
}
.topbar-version-label { opacity: .72; font-weight: 600; }
.topbar-version-num {
  color: #1d4ed8;
  font-weight: 800;
  letter-spacing: .06em;
  text-shadow: 0 0 12px rgba(37, 99, 235, .25);
  animation: topbar-version-pulse 2.8s ease-in-out infinite;
}
@keyframes topbar-version-shine {
  0%, 100% { background-position: 0% 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.75) inset, 0 2px 10px rgba(37,99,235,.14); }
  50% { background-position: 100% 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.85) inset, 0 2px 14px rgba(37,99,235,.24), 0 0 18px rgba(59,130,246,.12); }
}
@keyframes topbar-version-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .92; transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .topbar-version,
  .topbar-version-num { animation: none; }
}
.topbar-search { margin-left: auto; }
.search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 12px; opacity: .5; }
.search-box input { padding-left: 32px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.topbar-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; padding: 8px; text-decoration: none; border-radius: 8px; cursor: pointer; transition: background .15s, color .15s; }
.topbar-icon:hover { background: var(--gray-100); }
.topbar-icon:hover .icon { color: var(--primary); }
.badge-count { position: absolute; top: 2px; right: 0; background: var(--danger); color: #fff; font-size: 9px; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px; pointer-events: none; }
.topbar-profile { display: flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--gray-200); border-radius: 20px; padding: 4px 12px 4px 4px; cursor: pointer; font-size: 13px; }
.topbar-profile img { width: 28px; height: 28px; border-radius: 50%; }
.dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; right: 0; margin-top: 4px; background: #fff; border: 1px solid var(--gray-200); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.1); min-width: 200px; z-index: 60; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 16px; font-size: 13px; color: var(--gray-700); text-decoration: none; }
.dropdown-menu a:hover { background: var(--gray-50); }
.dropdown-footer { border-top: 1px solid var(--gray-100); color: var(--primary) !important; font-weight: 500; }
.hide-mobile { display: inline-flex; }
.admin-mobile-nav { display: none; }

@media (max-width: 1400px) {
  .stats-grid-8 { grid-template-columns: repeat(4, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .span-2 { grid-column: span 2; }
  .quick-grid-8 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .stats-grid-8, .stats-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .topbar-search { display: none; }
  .hide-mobile { display: none; }
  .admin-mobile-nav { display: flex; }
  .content { padding-bottom: 70px; }
  .quick-grid-8 { grid-template-columns: repeat(4, 1fr); }
}

.crud-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.crud-actions .btn { white-space: nowrap; min-height: 32px; }
.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--gray-200); background: #fff; color: var(--gray-700); font-size: 13px; font-weight: 500; text-decoration: none; }
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-dots { color: var(--gray-500); padding: 0 4px; }
.pagination-info { text-align: center; margin-top: 8px; font-size: 12px; }

/* Global arama */
.search-dropdown { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1px solid var(--gray-200); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.1); max-height: 360px; overflow-y: auto; z-index: 200; }
.search-dropdown.open { display: block; }
.search-item { display: block; padding: 10px 14px; border-bottom: 1px solid var(--gray-100); text-decoration: none; color: inherit; }
.search-item:hover { background: var(--gray-50); }
.search-item strong { display: block; font-size: 13px; color: var(--gray-900); }
.search-item small { display: block; font-size: 11px; color: var(--gray-500); margin-top: 2px; }
.search-type { display: inline-block; font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--primary); margin-bottom: 2px; }
.search-empty { padding: 14px; font-size: 13px; color: var(--gray-500); text-align: center; }
.badge-count.badge-warning { background: var(--warning); }
.topbar-search { position: relative; }

/* Uygulama footer — Haldız Kurumsal */
.design-credit-card {
  max-width: 820px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15,23,42,.06);
}
.design-credit-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
  color: #fff;
}
.design-credit-hero-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  flex-shrink: 0;
}
.design-credit-hero-icon .icon { color: #fff; width: 24px; height: 24px; }
.design-credit-title {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.design-credit-subtitle {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.78);
}
.design-credit-body { padding: 24px 28px 28px; }
.design-credit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.design-credit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px solid var(--gray-100);
  min-height: 100%;
}
.design-credit-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.design-credit-icon-firm { background: #ede9fe; color: #6d28d9; }
.design-credit-icon-person { background: #dbeafe; color: #1d4ed8; }
.design-credit-icon-phone { background: #dcfce7; color: #15803d; }
.design-credit-icon-web { background: #ffedd5; color: #c2410c; }
.design-credit-item-copy { min-width: 0; }
.design-credit-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 5px;
}
.design-credit-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.45;
  word-break: break-word;
}
.design-credit-link {
  color: #1d4ed8;
  text-decoration: none;
  transition: color .15s ease;
}
.design-credit-link:hover { color: #1e40af; text-decoration: underline; }
.design-credit-web { font-size: 15px; }
.design-credit-sep { margin: 0 6px; color: var(--gray-400); }
.design-credit-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1e3a8a;
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.design-credit-note .icon { flex-shrink: 0; margin-top: 2px; color: #2563eb; }
.design-credit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 720px) {
  .design-credit-grid { grid-template-columns: 1fr; }
  .design-credit-hero,
  .design-credit-body { padding-left: 18px; padding-right: 18px; }
  .design-credit-actions .btn { flex: 1 1 100%; justify-content: center; }
}

.app-footer {
  margin-top: auto;
  flex-shrink: 0;
  padding: 16px 24px;
  border-top: 1px solid var(--gray-200);
  background: #fff;
  text-align: center;
}
.app-footer-text {
  margin: 0 auto;
  max-width: 900px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray-500);
  font-weight: 400;
}
.app-footer-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, .35);
  transition: color .2s ease, border-color .2s ease;
}
.app-footer-link:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}
.login-page-footer {
  width: 100%;
  margin: 4px auto 0;
  padding: 0;
  background: transparent;
  border-top: none;
}
.login-page-footer .app-footer {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 8px 0;
  text-align: center;
  color: var(--gray-500);
}
.login-page-footer .app-footer-text,
.login-page-footer .app-footer a,
.login-page-footer .app-footer-link {
  color: var(--gray-500);
  border-bottom-color: rgba(107, 114, 128, .35);
}
.login-page-footer .app-footer a:hover,
.login-page-footer .app-footer-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
@media (max-width: 640px) {
  .app-footer { padding: 14px 16px; }
  .app-footer-text { font-size: 11px; }
}

/* Başvuru detay */
.table-link {
  color: var(--gray-900);
  font-weight: 600;
  text-decoration: none;
}
.table-link:hover { color: var(--primary); }

.app-detail-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 24px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 12px;
}
.app-detail-summary-main {
  display: flex;
  gap: 16px;
  align-items: center;
}
.app-detail-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-detail-name {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}
.app-detail-firma {
  margin: 4px 0 8px;
  font-size: 14px;
  color: var(--gray-600);
}
.app-detail-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.app-detail-date {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.app-detail-quick {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
}
.app-detail-quick-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-700);
  text-decoration: none;
}
.app-detail-quick-item:hover { color: var(--primary); }

.app-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.app-detail-card .card-header { padding: 12px 16px; }
.app-detail-card-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-detail-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}
.app-detail-item dt {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--gray-500);
  margin-bottom: 2px;
}
.app-detail-item dd {
  margin: 0;
  font-size: 14px;
  color: var(--gray-800);
  word-break: break-word;
}

.directory-filter-grid-member {
  grid-template-columns: 2fr 1fr auto;
}
.directory-filter-grid-uye {
  grid-template-columns: 2fr 1fr auto;
}
.directory-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.visit-tabs.directory-tabs {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.visit-tabs .directory-tab {
  min-height: 72px;
}
.visit-intro-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
}
.visit-intro-banner.visit-intro-incoming {
  background: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 100%);
  border-color: #86efac;
}
.visit-intro-banner.visit-intro-outgoing {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border-color: #bfdbfe;
}
.visit-intro-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visit-intro-icon-outgoing { background: var(--primary); }
.visit-intro-icon-incoming { background: #16a34a; }
.visit-intro-body { min-width: 0; }
.visit-intro-badge {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.visit-intro-incoming .visit-intro-badge { color: #15803d; }
.visit-intro-outgoing .visit-intro-badge { color: var(--primary); }
.visit-intro-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--gray-700);
  font-weight: 500;
}
.visit-tabs .directory-tab.visit-tab-incoming {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}
.visit-tabs .directory-tab.visit-tab-incoming .directory-tab-sub {
  color: #15803d;
}
.visit-tabs .directory-tab.visit-tab-incoming:hover {
  background: #dcfce7;
  border-color: #4ade80;
}
.visit-tabs .directory-tab.visit-tab-incoming.is-active {
  background: #16a34a;
  border-color: #15803d;
  color: #fff;
  box-shadow: 0 4px 14px rgba(22, 163, 74, .28);
}
.visit-tabs .directory-tab.visit-tab-incoming.is-active .directory-tab-sub {
  color: rgba(255, 255, 255, .88);
}
.visit-tabs .directory-tab.visit-tab-incoming.is-active .icon,
.visit-tabs .directory-tab.visit-tab-incoming.is-active [data-lucide] {
  color: #fff;
}
.visit-tabs .directory-tab.visit-tab-outgoing:not(.is-active) {
  border-color: var(--gray-200);
  background: #fff;
}
.visit-tabs .directory-tab.visit-tab-outgoing.is-active {
  border-color: var(--primary);
  background: #eff6ff;
  color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, .15);
}
.visit-participant-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 12px;
}
.visit-participant-mode-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
}
.visit-participant-mode-option input {
  margin: 0;
}
.visit-participant-sistem .member-search {
  position: relative;
}
.visit-participant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  min-height: 0;
}
.visit-participant-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}
.visit-participant-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(37, 99, 235, .12);
  color: var(--primary);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.visit-participant-chip-remove:hover {
  background: rgba(37, 99, 235, .22);
}
.visit-participant-hidden-ids {
  display: none;
}
.visit-section-card {
  background: var(--white, #fff);
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}
.visit-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.visit-section-head h2 {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--gray-900, #111827);
}
.visit-section-head p {
  margin: 0;
  font-size: 13px;
  color: var(--gray-500, #6b7280);
}
.visit-report-filter { margin-bottom: 16px; }
.visit-export-bar {
  align-items: center;
  background: var(--gray-50, #f9fafb);
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
}
.visit-export-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700, #374151);
  margin-right: 8px;
}
.visit-list-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.visit-list-meta {
  font-size: 12px;
  color: var(--gray-500, #6b7280);
  font-weight: 500;
}
.visit-search-bar { align-items: center; }
.visit-schema-card { margin-bottom: 20px; overflow: hidden; border: 1px solid var(--gray-200, #e5e7eb); box-shadow: 0 8px 30px rgba(15,23,42,.04); }
.visit-schema-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.visit-schema-sub { margin: 4px 0 0; font-size: 13px; color: var(--gray-500, #6b7280); }
.visit-schema-count { font-size: 12px; font-weight: 700; color: #1d4ed8; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); padding: 7px 12px; border-radius: 999px; border: 1px solid #bfdbfe; }
.visit-schema-body { padding: 20px 20px 8px; background: #f8fafc; }
.visit-schema-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--gray-500, #6b7280);
  padding: 36px 16px;
  background: #fff;
  border-radius: 14px;
  border: 1px dashed var(--gray-200, #e5e7eb);
}
.visit-timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.visit-timeline-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  position: relative;
  padding-bottom: 18px;
}
.visit-timeline-item:not(:last-child) .visit-timeline-rail::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 22px;
  bottom: -18px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #93c5fd 0%, rgba(147,197,253,.15) 100%);
}
.visit-timeline-rail { position: relative; display: flex; justify-content: center; padding-top: 18px; }
.visit-timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #bfdbfe, 0 4px 12px rgba(37,99,235,.28);
  position: relative;
  z-index: 1;
}
.visit-timeline-card {
  background: #fff;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 30px rgba(15,23,42,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.visit-timeline-card:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 16px 36px rgba(37,99,235,.1);
}
.visit-timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.visit-timeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 5px 10px;
  border-radius: 999px;
}
.visit-timeline-datetime { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.visit-date-pill,
.visit-time-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600, #4b5563);
  background: var(--gray-50, #f9fafb);
  border: 1px solid var(--gray-200, #e5e7eb);
  padding: 5px 10px;
  border-radius: 999px;
}
.visit-timeline-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--gray-900, #111827);
  line-height: 1.35;
}
.visit-timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.visit-timeline-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border: 1px solid var(--gray-100, #f3f4f6);
  min-height: 100%;
}
.visit-field-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.visit-field-icon-org { background: #ede9fe; color: #6d28d9; }
.visit-field-icon-loc { background: #dcfce7; color: #15803d; }
.visit-field-icon-count { background: #dbeafe; color: #1d4ed8; }
.visit-field-copy { min-width: 0; }
.visit-field-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-500, #6b7280);
  margin-bottom: 4px;
}
.visit-field-value {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800, #1f2937);
  line-height: 1.45;
  word-break: break-word;
}
.visit-timeline-footer {
  border-top: 1px solid var(--gray-100, #f3f4f6);
  padding-top: 14px;
}
.visit-visitors-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-700, #374151);
  margin-bottom: 10px;
}
.visit-visitors-head em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 2px 8px;
  border-radius: 999px;
}
.visit-visitors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.visit-visitor-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e0e7ff;
  box-shadow: 0 2px 8px rgba(37,99,235,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.visit-visitor-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37,99,235,.12);
}
.visit-visitor-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  flex-shrink: 0;
}
.visit-visitor-name { font-size: 12px; font-weight: 600; color: #1e3a8a; }
.visit-schema-no-visitors {
  margin: 0;
  font-size: 12px;
  color: var(--gray-500, #6b7280);
  font-style: italic;
  padding: 8px 0 2px;
}
.visit-visitor-panel { margin-bottom: 20px; border: 2px solid #bfdbfe; }
.visit-visitor-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.visit-visitor-head p { margin: 4px 0 0; font-size: 13px; color: var(--gray-500, #6b7280); }
.visit-count-badge { text-decoration: none; }
.visit-row-active { background: #eff6ff !important; }
.visit-report-table-card .card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.visit-report-print-head { display: none; margin-bottom: 12px; }
@media (max-width: 900px) {
  .visit-timeline-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .visit-timeline-item { grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
  .visit-timeline-card { padding: 14px; border-radius: 14px; }
  .visit-timeline-title { font-size: 16px; }
  .visit-timeline-header { align-items: flex-start; }
}
@media print {
  .sidebar, .topbar, .page-header, .visit-tabs, .report-filter-card, .visit-export-bar, .visit-schema-card, .btn { display: none !important; }
  .visit-report-table-card { border: none; box-shadow: none; }
  .visit-report-print-head { display: flex; flex-direction: column; gap: 4px; }
}
.detail-dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 16px;
  margin: 0;
  font-size: 14px;
}
.detail-dl dt {
  color: var(--gray-500, #6b7280);
  font-weight: 500;
}
.detail-dl dd {
  margin: 0;
  color: var(--gray-800, #1f2937);
}
.directory-tab {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 14px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.directory-tab:hover {
  border-color: #bfdbfe;
  background: #fafbff;
}
.directory-tab.is-active {
  border-color: var(--primary);
  background: #eff6ff;
  color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, .15);
}
.directory-tab-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-500);
}
.directory-tab.is-active .directory-tab-sub {
  color: #3b82f6;
}
.directory-web-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}
.directory-web-link:hover { text-decoration: underline; }
.directory-firma-snippet-cell {
  font-size: 12px;
  color: var(--gray-600);
  max-width: 220px;
  line-height: 1.45;
}
@media (max-width: 768px) {
  .directory-tabs { grid-template-columns: 1fr; }
  .directory-filter-grid-member,
  .directory-filter-grid-uye { grid-template-columns: 1fr; }
}
.basvuru-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.basvuru-actions .basvuru-action-form {
  display: inline;
}
.basvuru-ek-dialog {
  width: min(480px, 92vw);
  padding: 20px;
}
@media (max-width: 900px) {
  .basvuru-actions .btn-sm {
    font-size: 11px;
    padding: 5px 8px;
  }
}

/* Aidat & üye hesap */
.tabs-wrap { flex-wrap: wrap; }
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 900px) { .grid-2-col { grid-template-columns: 1fr; } }
.aidat-mahsup-note { color: var(--primary); font-size: 12px; }
.aidat-amount-col { text-align: right; min-width: 90px; }
.aidat-pay-summary {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 0 20px 12px;
  font-size: 13px;
}
.aidat-tarife-preview {
  padding: 10px 12px;
  background: var(--gray-50);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  font-size: 13px;
}
.aidat-net-balance.balance-positive { border-left: 4px solid var(--success); }
.aidat-net-balance.balance-negative { border-left: 4px solid var(--danger); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--gray-100); font-size: 13px; }
.data-table th { background: var(--gray-50); font-weight: 600; color: var(--gray-700); }
.text-muted { color: var(--gray-500); font-size: 12px; }
.stat-icon.bg-blue { background: #dbeafe; color: #1d4ed8; }
.stat-icon.bg-red { background: #fee2e2; color: #dc2626; }
.stat-icon.bg-purple { background: #f3e8ff; color: #7c3aed; }
.stat-icon.bg-green { background: #dcfce7; color: #16a34a; }

#memberListContainer.is-searching { opacity: 0.65; pointer-events: none; transition: opacity .15s ease; }

/* E-posta entegrasyon — protokol kartları */
.mail-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}
.mail-setup-card .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.mail-status-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mail-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--gray-500);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.mail-pill.is-on {
  border-color: #86efac;
  background: #ecfdf5;
  color: #15803d;
}
.mail-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: .45;
}
.mail-pill.is-on .mail-pill-dot { opacity: 1; }
.mail-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}
.mail-guide {
  font-size: 13px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(135deg, #f8fbff 0%, #eff6ff 100%);
}
.mail-shared-box {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  background: linear-gradient(180deg, #fafbff 0%, #fff 100%);
  margin-bottom: 16px;
}
.mail-shared-box h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
}
.mail-shared-box .form-grid,
.mail-shared-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mail-shared-box .form-control {
  transition: border-color .2s ease, box-shadow .2s ease;
}
.mail-shared-box .form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .22), 0 0 14px rgba(59, 130, 246, .28);
  outline: none;
}
.mail-protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.mail-protocol-card {
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s, opacity .2s;
}
.mail-protocol-card:hover { box-shadow: 0 8px 24px rgba(15, 23, 42, .06); }
.mail-protocol-card.is-off { opacity: .72; }
.mail-protocol-card.is-off .mail-protocol-body { filter: grayscale(.15); }
.mail-protocol-smtp { border-top: 3px solid #3b82f6; }
.mail-protocol-imap { border-top: 3px solid #8b5cf6; }
.mail-protocol-pop { border-top: 3px solid #14b8a6; }
.mail-protocol-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.mail-protocol-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
  flex-shrink: 0;
}
.mail-protocol-icon.smtp { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.mail-protocol-icon.imap { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.mail-protocol-icon.pop { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.mail-protocol-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.mail-protocol-title strong { font-size: 14px; line-height: 1.2; }
.mail-protocol-sub { font-size: 11px; color: var(--gray-500); font-weight: 500; }
.mail-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.mail-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.mail-switch span {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  transition: background .2s;
}
.mail-switch span::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .2s;
}
.mail-switch input:checked + span { background: #22c55e; }
.mail-switch input:checked + span::after { transform: translateX(18px); }
.mail-protocol-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mail-protocol-body .form-group {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mail-protocol-body label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 0;
  line-height: 1.3;
}
.mail-protocol-body .form-control {
  font-size: 13px;
  padding: 8px 10px;
  width: 100%;
  box-sizing: border-box;
}
.mail-protocol-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 140px);
  gap: 10px;
  align-items: start;
}
.mail-port-field {
  max-width: 100%;
}
.mail-port-input {
  width: 100%;
  min-width: 0;
  max-width: 180px;
  font-variant-numeric: tabular-nums;
}
.mail-protocol-body input[type="number"].form-control {
  padding-right: 8px;
}
.mail-protocol-meta {
  font-size: 11px;
  color: var(--gray-500);
  line-height: 1.4;
  min-height: 2.8em;
}
.mail-same-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-600);
  padding-top: 4px;
}
.mail-same-auth input { margin: 0; }
.mail-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}
.mail-test-card .card-body { padding: 16px; }
.mail-test-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.mail-test-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.mail-test-tile:hover {
  border-color: #93c5fd;
  background: #f8fbff;
  transform: translateY(-1px);
}
.mail-test-tile strong { font-size: 13px; color: var(--gray-800); }
.mail-test-tile span { font-size: 11px; color: var(--gray-500); }
.mail-test-tile.smtp { border-left: 3px solid #3b82f6; }
.mail-test-tile.imap { border-left: 3px solid #8b5cf6; }
.mail-test-tile.pop { border-left: 3px solid #14b8a6; }
@media (max-width: 1100px) {
  .mail-page-grid { grid-template-columns: 1fr; }
  .mail-protocol-grid { grid-template-columns: 1fr; }
  .mail-shared-box .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mail-toolbar { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .mail-shared-box .form-grid { grid-template-columns: 1fr; }
}

.nav-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sidebar-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.notification-item.is-unread {
  border-left: 3px solid #3b82f6;
  box-shadow: 0 4px 14px rgba(37, 99, 235, .08);
}
.notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gray-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.notification-tip-aidat { background: #fef3c7; color: #b45309; }
.notification-tip-toplanti { background: #dbeafe; color: #1d4ed8; }
.notification-tip-etkinlik { background: #f3e8ff; color: #7c3aed; }
.notification-tip-talep { background: #dcfce7; color: #15803d; }
.notification-tip-duyuru { background: #fee2e2; color: #b91c1c; }

.member-group-list { display: flex; flex-direction: column; }
.member-group-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}
.member-group-item:hover { background: var(--gray-50); }
.member-group-item.is-active {
  background: #eff6ff;
  border-left: 3px solid #3b82f6;
}
.member-group-item.is-muted { opacity: .65; }

/* ——— Profesyonel UI iyileştirmeleri ——— */
.card {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.card-header h3 { font-size: 15px; font-weight: 600; color: var(--gray-900); }
.page-header h1 { font-size: 22px; font-weight: 700; color: var(--gray-900); letter-spacing: -0.02em; }
.page-header p { color: var(--gray-500); margin-top: 4px; }

.table,
.data-table,
.card-body.no-pad table,
.card .table-wrap table {
  width: 100%;
  border-collapse: collapse;
}
.card-body.no-pad table tbody tr:nth-child(even) td,
.table-wrap table tbody tr:nth-child(even) td {
  background: rgba(249, 250, 251, 0.75);
}
.card-body.no-pad table tbody tr:last-child td,
.table-wrap table tbody tr:last-child td {
  border-bottom: none;
}
.commission-empty-row,
.empty-state {
  text-align: center;
  padding: 40px 20px !important;
  color: var(--gray-500);
  font-size: 13px;
}
.alert {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 14px;
}
.btn {
  border-radius: 8px;
  font-weight: 500;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary:hover { box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25); }
.content > .card + .card { margin-top: 16px; }
.page-header-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.doc-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: #eff6ff; color: #2563eb;
  display: flex; align-items: center; justify-content: center;
}
.pagination-info {
  margin-top: 10px;
  font-size: 12px;
  color: var(--gray-500);
}

/* ——— Kontrol Paneli (modern dashboard) ——— */
.dashboard-page { display: flex; flex-direction: column; gap: 28px; }
.dashboard-page .dash-section { display: flex; flex-direction: column; gap: 16px; }
.dashboard-page .dash-section-last { margin-bottom: 8px; }

.dash-hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 26px 28px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 48%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.22);
  position: relative;
  overflow: hidden;
}
.dash-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -8%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
  pointer-events: none;
}
.dash-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.dash-hero-main { flex: 1; min-width: 0; }
.dash-hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.dash-hero-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.dash-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  line-height: 1.5;
}
.dash-hero-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}
.dash-hero-alert strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
}
.dash-hero-alert span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 2px;
}
.dash-hero-alert-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.6);
  animation: dash-pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes dash-pulse {
  0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(251, 191, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}
.dash-hero-priority {
  position: relative;
  z-index: 1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.dash-hero-priority-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}
.dash-hero-priority-label .icon { width: 14px; height: 14px; opacity: .85; }
.dash-hero-priority-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.dash-priority-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
  min-width: 0;
  position: relative;
}
.dash-priority-item:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  color: #fff;
}
.dash-priority-item.is-active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}
.dash-priority-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
}
.dash-priority-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-priority-value {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.dash-priority-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.3;
}
.dash-priority-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.25);
}
.dash-priority-arrow {
  width: 14px;
  height: 14px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.7);
}
.dash-priority-item:hover .dash-priority-arrow {
  opacity: 1;
  transform: translateX(0);
}
.dash-priority-amber .dash-priority-icon { background: rgba(251, 191, 36, 0.22); color: #fde68a; }
.dash-priority-amber.is-active { border-color: rgba(251, 191, 36, 0.35); }
.dash-priority-teal .dash-priority-icon { background: rgba(45, 212, 191, 0.2); color: #99f6e4; }
.dash-priority-teal.is-active { border-color: rgba(45, 212, 191, 0.35); }
.dash-priority-red .dash-priority-icon { background: rgba(248, 113, 113, 0.22); color: #fecaca; }
.dash-priority-red.is-active { border-color: rgba(248, 113, 113, 0.35); }
.dash-priority-purple .dash-priority-icon { background: rgba(192, 132, 252, 0.22); color: #e9d5ff; }
.dash-priority-purple.is-active { border-color: rgba(192, 132, 252, 0.35); }

.dash-hero-help-banner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(105deg, rgba(251, 191, 36, 0.22) 0%, rgba(255, 255, 255, 0.1) 42%, rgba(56, 189, 248, 0.18) 100%);
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 8px 28px rgba(251, 191, 36, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.dash-hero-help-banner:hover {
  transform: translateY(-2px);
  border-color: rgba(253, 224, 71, 0.75);
  box-shadow: 0 12px 32px rgba(251, 191, 36, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #fff;
}
.dash-hero-help-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.14) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: dash-help-shimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes dash-help-shimmer {
  0%, 100% { transform: translateX(-100%); opacity: 0; }
  45%, 55% { opacity: 1; }
  100% { transform: translateX(100%); }
}
.dash-hero-help-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(251, 191, 36, 0.95);
  color: #78350f;
  box-shadow: 0 2px 8px rgba(251, 191, 36, 0.35);
}
.dash-hero-help-badge .icon { width: 12px; height: 12px; }
.dash-hero-help-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.dash-hero-help-icon .icon { width: 22px; height: 22px; color: #fde68a; }
.dash-hero-help-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dash-hero-help-text strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.dash-hero-help-text span {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}
.dash-hero-help-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
  color: #1e3a8a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: background .15s, transform .15s;
}
.dash-hero-help-banner:hover .dash-hero-help-cta {
  background: #fef9c3;
  transform: translateX(2px);
}
.dash-hero-help-banner.is-current {
  cursor: default;
  border-color: rgba(253, 224, 71, 0.85);
  box-shadow: 0 10px 32px rgba(251, 191, 36, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.dash-hero-help-banner.is-current:hover { transform: none; }
.dash-hero-help-banner.is-current .dash-hero-help-cta {
  background: #fef9c3;
  color: #78350f;
  transform: none;
}
.dash-hero-help-page { margin-bottom: 0; }
.dash-hero-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.dash-hero-back-link:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}
.help-faq-page .help-faq-body > .card,
.help-faq-page .help-faq-body > .help-faq-search-wrap,
.help-faq-page .help-faq-body > .help-faq-sections { margin-bottom: 20px; }
.help-faq-page .help-faq-body > .help-faq-sections { margin-bottom: 0; }

.dash-section-head { display: flex; align-items: center; justify-content: space-between; }
.dash-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -.02em;
}
.dash-section-title .icon { color: var(--primary); opacity: .85; }

.dash-kpi-section { gap: 14px; }
.dash-kpi-year {
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-500);
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--gray-100);
}
.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.dash-kpi-card {
  position: relative;
  display: block;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-height: 118px;
  transition: transform .22s ease, box-shadow .22s ease;
}
a.dash-kpi-card { cursor: pointer; }
.dash-kpi-card:hover {
  transform: translateY(-3px);
}
.dash-kpi-glow {
  position: absolute;
  top: -30px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  opacity: .45;
  pointer-events: none;
}
.dash-kpi-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: calc(100% - 52px);
}
.dash-kpi-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.55);
  letter-spacing: .01em;
}
.dash-kpi-value {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--gray-900);
}
.dash-kpi-value:has(+ .dash-kpi-tag) { margin-bottom: 2px; }
.dash-kpi-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.65);
  color: var(--gray-600);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.dash-kpi-tag-up { color: #15803d; background: rgba(255,255,255,.75); }
.dash-kpi-tag-down { color: #dc2626; background: rgba(255,255,255,.75); }
.dash-kpi-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  z-index: 1;
}
.dash-kpi-icon .icon { width: 20px; height: 20px; }

.dash-kpi-blue {
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 55%, #fff 100%);
  border-color: #bfdbfe;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
}
.dash-kpi-blue .dash-kpi-glow { background: radial-gradient(circle, #93c5fd, transparent 70%); }
.dash-kpi-blue .dash-kpi-icon { color: #1d4ed8; }
.dash-kpi-blue:hover { box-shadow: 0 10px 28px rgba(59, 130, 246, 0.18); }

.dash-kpi-green {
  background: linear-gradient(145deg, #f0fdf4 0%, #dcfce7 55%, #fff 100%);
  border-color: #bbf7d0;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.1);
}
.dash-kpi-green .dash-kpi-glow { background: radial-gradient(circle, #86efac, transparent 70%); }
.dash-kpi-green .dash-kpi-icon { color: #15803d; }
.dash-kpi-green:hover { box-shadow: 0 10px 28px rgba(34, 197, 94, 0.18); }

.dash-kpi-red {
  background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 55%, #fff 100%);
  border-color: #fecaca;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.1);
}
.dash-kpi-red .dash-kpi-glow { background: radial-gradient(circle, #fca5a5, transparent 70%); }
.dash-kpi-red .dash-kpi-icon { color: #dc2626; }
.dash-kpi-red:hover { box-shadow: 0 10px 28px rgba(239, 68, 68, 0.18); }

.dash-kpi-pink {
  background: linear-gradient(145deg, #fdf2f8 0%, #fce7f3 55%, #fff 100%);
  border-color: #fbcfe8;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.1);
}
.dash-kpi-pink .dash-kpi-glow { background: radial-gradient(circle, #f9a8d4, transparent 70%); }
.dash-kpi-pink .dash-kpi-icon { color: #db2777; }
.dash-kpi-pink:hover { box-shadow: 0 10px 28px rgba(236, 72, 153, 0.18); }

.dash-kpi-purple {
  background: linear-gradient(145deg, #faf5ff 0%, #f3e8ff 55%, #fff 100%);
  border-color: #e9d5ff;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.1);
}
.dash-kpi-purple .dash-kpi-glow { background: radial-gradient(circle, #d8b4fe, transparent 70%); }
.dash-kpi-purple .dash-kpi-icon { color: #7c3aed; }
.dash-kpi-purple:hover { box-shadow: 0 10px 28px rgba(168, 85, 247, 0.18); }

.dash-kpi-teal {
  background: linear-gradient(145deg, #f0fdfa 0%, #ccfbf1 55%, #fff 100%);
  border-color: #99f6e4;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.1);
}
.dash-kpi-teal .dash-kpi-glow { background: radial-gradient(circle, #5eead4, transparent 70%); }
.dash-kpi-teal .dash-kpi-icon { color: #0d9488; }
.dash-kpi-teal:hover { box-shadow: 0 10px 28px rgba(20, 184, 166, 0.18); }

.dash-kpi-orange {
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 55%, #fff 100%);
  border-color: #fed7aa;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.1);
}
.dash-kpi-orange .dash-kpi-glow { background: radial-gradient(circle, #fdba74, transparent 70%); }
.dash-kpi-orange .dash-kpi-icon { color: #ea580c; }
.dash-kpi-orange:hover { box-shadow: 0 10px 28px rgba(249, 115, 22, 0.18); }

.dash-kpi-indigo {
  background: linear-gradient(145deg, #eef2ff 0%, #e0e7ff 55%, #fff 100%);
  border-color: #c7d2fe;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.1);
}
.dash-kpi-indigo .dash-kpi-glow { background: radial-gradient(circle, #a5b4fc, transparent 70%); }
.dash-kpi-indigo .dash-kpi-icon { color: #4f46e5; }
.dash-kpi-indigo:hover { box-shadow: 0 10px 28px rgba(99, 102, 241, 0.18); }

.dash-kpi-card .dash-kpi-value { font-size: 22px; }
.dash-stats-grid .dash-kpi-card:nth-child(-n+4) .dash-kpi-value { font-size: 28px; }

.dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.dash-stat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.dash-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border-color: var(--gray-200);
}
.dash-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-stat-icon .icon { width: 22px; height: 22px; }
.dash-stat-blue .dash-stat-icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1d4ed8; }
.dash-stat-green .dash-stat-icon { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #15803d; }
.dash-stat-red .dash-stat-icon { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #dc2626; }
.dash-stat-pink .dash-stat-icon { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: #db2777; }
.dash-stat-blue { border-top: 3px solid #3b82f6; }
.dash-stat-green { border-top: 3px solid #22c55e; }
.dash-stat-red { border-top: 3px solid #ef4444; }
.dash-stat-pink { border-top: 3px solid #ec4899; }
.dash-stat-body { display: flex; flex-direction: column; min-width: 0; }
.dash-stat-label { font-size: 12px; color: var(--gray-500); font-weight: 500; }
.dash-stat-value { font-size: 24px; font-weight: 700; color: var(--gray-900); line-height: 1.2; margin-top: 2px; letter-spacing: -.02em; }
.dash-stat-sub { font-size: 11px; color: var(--gray-500); margin-top: 4px; }

.dash-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.dash-metric {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--gray-100);
  transition: border-color .2s, box-shadow .2s;
}
.dash-metric:hover { border-color: var(--gray-200); box-shadow: 0 4px 12px rgba(15,23,42,.05); }
.dash-metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-metric-label { display: block; font-size: 11px; color: var(--gray-500); }
.dash-metric-value { display: block; font-size: 14px; font-weight: 700; color: var(--gray-900); margin-top: 2px; }

.dashboard-page .dash-card {
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: box-shadow .2s, border-color .2s;
  overflow: hidden;
}
.dashboard-page .dash-card:hover { box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07); }
.dashboard-page .dash-card .card-header {
  padding: 14px 20px;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  border-bottom: 1px solid var(--gray-100);
}
.dashboard-page .dash-card .card-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
}
.dashboard-page .dash-card .card-header h3 .icon { color: var(--primary); opacity: .8; width: 16px; height: 16px; }
.dash-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color .15s;
}
.dash-link:hover { color: var(--primary-dark); }

.dash-list-body { padding: 8px 20px 16px !important; }
.dash-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-50);
}
.dash-list-item:last-child { border-bottom: none; }
.dash-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--gray-200);
}
.dash-list-name { font-size: 13px; font-weight: 600; color: var(--gray-900); }
.dash-list-msg { font-size: 13px; color: var(--gray-700); line-height: 1.4; }
.dash-list-sub { font-size: 11px; color: var(--gray-500); margin-top: 2px; }
.dash-notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.dash-empty { color: var(--gray-500); font-size: 13px; padding: 12px 0; text-align: center; }

.dash-b2b-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.dash-b2b-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
}
.dash-b2b-item span { display: block; font-size: 11px; color: var(--gray-500); }
.dash-b2b-item strong { display: block; font-size: 15px; font-weight: 700; margin-top: 2px; color: var(--gray-900); }

.dash-finance { display: flex; flex-direction: column; gap: 10px; }
.dash-finance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
}
.dash-finance-income { background: #f0fdf4; border: 1px solid #bbf7d0; }
.dash-finance-income strong { color: #15803d; }
.dash-finance-expense { background: #fef2f2; border: 1px solid #fecaca; }
.dash-finance-expense strong { color: #dc2626; }
.dash-finance-balance {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  font-size: 15px;
  font-weight: 700;
  margin-top: 4px;
}
.dash-finance-balance strong { color: #1d4ed8; font-size: 17px; }

.dash-progress { margin-bottom: 14px; }
.dash-progress:last-child { margin-bottom: 0; }
.dash-progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--gray-700);
}
.dash-progress-bar {
  height: 8px;
  background: var(--gray-100);
  border-radius: 99px;
  overflow: hidden;
}
.dash-progress-bar div { height: 100%; border-radius: 99px; transition: width .4s ease; }

/* Aidat takibi & üye durumu kartları */
.dash-dues-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 18px 18px !important;
}
.dash-dues-chart-wrap {
  position: relative;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash-dues-chart-wrap canvas {
  max-height: 168px !important;
  width: 100% !important;
}
.dash-dues-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
}
.dash-dues-center strong {
  font-size: 26px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.03em;
  line-height: 1;
}
.dash-dues-center span {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}
.dash-dues-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.dash-dues-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.dash-dues-stat strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.dash-dues-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
}
.dash-dues-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dash-dues-stat.is-paid { background: #f0fdf4; border-color: #bbf7d0; }
.dash-dues-stat.is-paid .dash-dues-dot { background: #22c55e; }
.dash-dues-stat.is-paid strong { color: #15803d; }
.dash-dues-stat.is-unpaid { background: #fef2f2; border-color: #fecaca; }
.dash-dues-stat.is-unpaid .dash-dues-dot { background: #ef4444; }
.dash-dues-stat.is-unpaid strong { color: #dc2626; }
.dash-dues-stat.is-pending { background: #fffbeb; border-color: #fde68a; }
.dash-dues-stat.is-pending .dash-dues-dot { background: #f59e0b; }
.dash-dues-stat.is-pending strong { color: #d97706; }

.dash-status-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px 16px !important;
}
.dash-status-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  transition: border-color .15s, box-shadow .15s;
}
.dash-status-item:hover {
  border-color: var(--gray-200);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.dash-status-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.dash-status-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-status-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dash-status-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
}
.dash-status-meta {
  font-size: 11px;
  color: var(--gray-500);
}
.dash-status-pct {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.dash-status-track {
  height: 6px;
  background: #e5e7eb;
  border-radius: 99px;
  overflow: hidden;
}
.dash-status-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--fill);
  box-shadow: 0 0 8px color-mix(in srgb, var(--fill) 40%, transparent);
  transition: width .5s cubic-bezier(.4, 0, .2, 1);
}

/* Analitik bölümü */
.dash-analytics-section { gap: 14px; }
.dash-analytics-grid {
  align-items: start;
}
.dash-analytics-grid .dash-chart-card,
.dash-analytics-grid .dash-birthday-card {
  height: auto;
  min-height: 0;
}
.dash-chart-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px 16px !important;
}
.dash-chart-area {
  position: relative;
  width: 100%;
}
.dash-chart-area-fixed {
  height: 200px;
  flex-shrink: 0;
}
.dash-chart-donut {
  height: 140px;
}
.dash-chart-area canvas {
  display: block;
  width: 100% !important;
  max-width: 100%;
}
.dash-chart-area-fixed canvas {
  height: 200px !important;
  max-height: 200px !important;
}
.dash-chart-donut canvas {
  height: 140px !important;
  max-height: 140px !important;
}
.dash-chart-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
}
.dash-chart-center strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -.03em;
  line-height: 1;
}
.dash-chart-center span {
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 3px;
}
.dash-chart-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.dash-member-legend {
  margin-top: 2px;
}
.dash-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--legend-bg);
  font-size: 11px;
}
.dash-legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--legend-color);
  flex-shrink: 0;
}
.dash-legend-label {
  flex: 1;
  min-width: 0;
  color: var(--gray-600);
  font-weight: 500;
}
.dash-legend-item strong {
  font-size: 12px;
  font-weight: 800;
  color: var(--gray-900);
}

.dash-birthday-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 14px 14px !important;
}
.dash-birthday-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--gray-100);
}
.dash-birthday-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--gray-100);
  background: linear-gradient(135deg, #fafbfc 0%, #fff 100%);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.dash-birthday-item:hover {
  border-color: var(--gray-200);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transform: translateX(2px);
}
.dash-birthday-item.is-today {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fff 100%);
  border-color: #fbcfe8;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.1);
}
.dash-birthday-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #e5e7eb;
  flex-shrink: 0;
}
.dash-birthday-item.is-today .dash-birthday-avatar {
  box-shadow: 0 0 0 2px #f9a8d4;
}
.dash-birthday-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-birthday-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-birthday-date {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
}
.dash-birthday-item.is-today .dash-birthday-date {
  color: #db2777;
  font-weight: 600;
}
.dash-birthday-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  color: #be185d;
  background: #fff;
  border: 1px solid #fbcfe8;
  flex-shrink: 0;
}
.dash-birthday-cake {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fdf2f8;
  color: #db2777;
  flex-shrink: 0;
  opacity: .7;
}

.dash-quick-card .card-body { padding: 20px; }
.dash-quick-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
.dash-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 10px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--gray-700);
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.dash-quick-item:hover {
  background: var(--gray-50);
  border-color: var(--gray-200);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15,23,42,.06);
  color: var(--gray-900);
}
.dash-qi-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.dash-quick-item:hover .dash-qi-icon { transform: scale(1.05); }
.dash-qi-blue { background: #dbeafe; color: #2563eb; }
.dash-qi-green { background: #dcfce7; color: #16a34a; }
.dash-qi-purple { background: #f3e8ff; color: #7c3aed; }
.dash-qi-orange { background: #ffedd5; color: #ea580c; }
.dash-qi-pink { background: #fce7f3; color: #db2777; }
.dash-qi-teal { background: #ccfbf1; color: #0d9488; }
.dash-qi-red { background: #fee2e2; color: #dc2626; }
.dash-qi-indigo { background: #e0e7ff; color: #4f46e5; }
.dash-qi-label { line-height: 1.3; }

/* Alt bölüm: hızlı işlemler + feed kartları */
.dash-bottom-section { gap: 20px; margin-bottom: 8px; }
.dash-bottom-panel {
  padding: 20px 22px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}
.dash-actions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.dash-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.dash-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  text-decoration: none;
  color: inherit;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.dash-action:hover {
  background: #fff;
  border-color: var(--gray-200);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
}
.dash-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-action-icon .icon { width: 18px; height: 18px; }
.dash-action-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dash-action-text strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-action-text span {
  font-size: 11px;
  color: var(--gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-action-arrow {
  width: 16px;
  height: 16px;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform .2s, color .2s;
}
.dash-action:hover .dash-action-arrow {
  color: var(--primary);
  transform: translateX(2px);
}

.dash-feeds {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.dash-feed-card { display: flex; flex-direction: column; min-height: 0; }
.dash-feed-body {
  padding: 8px 12px 12px !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.dash-feed-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s;
}
.dash-feed-row:hover {
  background: var(--gray-50);
  border-color: var(--gray-100);
}
.dash-feed-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--gray-200);
}
.dash-feed-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dash-feed-main {
  flex: 1;
  min-width: 0;
}
.dash-feed-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-feed-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
  font-size: 11px;
  color: var(--gray-500);
  line-height: 1.4;
}
.dash-feed-meta span:not(.dash-feed-dot) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.dash-feed-dot { color: var(--gray-300); flex-shrink: 0; }
.dash-feed-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.dash-feed-amount {
  font-size: 13px;
  font-weight: 700;
  color: #dc2626;
  white-space: nowrap;
}
.dash-feed-btn {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  text-decoration: none;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.dash-feed-btn:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.dash-feed-btn-link { background: transparent; border-color: var(--gray-200); color: var(--gray-600); }
.dash-feed-btn-link:hover { background: var(--gray-50); color: var(--primary); border-color: #bfdbfe; }
.dash-feed-empty {
  padding: 28px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
}

.dashboard-page .dash-table table thead th {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gray-500);
  background: var(--gray-50);
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-200);
}
.dashboard-page .dash-table table tbody td {
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.dash-pct {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
}

.dashboard-page .dash-grid { margin-bottom: 0; }
.dashboard-page .dash-analytics-grid,
.dashboard-page .dash-grid {
  align-items: start;
}

@media (max-width: 1400px) {
  .dash-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-metric-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-actions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .dash-hero { padding: 22px 20px 18px; }
  .dash-hero-top { flex-direction: column; }
  .dash-hero-alert { align-self: flex-start; }
  .dash-hero-help-banner { flex-wrap: wrap; }
  .dash-hero-help-cta { width: 100%; justify-content: center; }
  .dash-hero-back-link { align-self: flex-start; }
  .dash-hero-priority-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-hero-title { font-size: 22px; }
  .dash-stats-grid,
  .dash-kpi-grid,
  .dash-metric-grid { grid-template-columns: 1fr; }
  .dash-actions-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-feeds { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dash-hero-help-badge { display: none; }
  .dash-hero-help-text strong { font-size: 14px; }
  .dash-hero-priority-grid { grid-template-columns: 1fr; }
  .dash-actions-grid { grid-template-columns: 1fr; }
  .dash-feed-end { flex-direction: row; align-items: center; }
  .dash-kpi-value,
  .dash-stats-grid .dash-kpi-card:nth-child(-n+4) .dash-kpi-value { font-size: 22px; }
}

.report-purge-section { margin-top: 20px; }
.report-purge-card { border: 1px solid #fecaca; box-shadow: 0 8px 24px rgba(185, 28, 28, 0.06); }
.report-purge-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.report-purge-sub { margin: 6px 0 0; font-size: 13px; color: var(--gray-500); max-width: 640px; }
.report-purge-stats { margin-bottom: 20px; }
.report-purge-total { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; padding: 14px 16px; border-radius: 12px; background: linear-gradient(135deg, #f8fafc, #eff6ff); }
.report-purge-total .label { font-size: 13px; color: var(--gray-600); }
.report-purge-total strong { font-size: 28px; letter-spacing: -.03em; color: var(--gray-900); }
.report-purge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.report-purge-group { padding: 12px 14px; border-radius: 12px; background: var(--gray-50); border: 1px solid var(--gray-200); }
.report-purge-group h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-500); margin-bottom: 8px; }
.report-purge-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.report-purge-group li { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--gray-700); }
.report-purge-group li strong { color: var(--gray-900); }
.report-purge-danger { padding: 16px; border-radius: 12px; background: #fef2f2; border: 1px solid #fecaca; margin-bottom: 20px; }
.report-purge-danger h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #991b1b; }
.report-purge-danger p { font-size: 13px; color: #7f1d1d; margin-bottom: 12px; line-height: 1.5; }
.report-purge-form { display: grid; gap: 8px; max-width: 360px; }
.report-purge-form label { font-size: 12px; font-weight: 600; color: #991b1b; }
.report-purge-backups h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 14px; }
.report-backup-list { display: flex; flex-direction: column; gap: 10px; }
.report-backup-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--gray-200); background: #fff; }
.report-backup-meta { display: flex; flex-direction: column; gap: 4px; min-width: 220px; }
.report-backup-meta strong { font-size: 14px; color: var(--gray-900); }
.report-backup-meta span { font-size: 12px; color: var(--gray-600); }
.report-restore-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.report-restore-form .form-control { width: 140px; min-width: 120px; }
@media (max-width: 768px) {
  .report-backup-item { flex-direction: column; align-items: stretch; }
  .report-restore-form { width: 100%; }
  .report-restore-form .form-control { flex: 1; }
}

.report-mgmt-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.report-mgmt-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; padding: 6px; border-radius: 14px; background: var(--gray-50); border: 1px solid var(--gray-200); }
.report-mgmt-nav-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--gray-600); text-decoration: none; transition: background .15s, color .15s; }
.report-mgmt-nav-link:hover { background: #fff; color: var(--gray-900); }
.report-mgmt-nav-link.active { background: #fff; color: var(--primary); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08); }
.report-mgmt-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 20px; }
.report-mgmt-kpi { padding: 16px; border-radius: 12px; background: linear-gradient(135deg, #f8fafc, #eff6ff); border: 1px solid var(--gray-200); display: flex; flex-direction: column; gap: 6px; }
.report-mgmt-kpi .label { font-size: 12px; color: var(--gray-500); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.report-mgmt-kpi strong { font-size: 24px; color: var(--gray-900); letter-spacing: -.03em; }
.report-mgmt-kpi-sm { font-size: 16px !important; }
.report-mgmt-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 20px; }
.report-mgmt-action { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--gray-200); background: #fff; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.report-mgmt-action:hover { border-color: #cbd5e1; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06); transform: translateY(-1px); }
.report-mgmt-action-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--gray-100); color: var(--gray-700); flex-shrink: 0; }
.report-mgmt-action-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.report-mgmt-action-body strong { font-size: 14px; color: var(--gray-900); }
.report-mgmt-action-body span { font-size: 12px; color: var(--gray-500); line-height: 1.45; }
.report-mgmt-action-danger .report-mgmt-action-icon { background: #fef2f2; color: #b91c1c; }
.report-mgmt-action-success .report-mgmt-action-icon { background: #ecfdf5; color: #047857; }
.report-latest-backup { display: grid; gap: 20px; max-width: 520px; }
.report-latest-backup-meta { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 12px; background: #ecfdf5; border: 1px solid #a7f3d0; }
.report-latest-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #047857; }
.report-latest-backup-meta strong { font-size: 18px; color: #064e3b; }
.report-restore-latest-form { display: grid; gap: 8px; }
.report-restore-latest-form label { font-size: 12px; font-weight: 600; color: var(--gray-700); }
.report-backup-item.is-latest { border-color: #a7f3d0; background: #f0fdf4; }
.report-empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 32px 16px; color: var(--gray-500); }
.report-empty-state h4 { margin: 0; color: var(--gray-800); font-size: 16px; }
.sector-row-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sector-mgmt-table .is-selected-row { background: #eff6ff; }
.sector-mgmt-table .is-selected-row td { border-color: #bfdbfe; }
.sector-mgmt-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; padding: 6px; border-radius: 14px; background: var(--gray-50); border: 1px solid var(--gray-200); }
.sector-mgmt-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--gray-600); text-decoration: none; transition: background .15s, color .15s; }
.sector-mgmt-tab:hover { background: #fff; color: var(--gray-900); }
.sector-mgmt-tab.active { background: #fff; color: var(--primary); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08); }
.sector-count-link { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: 12px; font-weight: 700; text-decoration: none; transition: background .15s, transform .15s; }
.sector-count-link:hover { background: #dbeafe; transform: translateY(-1px); }
.sector-name-link { color: var(--gray-900); text-decoration: none; font-weight: 600; }
.sector-name-link:hover { color: var(--primary); text-decoration: underline; }
#sektor-detay, #grup-detay { scroll-margin-top: 88px; }

/* Ayarlar hub + entegrasyon durumu + sayfa yardımı */
.settings-hub { margin-bottom: 24px; }
.settings-hub-head { margin-bottom: 16px; }
.settings-hub-head h2 { margin: 0 0 6px; font-size: 18px; color: var(--gray-900); }
.settings-hub-head p { margin: 0; font-size: 13px; color: var(--gray-500); line-height: 1.5; }
.settings-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.settings-hub-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.settings-hub-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}
.settings-hub-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--primary);
}
.settings-hub-card strong { font-size: 14px; color: var(--gray-900); }
.settings-hub-card span:last-child { font-size: 12px; color: var(--gray-500); line-height: 1.45; }

.integration-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.integration-status-card {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.integration-status-card strong { font-size: 13px; color: var(--gray-900); }
.integration-status-card p { margin: 0; font-size: 12px; color: var(--gray-600); line-height: 1.5; }
.integration-status-card a { font-size: 12px; font-weight: 600; color: var(--primary); text-decoration: none; }
.integration-status-card.is-ok { border-color: #a7f3d0; background: #f0fdf4; }
.integration-status-card.is-bad { border-color: #fecaca; background: #fef2f2; }
.integration-status-card.is-warn { border-color: #fde68a; background: #fffbeb; }
.integration-status-card.is-info { border-color: #bfdbfe; background: #eff6ff; }
.integration-status-banner { margin-bottom: 16px; }

.page-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: #fff;
  color: var(--gray-500);
  cursor: pointer;
  flex-shrink: 0;
  transition: color .15s, border-color .15s, background .15s;
}
.page-help-btn:hover {
  color: var(--primary);
  border-color: #cbd5e1;
  background: var(--gray-50);
}
.page-help-modal .page-help-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-700);
}
@media (max-width: 768px) {
  .settings-hub-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .settings-hub-grid { grid-template-columns: 1fr; }
}

.role-perm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.role-perm-table th, .role-perm-table td { padding: 10px 14px; border-bottom: 1px solid var(--gray-200); text-align: left; }
.role-perm-table th:not(:first-child), .role-perm-cell { text-align: center; width: 120px; }
.role-perm-cell { font-weight: 700; color: var(--primary); }

.help-faq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.help-faq-sections { display: flex; flex-direction: column; gap: 20px; }
.help-faq-header .help-faq-lead { margin: 8px 0 0; font-size: 14px; color: var(--gray-600); line-height: 1.6; max-width: 720px; }
.help-faq-qmark { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; background: var(--gray-100); font-size: 13px; }
.help-faq-quick-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.help-faq-quick-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--gray-200); background: #fff; font-size: 13px; font-weight: 600; color: var(--gray-700); text-decoration: none; transition: border-color .15s, background .15s; }
.help-faq-quick-link:hover { border-color: #cbd5e1; background: var(--gray-50); color: var(--gray-900); }
.help-faq-quick-link.is-current { border-color: var(--primary); color: var(--primary); background: #eff6ff; }
.help-faq-search-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; max-width: 480px; padding: 4px 14px; border: 1px solid var(--gray-200); border-radius: 12px; background: #fff; }
.help-faq-search-wrap .icon { color: var(--gray-400); flex-shrink: 0; }
.help-faq-search-input { border: none !important; box-shadow: none !important; padding-left: 0 !important; }
.help-faq-section-head h3 { margin: 0; }
.help-faq-section-intro { margin: 8px 0 0; font-size: 13px; color: var(--gray-500); line-height: 1.5; font-weight: 400; }
.help-faq-item { border-bottom: 1px solid var(--gray-100); padding: 12px 0; }
.help-faq-item:last-child { border-bottom: none; }
.help-faq-item summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--gray-800); list-style: none; padding-right: 24px; position: relative; line-height: 1.45; }
.help-faq-item summary::-webkit-details-marker { display: none; }
.help-faq-item summary::after { content: '+'; position: absolute; right: 0; top: 0; color: var(--gray-400); font-size: 18px; font-weight: 400; }
.help-faq-item[open] summary::after { content: '−'; }
.help-faq-item-body { padding-top: 10px; }
.help-faq-answer { margin: 0 0 10px; font-size: 13px; line-height: 1.6; color: var(--gray-700); }
.help-faq-steps { margin: 0 0 12px; padding-left: 20px; font-size: 13px; line-height: 1.65; color: var(--gray-700); }
.help-faq-steps li { margin-bottom: 4px; }
.help-faq-tip { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fffbeb; border: 1px solid #fde68a; font-size: 12px; color: #92400e; line-height: 1.5; display: flex; align-items: flex-start; gap: 8px; }
.help-faq-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.help-faq-detail { margin: 0 0 10px; font-size: 13px; line-height: 1.6; color: var(--gray-600); }
.help-faq-steps-title, .help-faq-notes-title { margin: 12px 0 6px; font-size: 13px; color: var(--gray-800); }
.help-faq-notes { margin: 0 0 12px; padding-left: 20px; font-size: 13px; line-height: 1.6; color: var(--gray-700); }
.help-faq-notes li { margin-bottom: 4px; }
.help-faq-example { margin: 0 0 12px; padding: 12px 14px; border-radius: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; font-size: 13px; color: #166534; line-height: 1.55; }
.help-faq-warning { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; font-size: 12px; color: #991b1b; line-height: 1.5; display: flex; align-items: flex-start; gap: 8px; }
.help-faq-toc-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.help-faq-toc-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: var(--gray-50); border: 1px solid var(--gray-200); font-size: 12px; font-weight: 600; color: var(--gray-700); text-decoration: none; transition: background .15s, border-color .15s; }
.help-faq-toc-link:hover { background: #fff; border-color: var(--primary); color: var(--primary); }
.help-faq-section { scroll-margin-top: 88px; }
.help-faq-role-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.help-faq-role-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 12px; border: 1px solid var(--gray-200);
  background: #fff; font-size: 13px; font-weight: 600; color: var(--gray-700);
  cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.help-faq-role-btn:hover { border-color: #cbd5e1; background: var(--gray-50); }
.help-faq-role-btn.is-active { border-color: var(--primary); background: #eff6ff; color: var(--primary); }
.help-faq-quickstart-tasks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.help-faq-quickstart-tasks li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; border-radius: 12px; background: var(--gray-50); border: 1px solid var(--gray-200);
  font-size: 13px; color: var(--gray-800);
}
.help-faq-checklist { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--gray-200); }
.help-faq-checklist ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.help-faq-checklist label { font-size: 13px; color: var(--gray-700); display: flex; align-items: center; gap: 8px; cursor: pointer; }
