  /* DARK MODE (default) */
  :root {
    --primary: #ffffff;
    --primary-dark: #d1d5db;
    --primary-glow: rgba(255,255,255,0.06);
    --accent: #a1a1aa;
    --accent-glow: rgba(161,161,170,0.1);
    --success: #22c55e;
    --warning: #eab308;
    --danger: #ef4444;
    --bg: #000000;
    --bg-secondary: #111111;
    --card: rgba(28,28,30,0.9);
    --card-border: rgba(255,255,255,0.06);
    --card-hover: rgba(38,38,40,0.95);
    --text: #e5e5e5;
    --text-muted: #71717a;
    --text-bright: #ffffff;
    --border: rgba(255,255,255,0.08);
    --sidebar-bg: rgba(0,0,0,0.96);
    --sidebar-text: #71717a;
    --sidebar-active: #ffffff;
    --enyakit: #f97316;
    --glass: rgba(28,28,30,0.6);
    --glass-border: rgba(255,255,255,0.06);
    --glow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --glow-md: 0 4px 12px rgba(0,0,0,0.5);
    --glow-lg: 0 8px 24px rgba(0,0,0,0.6);
  }

  /* LIGHT MODE */
  body.light {
    --primary: #000000;
    --primary-dark: #374151;
    --primary-glow: rgba(0,0,0,0.04);
    --accent: #6b7280;
    --accent-glow: rgba(107,114,128,0.08);
    --bg: #f5f5f7;
    --bg-secondary: #ffffff;
    --card: rgba(255,255,255,0.95);
    --card-border: rgba(0,0,0,0.06);
    --card-hover: rgba(255,255,255,1);
    --text: #1d1d1f;
    --text-muted: #86868b;
    --text-bright: #000000;
    --border: rgba(0,0,0,0.08);
    --sidebar-bg: #1d1d1f;
    --sidebar-text: #86868b;
    --glass: rgba(255,255,255,0.8);
    --glass-border: rgba(0,0,0,0.06);
    --glow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --glow-md: 0 4px 12px rgba(0,0,0,0.08);
    --glow-lg: 0 8px 24px rgba(0,0,0,0.1);
    background-image: none !important;
  }
  body.light .topbar h1 {
    background: none !important;
    -webkit-text-fill-color: var(--text-bright) !important;
  }
  body.light .login-box h2 {
    background: none !important;
    -webkit-text-fill-color: var(--text-bright) !important;
  }
  body.light .login-overlay {
    background: var(--bg) !important;
    background-image: none !important;
  }
  body.light .login-box {
    box-shadow: 0 24px 64px rgba(0,0,0,0.08) !important;
  }
  body.light .login-org-card .org-logo {
    background: #f5f5f7 !important;
  }
  body.light .sidebar-logo .logo-box {
    box-shadow: none;
  }

  /* THEME TOGGLE */
  .theme-toggle {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .theme-toggle:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); }
  body.light .theme-toggle:hover { border-color: rgba(0,0,0,0.15); background: rgba(0,0,0,0.05); }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    display: flex;
    min-height: 100vh;
    background-image:
      radial-gradient(ellipse at 20% 50%, rgba(6, 182, 212, 0.04) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
      radial-gradient(ellipse at 50% 80%, rgba(249, 115, 22, 0.02) 0%, transparent 50%);
    background-attachment: fixed;
    transition: background 0.3s, color 0.3s;
  }

  /* SIDEBAR */
  .sidebar {
    width: 240px;
    background: var(--sidebar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 100;
    border-right: 1px solid var(--glass-border);
  }

  .sidebar-logo {
    padding: 16px 20px;
    border-bottom: 1px solid var(--glass-border);
  }

  .sidebar-logo .logo-box {
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
  }

  .sidebar-logo .bolt-logo {
    width: 100%;
    object-fit: contain;
    display: block;
  }

  .sidebar-logo .partner-label {
    color: var(--primary);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
  }

  .sidebar-logo .enyakit-logo-box {
    background: rgba(255,255,255,0.95);
    border-radius: 6px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar-logo .enyakit-logo {
    width: 100%;
    max-height: 24px;
    object-fit: contain;
    display: block;
  }

  .sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
  }

  .nav-label {
    color: var(--primary);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 8px 8px 4px;
    margin-top: 12px;
  }

  .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--sidebar-text);
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
  }

  .nav-item:hover { background: rgba(255,255,255,0.05); color: #e5e5e5; }
  .nav-item.active {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.1);
  }
  .nav-item .nav-icon { font-size: 16px; width: 20px; text-align: center; }

  .nav-badge {
    margin-left: auto;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
  }

  /* MAIN */
  .main {
    margin-left: 240px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .topbar {
    background: var(--card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 28px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .topbar h1 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-bright);
  }

  .topbar-actions { display: flex; gap: 10px; align-items: center; }

  .btn {
    padding: 8px 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .btn-primary {
    background: var(--text-bright);
    color: var(--bg);
  }
  .btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }
  .btn-outline {
    background: var(--glass);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
  }
  .btn-outline:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.15); }
  body.light .btn-outline:hover { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.15); }
  .btn-sm { padding: 5px 10px; font-size: 12px; }
  .btn-danger { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.2); }
  .btn-danger:hover { background: rgba(239, 68, 68, 0.25); }

  .content { padding: 24px 28px; flex: 1; }

  /* STATS */
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
  }

  .stat-card {
    background: var(--card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
  }

  .stat-card:hover {
    border-color: rgba(255,255,255,0.12);
    box-shadow: var(--glow-sm);
    transform: translateY(-2px);
  }
  body.light .stat-card:hover { border-color: rgba(0,0,0,0.1); }

  .stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
  }

  .stat-card.blue::before { background: #a1a1aa; }
  .stat-card.orange::before { background: #a1a1aa; }
  .stat-card.green::before { background: var(--success); }
  .stat-card.yellow::before { background: var(--warning); }
  .stat-card.red::before { background: var(--danger); }
  .stat-card.purple::before { background: #a1a1aa; }

  .stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-bottom: 6px; }
  .stat-value { font-size: 28px; font-weight: 700; color: var(--text-bright); }
  .stat-sub { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

  /* FILTER BAR */
  .filter-bar {
    background: var(--card);
    backdrop-filter: blur(20px);
    border-radius: 14px;
    padding: 14px 20px;
    border: 1px solid var(--card-border);
    margin-bottom: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
  }

  .filter-bar input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    background: var(--bg-secondary);
    color: var(--text);
  }

  .filter-bar input:focus { border-color: rgba(255,255,255,0.2); }
  body.light .filter-bar input:focus { border-color: rgba(0,0,0,0.2); }

  .filter-bar select {
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    background: var(--bg-secondary);
    color: var(--text);
    outline: none;
    cursor: pointer;
  }

  /* TABLE */
  .table-card {
    background: var(--card);
    backdrop-filter: blur(20px);
    border-radius: 14px;
    border: 1px solid var(--card-border);
    overflow: hidden;
  }

  .table-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .table-header h3 { font-size: 15px; font-weight: 600; color: var(--text-bright); }

  table { width: 100%; border-collapse: collapse; }
  th {
    background: rgba(255,255,255,0.03);
    padding: 11px 16px;
    text-align: left;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
  }
  body.light th { background: rgba(0,0,0,0.02); }

  td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
    vertical-align: middle;
    color: var(--text);
  }

  tr:last-child td { border-bottom: none; }
  tr:hover td { background: rgba(255,255,255,0.02); }
  body.light tr:hover td { background: rgba(0,0,0,0.02); }

  /* BADGES */
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid transparent;
  }

  .badge-talep     { background: rgba(148,163,184,0.15); color: #94a3b8; border-color: rgba(148,163,184,0.2); }
  .badge-kesifbek  { background: rgba(161,161,170,0.15); color: #a1a1aa; border-color: rgba(161,161,170,0.2); }
  .badge-kesifyap  { background: rgba(161,161,170,0.2); color: #d4d4d8; border-color: rgba(161,161,170,0.3); }
  .badge-edas      { background: rgba(34,211,238,0.15); color: #22d3ee; border-color: rgba(34,211,238,0.25); }
  .badge-teklif    { background: rgba(113,113,122,0.15); color: #a1a1aa; border-color: rgba(113,113,122,0.2); }
  .badge-teklifon  { background: rgba(245,158,11,0.15); color: #fbbf24; border-color: rgba(245,158,11,0.2); }
  .badge-satinalma { background: rgba(249,115,22,0.15); color: #fb923c; border-color: rgba(249,115,22,0.2); }
  .badge-devam     { background: rgba(59,130,246,0.15); color: #60a5fa; border-color: rgba(59,130,246,0.2); }
  .badge-tamamlandi{ background: rgba(16,185,129,0.15); color: #34d399; border-color: rgba(16,185,129,0.2); }
  .badge-enyakit { background: rgba(249,115,22,0.12); color: #fb923c; border: 1px solid rgba(249,115,22,0.25); }
  .badge-diger { background: rgba(148,163,184,0.1); color: #94a3b8; border: 1px solid rgba(148,163,184,0.15); }

  .source-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
  }

  /* PRIORITY */
  .priority-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
  }

  .priority-yuksek .priority-dot { background: var(--danger); box-shadow: 0 0 6px rgba(239,68,68,0.5); }
  .priority-orta .priority-dot { background: var(--warning); box-shadow: 0 0 6px rgba(245,158,11,0.5); }
  .priority-dusuk .priority-dot { background: var(--success); box-shadow: 0 0 6px rgba(16,185,129,0.5); }

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

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

  .modal {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--glow-md);
  }

  .modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: var(--bg-secondary);
    z-index: 1;
  }

  .modal-header h2 { font-size: 17px; font-weight: 600; color: var(--text-bright); }
  .modal-close { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-muted); padding: 4px; border-radius: 4px; }
  .modal-close:hover { background: rgba(255,255,255,0.08); color: var(--text-bright); }

  .modal-body { padding: 20px 24px; }
  .modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

  .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

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

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

  label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  input[type="text"],
  input[type="date"],
  input[type="number"],
  input[type="tel"],
  textarea,
  select {
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
    background: var(--bg);
    color: var(--text);
  }

  input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }

  select option { background: var(--bg-secondary); color: var(--text); }

  textarea { resize: vertical; min-height: 70px; }

  .actions-cell { display: flex; gap: 6px; }

  /* EMPTY STATE */
  .empty-state {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-muted);
  }

  .empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; }
  .empty-state h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
  .empty-state p { font-size: 13px; }

  /* PAGINATION */
  .pagination {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
  }

  .pagination-btns { display: flex; gap: 4px; }
  .page-btn {
    width: 30px; height: 30px;
    border: 1px solid var(--border);
    background: var(--glass);
    color: var(--text);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
  }

  .page-btn:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); }
  .page-btn.active { background: var(--text-bright); color: var(--bg); border-color: transparent; box-shadow: var(--glow-sm); }

  /* DETAIL VIEW */
  .detail-section { margin-bottom: 20px; }
  .detail-section h4 { font-size: 12px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
  .detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .detail-item label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; display: block; margin-bottom: 2px; }
  .detail-item span { font-size: 14px; color: var(--text); font-weight: 500; }

  /* TOAST */
  .toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .toast {
    background: var(--card);
    color: var(--text);
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 13.5px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4), var(--glow-sm);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideIn 0.3s ease;
    max-width: 320px;
    backdrop-filter: blur(20px);
  }

  .toast.success { border-color: rgba(16,185,129,0.3); box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 15px rgba(16,185,129,0.2); }
  .toast.error { border-color: rgba(239,68,68,0.3); box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 15px rgba(239,68,68,0.2); }

  @keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
  }

  /* PROGRESS BAR */
  .progress-bar-wrap { background: rgba(148,163,184,0.1); border-radius: 4px; height: 6px; overflow: hidden; }
  .progress-bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width 0.3s; }

  /* CALENDAR */
  .calendar-controls { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
  .calendar-controls .btn-month { background: var(--card); border: 1px solid var(--card-border); color: var(--text-bright); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
  .calendar-controls .btn-month:hover { border-color: var(--primary); background: rgba(255,255,255,0.06); }
  .calendar-month-label { font-size: 18px; font-weight: 700; color: var(--text-bright); min-width: 180px; text-align: center; }
  .calendar-controls .btn-today { background: var(--card); border: 1px solid var(--card-border); color: var(--text-muted); padding: 6px 14px; border-radius: 8px; cursor: pointer; font-size: 12px; font-weight: 500; transition: all 0.2s; }
  .calendar-controls .btn-today:hover { border-color: var(--primary); color: var(--text-bright); }
  .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--card-border); border-radius: 14px; overflow: hidden; border: 1px solid var(--card-border); }
  .calendar-header-cell { background: var(--card); padding: 10px 4px; text-align: center; font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
  .calendar-cell { background: var(--card); min-height: 110px; padding: 6px; cursor: pointer; transition: background 0.15s; position: relative; vertical-align: top; }
  .calendar-cell:hover { background: rgba(255,255,255,0.04); }
  .calendar-cell.other-month { opacity: 0.35; }
  .calendar-cell.today { background: rgba(255,255,255,0.06); }
  .calendar-cell.today .calendar-day-num { background: var(--text-bright); color: var(--bg); border-radius: 50%; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; font-weight: 700; }
  .calendar-day-num { font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 4px; padding: 2px 4px; display: inline-flex; }
  .calendar-events { display: flex; flex-direction: column; gap: 2px; }
  .calendar-event { font-size: 10px; padding: 3px 6px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; transition: filter 0.15s; font-weight: 500; line-height: 1.4; }
  .calendar-event:hover { filter: brightness(1.2); }
  .calendar-event.ev-talep { background: rgba(148,163,184,0.2); color: #94a3b8; }
  .calendar-event.ev-kesif { background: rgba(161,161,170,0.2); color: #d4d4d8; }
  .calendar-event.ev-edas { background: rgba(34,211,238,0.2); color: #22d3ee; }
  .calendar-event.ev-teklif { background: rgba(113,113,122,0.2); color: #a1a1aa; }
  .calendar-event.ev-onay { background: rgba(245,158,11,0.2); color: #fbbf24; }
  .calendar-event.ev-satinalma { background: rgba(249,115,22,0.2); color: #fb923c; }
  .calendar-event.ev-devam { background: rgba(59,130,246,0.2); color: #60a5fa; }
  .calendar-event.ev-tamamlandi { background: rgba(16,185,129,0.2); color: #34d399; }
  .calendar-event.ev-bitis { background: rgba(239,68,68,0.15); color: #f87171; border-left: 2px solid #f87171; }
  .calendar-more { font-size: 10px; color: var(--text-muted); padding: 2px 6px; cursor: pointer; font-weight: 500; }
  .calendar-more:hover { color: var(--text-bright); }
  .calendar-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; padding: 12px 16px; background: var(--card); border: 1px solid var(--card-border); border-radius: 10px; }
  .calendar-legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); }
  .calendar-legend-dot { width: 8px; height: 8px; border-radius: 50%; }
  .calendar-event.ev-not { background: rgba(250,204,21,0.15); color: #facc15; border-left: 2px solid #facc15; font-style: italic; }

  /* TEKLIF MODULE */
  .teklif-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
  .teklif-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: rgba(94,223,229,0.06); border: 1px solid rgba(94,223,229,0.2); border-radius: 8px; font-size: 13px; }
  .teklif-item .teklif-no { font-weight: 600; color: #5EDFE5; font-family: 'SF Mono', 'Menlo', monospace; font-size: 12px; white-space: nowrap; }
  .teklif-item .teklif-musteri { flex: 1; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .teklif-item .teklif-tutar { font-weight: 600; color: var(--text-bright); white-space: nowrap; }
  .teklif-item .teklif-tarih { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
  .teklif-item button { background: none; border: 1px solid var(--border); color: var(--text-muted); cursor: pointer; padding: 4px 8px; border-radius: 6px; font-size: 11px; transition: all 0.15s; }
  .teklif-item button:hover { border-color: #5EDFE5; color: #5EDFE5; }
  .teklif-item button.del:hover { border-color: var(--danger); color: var(--danger); }
  .teklif-row { display: grid; grid-template-columns: 2fr 80px 70px 80px 1fr 100px 90px 28px; gap: 6px; align-items: center; margin-bottom: 6px; }
  .teklif-row input, .teklif-row select { padding: 6px 8px; font-size: 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-secondary); color: var(--text); width: 100%; box-sizing: border-box; }
  .teklif-row .rm-btn { background: none; border: 1px solid var(--border); color: var(--text-muted); cursor: pointer; border-radius: 6px; font-size: 14px; height: 30px; }
  .teklif-row .rm-btn:hover { border-color: var(--danger); color: var(--danger); }
  .teklif-row-header { display: grid; grid-template-columns: 2fr 80px 70px 80px 1fr 100px 90px 28px; gap: 6px; font-size: 10px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; padding: 0 2px; }
  .teklif-totals { background: var(--card); border: 1px solid var(--card-border); border-radius: 10px; padding: 12px 16px; margin-top: 12px; font-size: 13px; }
  .teklif-totals .row { display: flex; justify-content: space-between; padding: 3px 0; }
  .teklif-totals .row.total { border-top: 1px solid var(--card-border); margin-top: 8px; padding-top: 10px; font-size: 16px; font-weight: 700; color: var(--text-bright); }
  @media (max-width: 700px) {
    .teklif-row, .teklif-row-header { grid-template-columns: 1fr; }
    .teklif-row-header { display: none; }
    .teklif-row input, .teklif-row select { font-size: 13px; }
  }
  .calendar-cell .cal-add-btn { position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--border); background: var(--card); color: var(--text-muted); font-size: 13px; cursor: pointer; display: none; align-items: center; justify-content: center; line-height: 1; transition: all 0.15s; }
  .calendar-cell:hover .cal-add-btn { display: flex; }
  .calendar-cell .cal-add-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
  .cal-note-popup { position: fixed; z-index: 1100; background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 16px; width: 320px; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
  .cal-note-popup h4 { font-size: 14px; font-weight: 600; color: var(--text-bright); margin-bottom: 12px; }
  .cal-note-popup select, .cal-note-popup input, .cal-note-popup textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-secondary); color: var(--text); font-size: 13px; margin-bottom: 8px; box-sizing: border-box; }
  .cal-note-popup textarea { resize: vertical; min-height: 60px; }
  .cal-note-popup .popup-actions { display: flex; gap: 8px; justify-content: flex-end; }
  .cal-note-del { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 11px; padding: 0 4px; opacity: 0; transition: opacity 0.15s; }
  .calendar-event:hover .cal-note-del { opacity: 1; }
  .cal-note-del:hover { color: var(--danger); }

  @media (max-width: 768px) {
    .calendar-cell { min-height: 70px; padding: 3px; }
    .calendar-event { font-size: 9px; padding: 2px 4px; }
    .calendar-day-num { font-size: 11px; }
    .calendar-month-label { font-size: 15px; min-width: 140px; }
  }

  /* PAGE SECTIONS */
  .page-section { display: none; }
  .page-section.active { display: block; }

  .section-header { margin-bottom: 20px; }
  .section-header h2 { font-size: 20px; font-weight: 700; color: var(--text-bright); }
  .section-header p { font-size: 13px; color: var(--text-muted); margin-top: 3px; }

  .info-banner {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--primary);
    font-weight: 500;
  }

  .kanban-board {
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: start;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .kanban-col { min-width: 220px; flex-shrink: 0; }

  .kanban-col {
    background: var(--card);
    backdrop-filter: blur(20px);
    border-radius: 14px;
    border: 1px solid var(--card-border);
    overflow: hidden;
  }

  .kanban-col-header {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
  }

  .kanban-col-header .col-count {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px;
  }

  .kanban-col-items { padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 100px; }

  .kanban-item {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 12px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
  }

  .kanban-item:hover { border-color: rgba(255,255,255,0.12); box-shadow: var(--glow-sm); }
  .kanban-item .job-title { font-weight: 600; margin-bottom: 4px; font-size: 13px; color: var(--text-bright); }
  .kanban-item .job-location { font-size: 11.5px; color: var(--text-muted); }
  .kanban-item .job-meta { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; }

  .col-talep     .kanban-col-header { background: rgba(148,163,184,0.08); color: #94a3b8; }
  .col-kesifbek  .kanban-col-header { background: rgba(161,161,170,0.1); color: #a1a1aa; }
  .col-kesifyap  .kanban-col-header { background: rgba(161,161,170,0.12); color: #d4d4d8; }
  .col-edas      .kanban-col-header { background: rgba(34,211,238,0.12); color: #22d3ee; }
  .col-teklif    .kanban-col-header { background: rgba(113,113,122,0.1); color: #a1a1aa; }
  .col-teklifon  .kanban-col-header { background: rgba(245,158,11,0.1); color: #fbbf24; }
  .col-satinalma .kanban-col-header { background: rgba(249,115,22,0.1); color: #fb923c; }
  .col-devam     .kanban-col-header { background: rgba(59,130,246,0.1); color: #60a5fa; }
  .col-tamamlandi .kanban-col-header { background: rgba(16,185,129,0.1); color: #34d399; }

  @media (max-width: 1100px) {
    .kanban-board { grid-template-columns: repeat(2, 1fr); }
  }

  /* ===== MOBİL ===== */
  @media (max-width: 768px) {
    .sidebar {
      width: 100%;
      height: auto;
      position: fixed;
      top: 0; left: 0; right: 0;
      bottom: auto;
      z-index: 200;
      flex-direction: row;
      align-items: center;
      padding: 0;
      overflow: visible;
    }
    .sidebar-logo {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 10px;
      padding: 10px 16px;
      border-bottom: none;
      border-right: 1px solid var(--glass-border);
      flex-shrink: 0;
    }
    .sidebar-logo .logo-box { margin-bottom: 0; padding: 4px 8px; }
    .sidebar-logo .bolt-logo { max-height: 28px; }
    .sidebar-logo .partner-label { display: none; }
    .sidebar-logo .enyakit-logo-box { display: none; }
    .sidebar-nav {
      display: none;
      position: fixed;
      top: 56px; left: 0; right: 0;
      background: var(--sidebar-bg);
      backdrop-filter: blur(20px);
      padding: 12px;
      z-index: 200;
      border-bottom: 1px solid var(--glass-border);
      max-height: calc(100vh - 56px);
      overflow-y: auto;
    }
    .sidebar-nav.open { display: block; }

    .hamburger {
      display: flex !important;
      flex-direction: column;
      gap: 5px;
      padding: 12px 16px;
      cursor: pointer;
      margin-left: auto;
      background: none;
      border: none;
    }
    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--primary);
      border-radius: 2px;
      transition: all 0.2s;
      box-shadow: 0 0 4px var(--primary-glow);
    }

    .main { margin-left: 0 !important; padding-top: 56px; }
    .topbar { padding: 0 12px; flex-wrap: wrap; height: auto; min-height: 56px; gap: 8px; }
    .topbar h1 { font-size: 15px; }
    .topbar-actions { gap: 6px; flex-wrap: wrap; }
    .topbar-actions .btn { padding: 6px 10px; font-size: 12px; }
    .content { padding: 14px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stat-card { padding: 14px; }
    .stat-value { font-size: 28px; }
    .ciro-grid { grid-template-columns: 1fr; gap: 10px; }
    .table-card { overflow-x: auto; }
    .data-table { min-width: 600px; }
    .kanban-board { grid-template-columns: 1fr; }
    .modal {
      width: 100% !important;
      max-width: 100% !important;
      max-height: 100vh !important;
      border-radius: 0 !important;
      margin: 0 !important;
    }
    .modal-overlay { align-items: flex-end; }
    .modal { border-radius: 16px 16px 0 0 !important; }
    .form-grid { grid-template-columns: 1fr !important; }
    .form-group.full { grid-column: 1 !important; }
    .detail-grid { grid-template-columns: 1fr !important; }
    .pl-box { grid-template-columns: 1fr; }
    .belge-add-form { grid-template-columns: 1fr auto; }
    .maliyet-add-form { grid-template-columns: 1fr auto auto; }
    .import-box { border-radius: 16px 16px 0 0; max-width: 100%; margin: 0; }
    .login-box { margin: 16px; padding: 28px 20px; max-width: 100%; }
    .login-org-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .login-org-card { padding: 12px 8px; min-height: 80px; }
  }

  @media (max-width: 400px) {
    .stats-grid { grid-template-columns: 1fr; }
    .topbar-actions .btn span { display: none; }
    .login-org-grid { grid-template-columns: 1fr; }
  }

  .hamburger { display: none; }

  /* LOGIN */
  .login-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg);
    background-image:
      radial-gradient(ellipse at 30% 40%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
      radial-gradient(ellipse at 70% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .login-box {
    background: var(--card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 20px;
    padding: 40px 36px;
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--card-border);
    box-shadow: 0 24px 64px rgba(0,0,0,0.5), var(--glow-lg);
  }

  .login-header-logo {
    text-align: center;
    margin-bottom: 8px;
  }
  .login-header-logo img { height: 80px; opacity: 0.8; filter: drop-shadow(0 0 8px var(--primary-glow)); }

  .login-box h2 {
    color: var(--text-bright);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--text-bright), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .login-box p {
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    margin-bottom: 24px;
  }

  .login-org-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
  }

  .login-org-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 12px;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 90px;
    justify-content: center;
  }

  .login-org-card:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.04);
    box-shadow: var(--glow-sm);
  }

  .login-org-card.selected {
    border-color: var(--text-bright);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1), var(--glow-md);
  }

  .login-org-card .org-logo {
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 80px;
  }

  .login-org-card .org-logo img {
    height: 26px;
    max-width: 120px;
    object-fit: contain;
    display: block;
  }

  .login-org-card .org-name {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
  }

  .login-org-card.selected .org-name {
    color: var(--primary);
  }

  .login-pwd-section {
    display: none;
    animation: fadeIn 0.3s ease;
  }

  .login-pwd-section.visible { display: block; }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .login-selected-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 14px;
  }
  .login-selected-info img { height: 20px; object-fit: contain; }
  .login-selected-info span { color: var(--text-muted); font-size: 12px; }
  .login-selected-info .change-btn {
    margin-left: auto;
    color: var(--primary);
    font-size: 11px;
    cursor: pointer;
    border: none;
    background: none;
  }
  .login-selected-info .change-btn:hover { text-decoration: underline; }

  .login-field { margin-bottom: 14px; }

  .login-field label {
    display: block;
    color: var(--text-muted);
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
  }

  .login-field input {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-bright);
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
  }

  .login-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }

  .login-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #f87171;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 14px;
    display: none;
  }

  .btn-login {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 0 20px var(--primary-glow);
  }

  .btn-login:hover { box-shadow: 0 0 30px rgba(255,255,255,0.15); transform: translateY(-1px); }
  .btn-login:disabled { background: rgba(148,163,184,0.2); box-shadow: none; cursor: not-allowed; }

  .login-footer {
    text-align: center;
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 11.5px;
  }

  /* CHANGE PASSWORD MODAL */
  .pwd-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 300;
    align-items: center;
    justify-content: center;
  }

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

  .pwd-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    width: 100%;
    max-width: 380px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--glow-md);
  }

  .pwd-modal h3 { font-size: 16px; font-weight: 600; margin-bottom: 20px; color: var(--text-bright); }

  /* ROL BAZLI GÖRÜNÜM */
  body.role-enyakit .bolt-only { display: none !important; }
  body.role-bolt    .enyakit-only { display: none !important; }

  .role-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .role-badge.bolt {
    background: var(--text-bright);
    color: var(--bg);
    box-shadow: none;
  }
  .role-badge.enyakit {
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: white;
    box-shadow: 0 0 10px rgba(249,115,22,0.3);
  }

  /* MALİYET */
  .maliyet-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
  .maliyet-item {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 10px; padding: 8px 12px; font-size: 13px;
  }
  .maliyet-kalem { flex: 1; font-weight: 500; color: var(--text); }
  .maliyet-tutar { font-weight: 700; color: #f87171; min-width: 80px; text-align: right; }
  .maliyet-del   { background: none; border: none; cursor: pointer; color: #f87171; font-size: 14px; padding: 2px 6px; border-radius: 4px; }
  .maliyet-del:hover { background: rgba(239,68,68,0.15); }
  .maliyet-add-form { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: end; }
  .maliyet-add-form input { padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; background: var(--bg); color: var(--text); }

  .pl-box {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    background: var(--bg); border: 1px solid var(--card-border);
    border-radius: 12px; padding: 14px; margin-top: 10px;
  }
  .pl-item { text-align: center; }
  .pl-item label { font-size: 11px; color: var(--text-muted); display: block; margin-bottom: 4px; text-transform: uppercase; }
  .pl-item span { font-size: 16px; font-weight: 700; }
  .pl-item span.green { color: #34d399; }
  .pl-item span.red   { color: #f87171; }
  .pl-item span.blue  { color: var(--primary); }

  /* ÖDEME TAKİP */
  .odeme-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
  .odeme-item {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg); border: 1px solid var(--border);
    border-radius: 10px; padding: 8px 12px; font-size: 13px;
  }
  .odeme-aciklama { flex: 1; font-weight: 500; color: var(--text); }
  .odeme-tarih { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
  .odeme-yontem { font-size: 11px; color: var(--text-muted); background: rgba(255,255,255,0.06); border-radius: 6px; padding: 2px 6px; }
  .odeme-tutar { font-weight: 700; color: #34d399; min-width: 90px; text-align: right; }
  .odeme-del   { background: none; border: none; cursor: pointer; color: #f87171; font-size: 14px; padding: 2px 6px; border-radius: 4px; }
  .odeme-del:hover { background: rgba(239,68,68,0.15); }
  .odeme-add-form { display: grid; grid-template-columns: 1fr auto auto auto auto; gap: 8px; align-items: end; }
  .odeme-add-form input, .odeme-add-form select { padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; background: var(--bg); color: var(--text); }
  .odeme-summary {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    background: var(--bg); border: 1px solid var(--card-border);
    border-radius: 12px; padding: 14px; margin-bottom: 12px;
  }
  .odeme-summary .pl-item span.orange { color: #fb923c; }

  /* CIRO STATS */
  .ciro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
  }
  .ciro-card {
    background: var(--card);
    backdrop-filter: blur(20px);
    border-radius: 14px;
    padding: 18px 20px;
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s;
  }
  .ciro-card:hover { border-color: rgba(255,255,255,0.12); box-shadow: var(--glow-sm); }
  .ciro-icon { font-size: 28px; }
  .ciro-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
  .ciro-value { font-size: 20px; font-weight: 700; color: var(--text-bright); }
  .ciro-value.green { color: #34d399; }
  .ciro-value.red   { color: #f87171; }
  .ciro-value.blue  { color: var(--primary); }

  /* TIMELINE */
  .timeline { list-style: none; padding: 0; margin: 0; position: relative; }
  .timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--accent), var(--border));
  }
  .timeline-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 16px;
    position: relative;
  }
  .timeline-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    border: 2px solid var(--bg-secondary);
    box-shadow: 0 0 0 2px var(--text-muted);
    margin-top: 3px;
    flex-shrink: 0;
    z-index: 1;
  }
  .timeline-dot.first { background: var(--success); box-shadow: 0 0 0 2px var(--success), 0 0 8px rgba(16,185,129,0.4); }
  .timeline-dot.last  { background: var(--accent); box-shadow: 0 0 0 2px var(--accent), 0 0 8px var(--accent-glow); }
  .timeline-content { flex: 1; }
  .timeline-durum { font-size: 13px; font-weight: 600; color: var(--text-bright); }
  .timeline-tarih { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }

  /* BELGELER */
  .belge-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
  .belge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13px;
  }
  .belge-icon { font-size: 18px; }
  .belge-name { flex: 1; font-weight: 500; color: var(--text); }
  .belge-tur { font-size: 11px; color: var(--text-muted); background: rgba(255,255,255,0.06); border-radius: 6px; padding: 2px 6px; }
  .belge-tarih { font-size: 11px; color: var(--text-muted); }
  .belge-del { background: none; border: none; cursor: pointer; color: #f87171; font-size: 14px; padding: 2px 6px; border-radius: 4px; }
  .belge-del:hover { background: rgba(239,68,68,0.15); }
  .belge-add-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    align-items: end;
  }
  .belge-add-form select, .belge-add-form input {
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    background: var(--bg);
    color: var(--text);
  }

  /* CHECKLIST */
  .checklist-section { margin-top: 8px; }
  .checklist-grup { margin-bottom: 14px; }
  .checklist-grup-title {
    font-size: 12px; font-weight: 700; color: var(--primary);
    text-transform: uppercase; letter-spacing: 0.04em;
    margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
  }
  .checklist-items { display: flex; flex-direction: column; gap: 4px; }
  .checklist-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px; border-radius: 10px;
    border: 1px solid var(--border); background: var(--bg);
    font-size: 13.5px; transition: all 0.2s;
    color: var(--text);
  }
  .checklist-item:hover { border-color: rgba(255,255,255,0.12); }
  .checklist-item.done { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.2); }
  .checklist-item.done .check-label { text-decoration: line-through; color: var(--text-muted); }
  .checklist-item input[type="checkbox"] {
    width: 18px; height: 18px; cursor: pointer; accent-color: var(--success);
    flex-shrink: 0;
  }
  .check-label { flex: 1; cursor: pointer; font-weight: 500; }
  .check-tarih { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
  .check-del { background: none; border: none; cursor: pointer; color: #f87171; font-size: 13px; padding: 2px 6px; border-radius: 4px; opacity: 0.5; }
  .check-del:hover { background: rgba(239,68,68,0.15); opacity: 1; }
  .checklist-add-form {
    display: flex; gap: 8px; align-items: end; margin-top: 10px;
  }
  .checklist-add-form select, .checklist-add-form input {
    padding: 7px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; background: var(--bg); color: var(--text);
  }
  .checklist-add-form input { flex: 1; }
  .checklist-progress {
    display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  }
  .checklist-progress .progress-bar-wrap { flex: 1; height: 8px; }
  .checklist-progress .progress-text { font-size: 12px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
  .checklist-progress .progress-bar-fill.complete { background: var(--success); }

  .kanban-progress { margin-top: 6px; }
  .kanban-progress .progress-bar-wrap { height: 4px; }
  .kanban-progress .progress-bar-fill.complete { background: var(--success); }
  .kanban-progress-text { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

  /* CSV IMPORT MODAL */
  .import-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 200;
    align-items: center;
    justify-content: center;
  }
  .import-overlay.open { display: flex; }
  .import-box {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    width: 100%;
    max-width: 560px;
    padding: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--glow-md);
  }
  .import-box h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--text-bright); }
  .import-box p  { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
  .import-drop {
    border: 2px dashed rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 36px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 16px;
    background: var(--bg);
  }
  .import-drop:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.03); box-shadow: var(--glow-sm); }
  .import-drop-icon { font-size: 36px; margin-bottom: 10px; }
  .import-drop-text { font-size: 14px; color: var(--text-muted); }
  .import-preview {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 16px;
    display: none;
  }
  .import-preview table { width: 100%; border-collapse: collapse; font-size: 12px; color: var(--text); }
  .import-preview th { background: rgba(255,255,255,0.04); color: var(--text-bright); padding: 6px 10px; text-align: left; border-bottom: 1px solid var(--border); position: sticky; top: 0; }
  .import-preview td { padding: 5px 10px; border-bottom: 1px solid var(--border); }
  .import-info { font-size: 13px; color: #16a34a; font-weight: 500; margin-bottom: 12px; display: none; }
