
/* JOVIK 4.1.6 — Mijn Jovik dashboard fix */

/*
   Previous design layers caused dashboard shortcuts/stat tiles
   to inherit white text while their backgrounds stayed white.
   Scope all repairs strictly to the dashboard.
*/

.dashboard-head-v41{
  color:#fff!important;
}

.dashboard-head-v41 h1,
.dashboard-head-v41 h2,
.dashboard-head-v41 h3,
.dashboard-head-v41 p,
.dashboard-head-v41 span,
.dashboard-head-v41 strong,
.dashboard-head-v41 b{
  visibility:visible!important;
  opacity:1!important;
}

/* Dashboard action buttons */
.dashboard-head-v41 .hero-actions{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}

.dashboard-head-v41 .hero-actions .btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  padding:11px 16px!important;
  border-radius:13px!important;
  font-weight:800!important;
  line-height:1!important;
  opacity:1!important;
  visibility:visible!important;
  white-space:nowrap!important;
}

.dashboard-head-v41 .hero-actions .btn.ghost{
  background:#fff!important;
  color:#2d2140!important;
  border:1px solid rgba(255,255,255,.9)!important;
  box-shadow:0 7px 22px rgba(0,0,0,.10)!important;
}

.dashboard-head-v41 .hero-actions .btn.ghost:hover{
  background:#f1ecff!important;
  color:#5e2ce6!important;
  transform:translateY(-1px)!important;
}

.dashboard-head-v41 .hero-actions .btn.primary{
  background:linear-gradient(135deg,#7040ff,#5b24e6)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 10px 26px rgba(91,36,230,.30)!important;
}

.dashboard-head-v41 .hero-actions .btn.primary:hover{
  transform:translateY(-1px)!important;
}

/* Stat tiles directly below dashboard header */
.dashboard-head-v41 + .stat-grid,
.stat-grid-v41{
  gap:14px!important;
}

.stat-grid-v41 .stat,
.dashboard-head-v41 + .stat-grid .stat{
  background:#fff!important;
  color:#171522!important;
  border:1px solid #e3ddec!important;
  border-radius:18px!important;
  box-shadow:0 10px 28px rgba(35,22,55,.08)!important;
  padding:20px!important;
  min-height:110px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}

.stat-grid-v41 .stat strong,
.dashboard-head-v41 + .stat-grid .stat strong{
  color:#6530ee!important;
  font:800 30px/1 Manrope,sans-serif!important;
  opacity:1!important;
  visibility:visible!important;
  display:block!important;
}

.stat-grid-v41 .stat span,
.dashboard-head-v41 + .stat-grid .stat span{
  color:#625d6a!important;
  font-size:11px!important;
  font-weight:800!important;
  text-transform:uppercase!important;
  letter-spacing:.055em!important;
  margin-top:8px!important;
  opacity:1!important;
  visibility:visible!important;
}

/* Any icon contained in a white dashboard action tile */
.dashboard-head-v41 .hero-actions .btn svg,
.dashboard-head-v41 .hero-actions .btn i{
  color:currentColor!important;
  fill:currentColor!important;
  opacity:1!important;
}

/* Notification badge */
.dashboard-head-v41 .hero-actions .badge,
.dashboard-head-v41 .hero-actions [class*="badge"]{
  color:#fff!important;
  background:#ff3e70!important;
}

/* Avoid global button CSS from turning dashboard shortcut text invisible */
.dashboard-head-v41 button,
.dashboard-head-v41 a{
  text-shadow:none!important;
  -webkit-text-fill-color:currentColor!important;
}

/* Keep links in dashboard content readable */
.dashgrid .card,
.dashgrid .panel,
.dashgrid .mini{
  color:#1a1721!important;
}

.dashgrid .mini b,
.dashgrid .mini strong{
  color:#1a1721!important;
  opacity:1!important;
}

.dashgrid .mini span,
.dashgrid .mini small{
  color:#77717d!important;
  opacity:1!important;
}

@media(max-width:760px){
  .dashboard-head-v41 .hero-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    width:100%!important;
  }
  .dashboard-head-v41 .hero-actions .btn{
    width:100%!important;
  }
}

@media(max-width:480px){
  .dashboard-head-v41 .hero-actions{
    grid-template-columns:1fr!important;
  }
}
