
/* Dashboard V3 (Mobile-first) - isolated styles */
.dashboard-v3{
  padding: 14px 14px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.dashboard-v3 .dv3-section{ margin-top: 14px; }

/* HERO */
.dv3-hero{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 170px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .12);
  background: #0b2a4a;
}
.dv3-hero__bg{
  position:absolute; inset:0;
  background-image: var(--dv3-hero-img);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  transform: scale(1.02);
}
.dv3-hero__veil{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(10,24,40,.20) 0%, rgba(10,24,40,.65) 75%, rgba(10,24,40,.78) 100%);
}
.dv3-hero__content{
  position:relative;
  padding: 18px 16px 16px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  min-height: 170px;
}
.dv3-hero__pill{
  background: rgba(255, 200, 38, .92);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 14px 18px 12px;
  text-align:center;
  min-width: 220px;
  box-shadow: 0 10px 20px rgba(0,0,0,.18);
}
.dv3-hero__value{
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  color: #0b2a4a;
  letter-spacing: .5px;
}
.dv3-hero__label{
  margin-top: 8px;
  display:inline-block;
  background:#fff;
  color:#0b2a4a;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
}

/* KPI (stack/grid) */
.dv3-kpi-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 2px 2px 0;
}
.dv3-kpi-title h3{
  margin:0;
  font-size: 16px;
  font-weight: 900;
  color: #0b2a4a;
}
.dv3-kpi-title .dv3-hint{
  font-size: 12px;
  color: rgba(15, 23, 42, .55);
  font-weight: 700;
}

/*
  Mobile-first: stack cards vertically.
  Larger screens: switch to a tidy grid.
*/
.dv3-slider{
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 2px;
}
@media (min-width: 720px){
  .dv3-slider{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1080px){
  .dv3-slider{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.dv3-kpi{
  width: 100%;
  border-radius: 18px;
  overflow:hidden;
  position:relative;
  min-height: 122px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .10);
  background: #0b2a4a;
}

.dv3-kpi__bg{
  position:absolute; inset:0;
  background-image: var(--dv3-kpi-img);
  background-size: cover;
  background-position: center;
  filter: blur(1px) saturate(1.05);
  transform: scale(1.05);
}
.dv3-kpi__veil{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(10,24,40,.78) 0%, rgba(10,24,40,.55) 60%, rgba(10,24,40,.40) 100%);
}
.dv3-kpi__content{
  position:relative;
  padding: 14px 14px 12px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height: 122px;
}
.dv3-kpi__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
}
.dv3-kpi__icon{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.14);
  color:#fff;
  font-size: 18px;
}
.dv3-kpi__value{
  font-size: 34px;
  font-weight: 950;
  color:#fff;
  line-height: 1;
  letter-spacing: .3px;
}
.dv3-kpi__label{
  margin-top: 6px;
  font-size: 14px;
  font-weight: 900;
  color: rgba(255,255,255,.92);
}
.dv3-kpi__meta{
  margin-top: 10px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap: 8px;
}
.dv3-chip{
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  display:inline-flex;
  align-items:center;
  gap: 6px;
  background: rgba(255,255,255,.14);
  color:#fff;
}
.dv3-chip.is-ok{ background: rgba(34,197,94,.20); }
.dv3-chip.is-warn{ background: rgba(245,158,11,.22); }
.dv3-chip.is-danger{ background: rgba(239,68,68,.22); }

/* Cards for Tasks / Alerts (V3) */
.dv3-card{
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
  border: 1px solid rgba(15, 23, 42, .06);
  padding: 12px;
}
.dv3-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 4px 2px 10px;
}
.dv3-card__title{
  font-size: 15px;
  font-weight: 950;
  color: #0b2a4a;
}
.dv3-card__link{
  font-size: 12px;
  font-weight: 900;
  color: rgba(11, 42, 74, .80);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11, 42, 74, .06);
}
.dv3-card__link:hover{ background: rgba(11, 42, 74, .10); }

.dv3-empty{
  padding: 14px 10px;
  border-radius: 14px;
  background: rgba(15, 23, 42, .04);
  color: rgba(15, 23, 42, .65);
  font-weight: 800;
  font-size: 13px;
}

/* Tidy the existing list components inside the V3 dashboard */
.dashboard-v3 .gl-list{
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .06);
  background: rgba(248, 250, 252, 1);
}
.dashboard-v3 .gl-row{
  padding: 12px 12px;
}
.dashboard-v3 .gl-row + .gl-row{
  border-top: 1px solid rgba(15, 23, 42, .06);
}
.dashboard-v3 .gl-avatar{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(11, 42, 74, .08);
}
.dashboard-v3 .gl-row__title{
  font-weight: 900;
}
.dashboard-v3 .gl-row__sub{
  color: rgba(15, 23, 42, .55);
  font-weight: 700;
}
.dashboard-v3 .gl-chevron{
  opacity: .55;
  font-weight: 900;
}
