/* VIBEX KINDERGARTEN DASHBOARD V5 */

.dashboard{
  border-radius:28px!important;
  overflow:hidden!important;
  box-shadow:0 25px 75px rgba(38,31,64,.12)!important;
  border:1px solid rgba(103,87,217,.08)!important;
  background:#fff!important;
}

.dash-nav{
  background:
    linear-gradient(180deg,#302a62 0%,#3c347e 54%,#493d88 100%)!important;
  padding:22px 14px!important;
}

.dash-nav>b{
  display:block;
  color:#fff!important;
  font-size:18px!important;
  padding:8px 12px 18px!important;
}

.dash-nav button{
  color:rgba(255,255,255,.78)!important;
  border-radius:13px!important;
  margin:3px 0!important;
  transition:.18s ease!important;
}

.dash-nav button:hover{
  background:rgba(255,255,255,.09)!important;
  color:#fff!important;
  transform:translateX(-2px);
}

.dash-nav button.active{
  color:#302a62!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(0,0,0,.13)!important;
  font-weight:800!important;
}

.dash-nav .dash-logout{
  margin-top:18px!important;
  background:rgba(255,255,255,.07)!important;
  color:#ffd9e0!important;
}

.dash-main{
  background:#faf9fd!important;
}

.dash-head{
  padding-bottom:8px!important;
}

.dash-head small{
  color:#756ca5!important;
  font-weight:700!important;
}

.dash-head h2{
  color:#29243d!important;
}

.stat-grid{
  gap:14px!important;
}

.stat-grid article{
  position:relative;
  overflow:hidden;
  border:1px solid #eee9f5!important;
  background:#fff!important;
  border-radius:20px!important;
  padding:20px!important;
  box-shadow:0 12px 32px rgba(43,37,64,.055)!important;
}

.stat-grid article::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:5px;
  height:100%;
  background:linear-gradient(#6757d9,#ec9bb6);
}

.stat-grid article:nth-child(2)::before{
  background:linear-gradient(#58bb98,#7ad1b5);
}

.stat-grid article:nth-child(3)::before{
  background:linear-gradient(#e5ae4d,#f2cf75);
}

.stat-grid article:nth-child(4)::before{
  background:linear-gradient(#65addc,#8bc8ec);
}

.stat-grid article b{
  color:#29243d!important;
  font-size:32px!important;
}

.stat-grid article small{
  color:#817a8d!important;
  font-weight:700!important;
}

.vbx-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:15px 0 20px;
}

.vbx-kpi{
  background:#fff;
  border:1px solid #ede8f3;
  border-radius:18px;
  padding:16px;
  box-shadow:0 10px 28px rgba(43,37,64,.05);
}

.vbx-kpi span{
  display:block;
  color:#817a8d;
  font-size:12px;
  margin-bottom:7px;
}

.vbx-kpi strong{
  display:block;
  color:#302a62;
  font-size:23px;
}

.vbx-kpi small{
  display:block;
  color:#9a94a5;
  margin-top:5px;
}

.dash-panels{
  gap:15px!important;
}

.dash-panels>article,
.admin-card{
  background:#fff!important;
  border:1px solid #eee9f4!important;
  border-radius:20px!important;
  box-shadow:0 12px 33px rgba(43,37,64,.05)!important;
}

.panel-title{
  margin-bottom:16px!important;
}

.panel-title h2{
  color:#29243d!important;
}

.panel-title small{
  color:#776fa3!important;
  font-weight:700!important;
}

.panel-toolbar,
.vbx-att-tools{
  background:#fff!important;
  border:1px solid #ebe6f2!important;
  border-radius:17px!important;
  padding:12px!important;
  box-shadow:0 8px 25px rgba(43,37,64,.035);
}

.data-table{
  overflow:hidden;
  border:1px solid #ede8f3;
  border-radius:17px;
  background:#fff;
}

.data-row{
  transition:.15s ease;
}

.data-row:not(.header):hover{
  background:#fbf9ff!important;
}

.data-row.header{
  background:#f3f0fa!important;
  color:#554c72!important;
  font-weight:800!important;
}

.data-row .primary b{
  color:#29243d!important;
}

.mini-btn{
  border-radius:9px!important;
}

.attendance-summary-v4{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}

.attendance-summary-v4>div{
  border-radius:17px!important;
  border:1px solid #eee9f4!important;
  background:#fff!important;
  box-shadow:0 9px 25px rgba(43,37,64,.04);
}

.attendance-summary-v4 b{
  font-size:27px!important;
}

.billing-grid{
  gap:16px!important;
}

.invoice-form{
  border-top:4px solid #6757d9!important;
}

.invoices-card{
  border-top:4px solid #e8b65e!important;
}

.vbx-finance-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:0 0 18px;
}

.vbx-finance-card{
  padding:16px;
  border-radius:17px;
  background:#fff;
  border:1px solid #ede8f3;
  box-shadow:0 9px 25px rgba(43,37,64,.045);
}

.vbx-finance-card span{
  display:block;
  color:#817a8d;
  font-size:12px;
  margin-bottom:6px;
}

.vbx-finance-card strong{
  color:#302a62;
  font-size:22px;
}

.vbx-system-banner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin-bottom:16px;
  padding:14px 17px;
  border-radius:17px;
  color:#fff;
  background:
    linear-gradient(110deg,#342d73,#6757d9 56%,#c883a2);
  box-shadow:0 12px 30px rgba(74,61,145,.16);
}

.vbx-system-banner strong{
  display:block;
  font-size:15px;
}

.vbx-system-banner small{
  color:rgba(255,255,255,.79);
}

.vbx-live-dot{
  width:9px;
  height:9px;
  display:inline-block;
  border-radius:50%;
  background:#7ce5af;
  box-shadow:0 0 0 6px rgba(124,229,175,.15);
  margin-left:8px;
}

@media(max-width:1050px){
  .vbx-kpi-grid,
  .vbx-finance-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:650px){
  .vbx-kpi-grid,
  .vbx-finance-strip,
  .attendance-summary-v4{
    grid-template-columns:1fr 1fr!important;
  }

  .vbx-system-banner{
    align-items:flex-start;
    flex-direction:column;
  }
}
