/* ==========================================================================
   BEYAZ MINI-FRAMEWORK — DUAL THEME STYLESHEET (Light Silver & Dark)
   ========================================================================== */

:root,
[data-fw-theme="light-silver"] {
  --fw-bg-body: #eef2f6;
  --fw-bg-sidebar: #f8fafc;
  --fw-bg-surface: #ffffff;
  --fw-bg-elevated: #f1f5f9;
  --fw-bg-hover: #e2e8f0;
  --fw-border: #cbd5e1;
  --fw-border-subtle: #e2e8f0;
  --fw-text-main: #0f172a;
  --fw-text-secondary: #334155;
  --fw-text-muted: #64748b;
  --fw-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --fw-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --fw-shadow-modal: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --fw-table-stripe: #f8fafc;
  --fw-input-bg: #ffffff;
}

[data-fw-theme="dark"] {
  --fw-bg-body: #070b14;
  --fw-bg-sidebar: #0b1120;
  --fw-bg-surface: #111827;
  --fw-bg-elevated: #1e293b;
  --fw-bg-hover: #334155;
  --fw-border: #1e293b;
  --fw-border-subtle: #1e293b;
  --fw-text-main: #f8fafc;
  --fw-text-secondary: #cbd5e1;
  --fw-text-muted: #94a3b8;
  --fw-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.35);
  --fw-shadow-md: 0 12px 28px rgba(0, 0, 0, 0.45);
  --fw-shadow-modal: 0 25px 60px rgba(0, 0, 0, 0.7);
  --fw-table-stripe: rgba(30, 41, 59, 0.35);
  --fw-input-bg: #0f172a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--fw-bg-body);
  color: var(--fw-text-main);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ─── ANA KABUK (SHELL) ──────────────────────────────────────────────────── */
.fw-shell {
  display: flex;
  min-height: 100vh;
}

.fw-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
  z-index: 90;
}

/* ─── SOL SIDEBAR ────────────────────────────────────────────────────────── */
.fw-sidebar {
  width: 268px;
  flex-shrink: 0;
  background: var(--fw-bg-sidebar);
  border-right: 1px solid var(--fw-border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 100;
}

.fw-home-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--fw-primary, #6366f1), var(--fw-secondary, #4f46e5));
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.fw-hb-logo {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 13.5px;
}

.fw-hb-logo span {
  opacity: 0.9;
  font-weight: 600;
}

.fw-hb-link {
  background: rgba(255, 255, 255, 0.18);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
}

.fw-brand {
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--fw-border-subtle);
}

.fw-brand-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--fw-bg-surface);
  border: 1px solid var(--fw-border);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  color: var(--fw-text-main);
  box-shadow: var(--fw-shadow-sm);
  transition: all 0.18s ease;
}

.fw-brand-btn:hover {
  border-color: var(--fw-primary);
  transform: translateY(-1px);
}

.fw-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
}

.fw-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fw-brand-text strong {
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fw-brand-text small {
  font-size: 11px;
  color: var(--fw-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fw-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 12px;
}

.fw-nav-group {
  margin-bottom: 18px;
}

.fw-nav-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--fw-text-muted);
  padding: 0 10px 6px;
}

.fw-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  margin-bottom: 3px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  color: var(--fw-text-secondary);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.fw-nav-item:hover {
  background: var(--fw-bg-elevated);
  color: var(--fw-text-main);
}

.fw-nav-item.active {
  background: var(--fw-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.28);
}

.fw-ni-icon {
  font-size: 16px;
  width: 22px;
  text-align: center;
}

.fw-ni-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fw-ni-count {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--fw-bg-elevated);
  color: var(--fw-text-muted);
}

.fw-nav-item.active .fw-ni-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.fw-sidebar-foot {
  padding: 12px 14px;
  border-top: 1px solid var(--fw-border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fw-sf-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--fw-text-muted);
}

.fw-sf-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
}

