/* Përmbledhja · stili Business Central (Activities + tile-et e gjelbërta).
   Ngarkohet i fundit. Vetëm stil: nuk ndryshon logjikën. */

.dashboard-page{font-family:"Segoe UI",system-ui,sans-serif;color:#212121;}

/* Koka: titulli dhe veprimi si tekst */
.dashboard-page .dash-head{display:flex;justify-content:space-between;align-items:flex-end;padding:0 0 10px;border-bottom:1px solid #e1e1e1;margin-bottom:14px;background:transparent;box-shadow:none;}
.dashboard-page .dash-head > div > span{display:none;}
.dashboard-page .dash-head h1{font-size:24px;font-weight:400;margin:0 0 2px;color:#212121;}
.dashboard-page .dash-head p{font-size:13px;color:#4a4a4a;margin:0;}
.dashboard-page .dash-btn{background:transparent;border:0;color:#00737a;font-weight:600;font-size:14px;padding:6px 10px;box-shadow:none;}
.dashboard-page .dash-btn:hover{background:#f0f0f0;}

/* Shiritat e navigimit lokal: skeda BC */
.dashboard-page .r4-dashboard-tabs{display:flex;gap:2px;border-bottom:1px solid #e1e1e1;margin-bottom:14px;overflow-x:auto;}
.dashboard-page .r4-dashboard-tabs a{padding:8px 12px;font-size:14px;color:#212121;text-decoration:none;border-bottom:3px solid transparent;white-space:nowrap;}
.dashboard-page .r4-dashboard-tabs a:first-child{color:#00737a;border-bottom-color:#00737a;font-weight:600;}
.dashboard-page .r4-dashboard-tabs a:hover{background:#f5f5f5;}

/* Activities: numrat e mëdhenj, pa kartela dekorative, me "Shiko më shumë" */
.dashboard-page .dash-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid #e1e1e1;background:#fff;margin-bottom:18px;}
.dashboard-page .dash-kpi-card{background:#fff;border:0;border-right:1px solid #e1e1e1;border-radius:0;box-shadow:none;padding:14px 16px 12px;display:flex;flex-direction:column;gap:2px;}
.dashboard-page .dash-kpi-card:last-child{border-right:0;}
.dashboard-page .dash-kpi-card > span{font-size:12px;color:#4a4a4a;font-weight:400;}
.dashboard-page .dash-kpi-card > b{font-size:30px;font-weight:300;color:#212121;line-height:1.15;}
.dashboard-page .dash-kpi-card > small{font-size:12px;color:#00737a;}
.dashboard-page .dash-kpi-card > small::after{content:" →";}
.dashboard-page .dash-kpi-card.month-card > b{font-size:30px;}
/* Shiriti i gjelbër nën numrin, si në BC */
.dashboard-page .dash-kpi-card{position:relative;}
.dashboard-page .dash-kpi-card::after{content:"";position:absolute;left:16px;right:16px;bottom:0;height:3px;background:#e1e1e1;}
.dashboard-page .dash-kpi-card.seven-card::after,.dashboard-page .dash-kpi-card.sales-today-card::after{background:#00737a;}

/* Tile-et e gjelbërta (Ongoing Sales) */
.dashboard-page .bc-tile-group{margin-bottom:18px;}
.dashboard-page .bc-tile-group-head{display:flex;align-items:baseline;gap:10px;border-bottom:1px solid #e1e1e1;padding-bottom:6px;margin-bottom:10px;}
.dashboard-page .bc-tile-group-head b{font-size:16px;font-weight:600;color:#212121;}
.dashboard-page .bc-tile-group-head small{font-size:12px;color:#4a4a4a;}
.dashboard-page .bc-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;}
.dashboard-page .bc-tile{display:flex;flex-direction:column;justify-content:space-between;min-height:104px;padding:10px 12px;background:#e9edef;color:#212121;text-decoration:none;border-radius:0;}
.dashboard-page .bc-tile.teal{background:#00737a;color:#fff;}
.dashboard-page .bc-tile span{font-size:12px;font-weight:600;line-height:1.25;}
.dashboard-page .bc-tile b{font-size:28px;font-weight:300;line-height:1.1;}
.dashboard-page .bc-tile small{font-size:12px;opacity:.95;}
.dashboard-page .bc-tile:hover{filter:brightness(.95);text-decoration:none;}

/* Panelet dhe tabelat: të sheshta */
.dashboard-page :is(.r7-insight-panel,.dash-card,.sales7-compact-card){background:#fff!important;border:1px solid #e1e1e1!important;border-radius:0!important;box-shadow:none!important;}
.dashboard-page .r7-insight-title strong,.dashboard-page .dash-card-head b{font-size:15px;font-weight:600;color:#212121;}
.dashboard-page .r7-insight-title span,.dashboard-page .dash-card-head small{font-size:12px;color:#4a4a4a;}
.dashboard-page .dash-table thead th{background:#f3f2f1;color:#4a4a4a;font-size:12px;font-weight:600;border-bottom:1px solid #c8c8c8;}
.dashboard-page .dash-table tbody td{font-size:13px;border-bottom:1px solid #edebe9;}
.dashboard-page .dash-table tbody tr:hover td{background:#f5f9f9;}
.dashboard-page .r7-chart-bar,.dashboard-page .sales7-fill,.dashboard-page .r7-rank-track i{background:#00737a!important;}
.dashboard-page .r7-rank-track{background:#edebe9;}

@media (max-width:900px){
  .dashboard-page .dash-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .dashboard-page .dash-kpi-card:nth-child(2){border-right:0;}
  .dashboard-page .dash-kpi-card:nth-child(-n+2){border-bottom:1px solid #e1e1e1;}
}
@media (max-width:560px){
  .dashboard-page .dash-kpi-card > b{font-size:24px;}
  .dashboard-page .bc-tiles{grid-template-columns:1fr 1fr;}
}
