:root{
  --card-radius: 18px;
}
body{background:#f6f7fb;}
.navbar .nav-link{border-radius:12px;}
.navbar .nav-link.active{background:#111;color:#fff !important;}
.card{border:0;border-radius:var(--card-radius);box-shadow:0 6px 18px rgba(0,0,0,.06);}
.btn{border-radius:14px;}
.form-control, .form-select{border-radius:14px;}
.table{vertical-align:middle;}
.dataTables_wrapper .dataTables_filter input{border-radius:14px!important;}
.select2-container--default .select2-selection--single{border-radius:14px;height:38px;}
.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:38px;}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:38px;}
.kpi{display:flex;gap:12px;align-items:flex-start;}
.kpi .icon{width:42px;height:42px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#111;color:#fff;}
.service-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;}
.service-card{cursor:pointer;user-select:none;border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:12px;background:#fff;transition:all .12s ease;}
.service-card:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(0,0,0,.08);}
.service-card.selected{border-color:#111;outline:2px solid rgba(17,17,17,.15);}
.badge-soft{background:rgba(17,17,17,.08);color:#111;border-radius:999px;}
.icon-chip{
  width:44px;height:44px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  background:#fff;border:1px solid rgba(0,0,0,.08);
}
.service-card{
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:12px;
  cursor:pointer;
  background:#fff;
  transition:all .12s ease;
  user-select:none;
}
.service-card:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(0,0,0,.08);}
.service-card.active{background:#111;color:#fff;border-color:#111;}

/* Modern KPI cards */
.stat-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:20px;
  padding:14px 14px;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
  transition:transform .15s ease, box-shadow .15s ease;
  min-height:78px;
}
.stat-card:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(15,23,42,.10);
}
.stat-label{font-size:.78rem;color:#6b7280;font-weight:600;letter-spacing:.2px}
.stat-value{font-size:1.25rem;font-weight:800;line-height:1.1;color:#0f172a;margin-top:6px}
.stat-sub{font-size:.78rem;color:#94a3b8;margin-top:6px;display:flex;gap:.4rem;align-items:center}
.stat-icon{
  width:44px;height:44px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(15,23,42,.08);
  flex:0 0 auto;
}
.stat-icon i{font-size:1.2rem}
.bg-soft-success{background:rgba(16,185,129,.12); color:#059669}
.bg-soft-primary{background:rgba(59,130,246,.12); color:#2563eb}
.bg-soft-warning{background:rgba(245,158,11,.14); color:#b45309}
.bg-soft-purple{background:rgba(139,92,246,.14); color:#6d28d9}


.stat-card-sm{padding:12px 12px; min-height:72px;}
.stat-card-sm .stat-value{font-size:1.15rem;}

/* DataTables alt boşluklarını sıkılaştır */
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate{padding-top:.35rem !important;}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter{margin-bottom:.4rem;}
.dataTables_wrapper .row{margin-left:0;margin-right:0;}
.dataTables_wrapper .row > div{padding-left:0;padding-right:0;}
.table-responsive{margin-bottom:0;}
.stat-icon-soft{
  width:44px;height:44px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(2,132,199,.10);
  color:#0284c7;
  flex:0 0 auto;
}

/* Dashboard enhancements */
.page-title{font-size:1.45rem;font-weight:800;color:#0f172a;letter-spacing:-.2px}
.page-subtitle{color:#64748b;font-size:.92rem}
.trend-badge{
  display:inline-flex;align-items:center;gap:.25rem;
  padding:.15rem .5rem;border-radius:999px;
  font-weight:700;font-size:.72rem;
}
.trend-up{background:rgba(16,185,129,.12);color:#059669}
.trend-down{background:rgba(239,68,68,.12);color:#dc2626}
.trend-na{background:rgba(100,116,139,.12);color:#475569}
.card-title-sm{font-size:.95rem;font-weight:800;color:#0f172a}
.card-sub{font-size:.78rem;color:#94a3b8}