.fw-reset-btn {
  width: 100%;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px dashed var(--fw-border);
  background: var(--fw-bg-elevated);
  color: var(--fw-text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fw-reset-btn:hover {
  border-color: var(--fw-primary);
  color: var(--fw-primary);
}

/* ─── SAĞ ANA ALAN & TOPBAR ──────────────────────────────────────────────── */
.fw-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.fw-topbar {
  height: 64px;
  background: var(--fw-bg-surface);
  border-bottom: 1px solid var(--fw-border);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.fw-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.fw-Lock-mobile-btn {
  display: none;
  background: var(--fw-bg-elevated);
  border: 1px solid var(--fw-border);
  color: var(--fw-text-main);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

.fw-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  min-width: 0;
}

.fw-bc-root {
  background: none;
  border: none;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 700;
  color: var(--fw-text-secondary);
  cursor: pointer;
}

.fw-bc-root:hover {
  background: var(--fw-bg-elevated);
  color: var(--fw-primary);
}

.fw-bc-sep {
  color: var(--fw-text-muted);
}

.fw-bc-current {
  font-weight: 800;
  color: var(--fw-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fw-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Tema Seçici */
.fw-theme-switch {
  display: inline-flex;
  background: var(--fw-bg-elevated);
  border: 1px solid var(--fw-border);
  padding: 3px;
  border-radius: 10px;
  gap: 3px;
}

.fw-theme-btn {
  border: none;
  background: transparent;
  color: var(--fw-text-secondary);
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fw-theme-btn.active {
  background: var(--fw-bg-surface);
  color: var(--fw-text-main);
  box-shadow: var(--fw-shadow-sm);
}

/* Kullanıcı Seçici */
.fw-user-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--fw-bg-elevated);
  border: 1px solid var(--fw-border);
  padding: 4px 10px;
  border-radius: 10px;
}

.fw-user-pill select {
  border: none;
  background: transparent;
  color: var(--fw-text-main);
  font-size: 12.5px;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

.fw-user-pill select option {
  background: var(--fw-bg-surface);
  color: var(--fw-text-main);
}

/* ─── İÇERİK ALANI ───────────────────────────────────────────────────────── */
.fw-content {
  flex: 1;
  padding: 24px;
  max-width: 1520px;
  width: 100%;
  margin: 0 auto;
}

.fw-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--fw-border);
  background: var(--fw-bg-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--fw-text-muted);
}

.fw-footer a {
  color: var(--fw-primary);
  font-weight: 700;
  text-decoration: none;
}

/* ─── DASHBOARD STANDART BİLEŞENLER ──────────────────────────────────────── */
.fw-dash-banner {
  background: var(--fw-bg-surface);
  border: 1px solid var(--fw-border);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--fw-shadow-sm);
}

.fw-db-left h1 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
}

.fw-db-left p {
  margin: 0;
  color: var(--fw-text-muted);
  font-size: 13px;
}

.fw-db-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fw-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.fw-kpi-card {
  background: var(--fw-bg-surface);
  border: 1px solid var(--fw-border);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--fw-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.fw-kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--fw-primary);
  box-shadow: var(--fw-shadow-md);
}

.fw-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fw-kpi-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  background: var(--fw-bg-elevated);
}

.fw-kpi-trend {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: #059669;
}

[data-fw-theme="dark"] .fw-kpi-trend {
  color: #34d399;
}

.fw-kpi-val {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fw-kpi-lbl {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fw-text-muted);
}

.fw-dash-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}

.fw-card {
  background: var(--fw-bg-surface);
  border: 1px solid var(--fw-border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--fw-shadow-sm);
}

.fw-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.fw-card-head h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
}

.fw-card-head p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--fw-text-muted);
}

.fw-bar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fw-bar-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fw-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
}

.fw-bar-track {
  height: 9px;
  background: var(--fw-bg-elevated);
  border-radius: 999px;
  overflow: hidden;
}

