.button {
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  font-size: 10px;
  font-weight: 600;
}

.button-primary {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
}

.button-primary:hover {
  background: var(--blue-hover);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text-secondary);
}

.button-secondary:hover {
  background: var(--surface-soft);
}

.button-danger {
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
}

.demo-chip {
  font-size: 9px;
  letter-spacing: .8px;
  color: var(--amber);
  background: var(--amber-soft);
  border: 1px solid #f3e4c8;
  border-radius: 5px;
  padding: 7px 9px;
  font-weight: 700;
}

.welcome-panel {
  background: linear-gradient(112deg, #fff 0%, #f5f8ff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 29px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.welcome-kicker {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--blue);
  font-weight: 800;
}

.welcome-panel h2 {
  font-size: 20px;
  letter-spacing: -.4px;
  margin: 10px 0 8px;
  color: #1b2b46;
}

.welcome-panel p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 620px;
  margin: 0;
}

.welcome-symbol {
  width: 94px;
  height: 94px;
  border-radius: 26px;
  background: #eaf1ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 44px;
  font-weight: 800;
  transform: rotate(8deg);
  flex: none;
  margin-left: 25px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 28px 0 14px;
}

.section-heading h2 {
  font-size: 14px;
  margin: 0;
  color: #263650;
}

.section-heading p {
  font-size: 10px;
  color: #929cad;
  margin: 5px 0 0;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.module-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 17px;
  text-align: left;
  min-height: 108px;
  transition: .15s;
  box-shadow: var(--shadow-sm);
}

.module-card:hover {
  border-color: #b9cdf5;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.module-icon {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 14px;
  margin-bottom: 12px;
}

.module-card b {
  font-size: 11px;
  display: block;
  color: #2a3952;
}

.module-card > span:last-child {
  font-size: 9px;
  color: #8a96a8;
  display: block;
  margin-top: 5px;
  line-height: 1.5;
}

.notice {
  display: flex;
  gap: 11px;
  margin-top: 18px;
  padding: 13px 15px;
  background: var(--surface-soft);
  border: 1px solid #e5ebf7;
  border-radius: 8px;
  color: #6680aa;
}

.notice > span {
  font-size: 15px;
}

.notice b {
  display: block;
  font-size: 10px;
  color: #4b6288;
}

.notice p {
  font-size: 9px;
  color: #8392aa;
  margin: 4px 0 0;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .module-grid {
    grid-template-columns: 1fr;
  }

  .welcome-panel {
    padding: 22px;
  }

  .welcome-symbol {
    width: 58px;
    height: 58px;
    font-size: 28px;
    border-radius: 17px;
  }

  .welcome-panel h2 {
    font-size: 17px;
  }

  .heading-actions {
    flex-direction: column;
    align-items: flex-end;
  }
}


/* MAZBOY ADMIN Dashboard */
.dash-intro{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px 25px;box-shadow:var(--shadow-sm)}
.dash-intro h2{font-size:19px;margin:8px 0 5px;color:#1b2b46}
.dash-intro p{font-size:11px;color:var(--muted);margin:0}
.dash-live,.status-pill{font-size:9px;font-weight:700;color:#25845a;background:#eaf7ef;border-radius:20px;padding:7px 10px;white-space:nowrap}
.dash-live i,.health-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#27ae70;margin-right:6px}
.dash-section-title{display:flex;justify-content:space-between;align-items:center;margin:22px 0 11px}
.dash-section-title h3,.dash-panel h3{font-size:13px;color:#263650;margin:0}
.dash-section-title>span,.dash-panel-head>span{font-size:9px;color:#929cad}
.dash-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dash-kpi,.dash-panel{background:#fff;border:1px solid var(--line);border-radius:10px;padding:15px;box-shadow:var(--shadow-sm)}
.dash-kpi>span,.dash-metric span{display:block;font-size:10px;color:#77859a}
.dash-kpi>b{display:block;font-size:25px;color:#1d3152;margin:7px 0}
.dash-kpi small{font-size:9px;color:#929cad}
.dash-kpi small.good{color:#25845a}.dash-kpi small.warn{color:#bd812b}
.dash-health{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.dash-health>div{background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px;display:grid;grid-template-columns:10px 1fr;gap:5px;align-items:center}
.dash-health span{font-size:10px;color:#64748b}.dash-health b{grid-column:2;font-size:10px;color:#25845a}
.dash-health .warn-dot{background:#e4a13b}.dash-health .warn-dot+b{color:#bd812b}
.dash-columns{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:13px}
.dash-panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.dash-metric{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edf0f5}
.dash-metric:last-of-type{border-bottom:0}.dash-metric b{font-size:10px;color:#33445f;text-align:right}
.alert-count{color:#bd812b!important}.dash-alert,.dash-activity{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #edf0f5}
.dash-alert:last-child,.dash-activity:last-child{border-bottom:0}
.alert-icon{width:23px;height:23px;display:grid;place-items:center;border-radius:7px;font-weight:700;font-size:12px;flex:none}
.alert-icon.amber{background:#fff3df;color:#bd812b}.alert-icon.blue{background:#eaf1ff;color:var(--blue)}
.dash-alert b,.dash-activity b{font-size:10px;color:#33445f}.dash-alert p,.dash-activity p{font-size:9px;color:#929cad;margin:4px 0 0}
.dash-activity>i{width:8px;height:8px;background:#5285e8;border-radius:50%;margin:4px 2px 0}
.dash-disclaimer{font-size:9px;color:#929cad;margin:9px 0 0}
@media(max-width:850px){.dash-kpis,.dash-health{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.dash-columns{grid-template-columns:1fr}.dash-intro{align-items:flex-start;flex-direction:column}.dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
