/* NursingCare+ V1.61 dashboard — compact 4x2 professional layout */
#dashboardPage{padding:22px 28px 28px!important;background:linear-gradient(135deg,#f9fcff 0%,#f2f8fc 48%,#f7f5fb 100%)!important;min-height:calc(100vh - 66px)!important;overflow:auto!important}
#dashboardPage>.head{max-width:1280px!important;padding-top:8px!important;display:flex;align-items:end;justify-content:space-between;gap:20px}
#dashboardPage>.head h1{font-size:27px;margin:0 0 4px}.nc-date{font-size:12px;font-weight:800;color:#668091;background:#ffffffb8;border:1px solid #dce8ef;padding:8px 12px;border-radius:999px;box-shadow:0 4px 14px #29475a0d}
.nc-kpis161{max-width:1280px;margin:16px auto 14px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;position:relative;z-index:2}
.nc-kpis161 button{border:1px solid #dce8ef;background:#ffffffd9;border-radius:16px;padding:11px 15px;text-align:left;box-shadow:0 6px 18px #28445c0c;cursor:pointer;display:flex;align-items:center;gap:11px;transition:.15s ease}.nc-kpis161 button:hover{transform:translateY(-2px);box-shadow:0 10px 24px #28445c16}.nc-kpis161 span{font-size:22px;font-weight:900;color:#17445e;min-width:30px}.nc-kpis161 small{font-size:11px;font-weight:800;color:#6c8190}
#dashboardPage .modulegrid{max-width:1280px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 auto!important}
#dashboardPage .module{min-height:142px!important;border-radius:22px!important;padding:20px 15px!important;box-shadow:0 8px 24px #28445c10!important}
#dashboardPage .module:hover{transform:translateY(-4px) scale(1.005)!important;box-shadow:0 15px 30px #28445c1c!important}
#dashboardPage .module .mi{width:44px!important;height:44px!important;margin-bottom:6px!important}#dashboardPage .module .mi svg{width:39px!important;height:39px!important}#dashboardPage .module b{font-size:16px!important}#dashboardPage .module small{font-size:10.5px!important;line-height:1.25!important;margin-top:5px!important}
.wound-badge54{pointer-events:auto!important;z-index:99!important;cursor:pointer!important}.wound-badge54:hover{transform:translateY(-2px) scale(1.03)!important;box-shadow:0 5px 13px #8d620035!important}
@media(max-width:1050px){#dashboardPage .modulegrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}@media(max-width:760px){#dashboardPage .modulegrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.nc-kpis161{grid-template-columns:1fr}#dashboardPage{padding:18px!important}}@media(max-width:520px){#dashboardPage .modulegrid{grid-template-columns:1fr!important}}

/* V1.70 - Fond d'écran du tableau de bord */
#dashboardPage{
  background-image: linear-gradient(rgba(245,250,255,.64),rgba(245,250,255,.64)), url('dashboard_background.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat !important;
}
#dashboardPage::before,#dashboardPage::after{display:none !important;}
#dashboardPage .module-card,
#dashboardPage .dash-card,
#dashboardPage .nc-kpi,
#dashboardPage .stat-card{
  backdrop-filter: blur(3px);
}