.fw-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* ─── MODÜL TABLO LİSTELEME EKRANI ───────────────────────────────────────── */
.fw-mod-header {
  background: var(--fw-bg-surface);
  border: 1px solid var(--fw-border);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--fw-shadow-sm);
}

.fw-mh-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fw-mh-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--fw-bg-elevated);
  border: 1px solid var(--fw-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.fw-mh-info h2 {
  margin: 0 0 3px;
  font-size: 18px;
  font-weight: 800;
}

.fw-mh-info p {
  margin: 0;
  font-size: 12.5px;
  color: var(--fw-text-muted);
}

.fw-table-card {
  background: var(--fw-bg-surface);
  border: 1px solid var(--fw-border);
  border-radius: 16px;
  box-shadow: var(--fw-shadow-sm);
  overflow: hidden;
}

.fw-toolbar {
  padding: 14px 18px;
  border-bottom: 1px solid var(--fw-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--fw-bg-elevated);
}

.fw-toolbar-left,
.fw-toolbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.fw-search-box {
  position: relative;
  min-width: 250px;
}

.fw-search-box input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border-radius: 9px;
  border: 1px solid var(--fw-border);
  background: var(--fw-input-bg);
  color: var(--fw-text-main);
  font-size: 13px;
  outline: none;
}

.fw-search-box input:focus,
.fw-select:focus {
  border-color: var(--fw-primary);
}

.fw-search-box .fw-sb-ic {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--fw-text-muted);
  font-size: 13px;
  pointer-events: none;
}

.fw-select {
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid var(--fw-border);
  background: var(--fw-input-bg);
  color: var(--fw-text-main);
  font-size: 13px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.fw-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.fw-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.fw-table th {
  padding: 12px 14px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fw-text-muted);
  background: var(--fw-bg-elevated);
  border-bottom: 1px solid var(--fw-border);
  white-space: nowrap;
  user-select: none;
}

.fw-th-sortable {
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.fw-th-sortable:hover {
  color: var(--fw-text-main);
  background: var(--fw-bg-hover);
}

.fw-th-sortable.sorted {
  color: var(--fw-primary);
}

.fw-sort-arrow {
  display: inline-block;
  margin-left: 5px;
  font-size: 10px;
  opacity: 0.45;
}

.fw-th-sortable.sorted .fw-sort-arrow {
  opacity: 1;
}

.fw-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--fw-border-subtle);
  font-size: 13.5px;
  color: var(--fw-text-main);
  vertical-align: middle;
}

.fw-table tbody tr:nth-child(even) {
  background: var(--fw-table-stripe);
}

.fw-table tbody tr:hover {
  background: var(--fw-bg-hover);
}

/* İkon Aksiyon Butonları (Ekle / Düzenle / Sil) */
.fw-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fw-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--fw-border);
  background: var(--fw-bg-surface);
  color: var(--fw-text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}

.fw-icon-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fw-icon-btn.edit:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: var(--fw-primary);
  color: var(--fw-primary);
}

.fw-icon-btn.delete:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: #ef4444;
  color: #ef4444;
}

/* Rozetler (Badges) */
.fw-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.fw-badge-emerald { background: rgba(16, 185, 129, 0.14); color: #059669; }
.fw-badge-blue    { background: rgba(59, 130, 246, 0.14); color: #2563eb; }
.fw-badge-indigo  { background: rgba(99, 102, 241, 0.14); color: #4f46e5; }
.fw-badge-amber   { background: rgba(245, 158, 11, 0.16); color: #d97706; }
.fw-badge-rose    { background: rgba(244, 63, 94, 0.14);  color: #e11d48; }
.fw-badge-cyan    { background: rgba(6, 182, 212, 0.15);  color: #0891b2; }
.fw-badge-slate   { background: rgba(100, 116, 139, 0.16); color: #475569; }

[data-fw-theme="dark"] .fw-badge-emerald { color: #34d399; }
[data-fw-theme="dark"] .fw-badge-blue    { color: #60a5fa; }
[data-fw-theme="dark"] .fw-badge-indigo  { color: #818cf8; }
[data-fw-theme="dark"] .fw-badge-amber   { color: #fbbf24; }
[data-fw-theme="dark"] .fw-badge-rose    { color: #fb7185; }
[data-fw-theme="dark"] .fw-badge-cyan    { color: #22d3ee; }
[data-fw-theme="dark"] .fw-badge-slate   { color: #94a3b8; }

/* Sayfalama (Pagination) */
.fw-pagination {
  padding: 12px 18px;
  border-top: 1px solid var(--fw-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--fw-text-muted);
}

.fw-page-btns {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fw-page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 9px;
  border-radius: 8px;
  border: 1px solid var(--fw-border);
  background: var(--fw-bg-surface);
  color: var(--fw-text-secondary);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.fw-page-btn:hover:not(:disabled) {
  border-color: var(--fw-primary);
  color: var(--fw-primary);
}

.fw-page-btn.active {
  background: var(--fw-primary);
  border-color: var(--fw-primary);
  color: #ffffff;
}

.fw-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ─── BUTONLAR ───────────────────────────────────────────────────────────── */
.fw-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
}

.fw-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
}

.fw-btn-primary {
  background: var(--fw-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.fw-btn-primary:hover {
  background: var(--fw-secondary);
  transform: translateY(-1px);
}

.fw-btn-ghost {
  background: var(--fw-bg-elevated);
  border-color: var(--fw-border);
  color: var(--fw-text-secondary);
}

.fw-btn-ghost:hover {
  border-color: var(--fw-primary);
  color: var(--fw-text-main);
}

.fw-btn-danger {
  background: #ef4444;
  color: #ffffff;
}

.fw-btn-sm {
  padding: 6px 11px;
  font-size: 12px;
  border-radius: 8px;
}

/* ─── MODAL FORM ─────────────────────────────────────────────────────────── */
.fw-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.fw-modal-overlay.open {
  display: flex;
}

.fw-modal {
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  background: var(--fw-bg-surface);
  border: 1px solid var(--fw-border);
  border-radius: 18px;
  box-shadow: var(--fw-shadow-modal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.fw-modal-sm {
  max-width: 420px;
}

.fw-modal-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--fw-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--fw-bg-elevated);
}

.fw-modal-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.fw-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--fw-border);
  background: var(--fw-bg-surface);
  color: var(--fw-text-secondary);
  cursor: pointer;
  font-weight: 700;
}

.fw-modal-body {
  padding: 20px 22px;
  overflow-y: auto;
}

.fw-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.fw-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fw-form-group.full {
  grid-column: 1 / -1;
}

.fw-form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--fw-text-secondary);
}

.fw-form-group label .req {
  color: #ef4444;
  margin-left: 2px;
}

.fw-input,
.fw-textarea {
  width: 100%;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid var(--fw-border);
  background: var(--fw-input-bg);
  color: var(--fw-text-main);
  font-size: 13.5px;
  outline: none;
}

.fw-input:focus,
.fw-textarea:focus {
  border-color: var(--fw-primary);
}

.fw-textarea {
  min-height: 82px;
  resize: vertical;
}

.fw-modal-foot {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--fw-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* ─── TOAST BİLDİRİM ─────────────────────────────────────────────────────── */
.fw-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  z-index: 300;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.22s ease;
}

.fw-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .fw-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fw-dash-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .fw-sidebar {
    position: fixed;
    left: -280px;
    transition: left 0.22s ease;
  }
  .fw-shell.mobile-open .fw-sidebar {
    left: 0;
  }
  .fw-shell.mobile-open .fw-backdrop {
    display: block;
  }
  .fw-Lock-mobile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .fw-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .fw-kpi-grid {
    grid-template-columns: 1fr;
  }
  .fw-content {
    padding: 14px;
  }
  .fw-topbar {
    padding: 0 14px;
  }
  .fw-user-pill {
    display: none;
  }
}
