/* ============================================================
   VoltAlert — In-phone app mockups v2 (Premium Flat Slate)
   Same palette as app UI v2. Uses slate surfaces, muted accents.
   ============================================================ */

.mock {
  font-family: 'Inter', system-ui, sans-serif;
  color: #F2F5FA;
  background: #262B36;
  height: 100%;
  width: 100%;
  display: flex; flex-direction: column;
  font-size: 10px;
  overflow: hidden;
}

.mock .statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px 6px;
  font-size: 11px; font-weight: 600; color: #F2F5FA;
  letter-spacing: -.01em;
}
.mock .statusbar .right { display: flex; gap: 5px; align-items: center; }
.mock .statusbar .right svg { width: 14px; height: 10px; fill: #F2F5FA; }

.mock .h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: #F2F5FA;
  letter-spacing: -.025em;
  padding: 0 18px 12px;
  font-size: 22px;
}
.mock .header-wrap { border-bottom: 1px solid rgba(255,255,255,0.05); }

.mock .body {
  flex: 1; overflow: hidden;
  padding: 12px 14px 16px;
  background: linear-gradient(180deg, #2A313D 0%, #242A35 100%);
}

/* KPI cards grid */
.mock .kpi-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mock .kpi-card {
  background: linear-gradient(180deg, #353E50 0%, #2D3442 100%);
  border: 1px solid rgba(255,255,255,0.035);
  border-radius: 12px;
  padding: 10px 11px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.mock .kpi-label {
  font-size: 9px; color: #8A95A8; font-weight: 500;
  display: flex; gap: 4px; align-items: center;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mock .kpi-val {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: 17px;
  line-height: 1.1;
}
.mock .kpi-val.lo { color: #FF6E6E; }
.mock .kpi-val.hi { color: #2BC98D; }
.mock .kpi-val.b  { color: #F2F5FA; }
.mock .kpi-val.bl { color: #4F8EF7; }
.mock .kpi-unit { font-size: 8.5px; color: #5D6878; margin-top: 2px; }

/* chart card */
.mock .chart-card {
  background: linear-gradient(180deg, #353E50 0%, #2D3442 100%);
  border: 1px solid rgba(255,255,255,0.035);
  border-radius: 12px;
  margin-top: 10px;
  padding: 12px 12px 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.mock .chart-title {
  font-weight: 600;
  font-size: 11px; color: #D7DCE6;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.mock .bars {
  display: flex; gap: 2px; height: 90px; align-items: flex-end;
}
.mock .bars .bar {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 2px 2px 0 0;
  min-height: 4px;
}
.mock .bars .bar.b { background: linear-gradient(180deg, #4F8EF7, rgba(79,142,247,0.3)); }
.mock .bars .bar.r { background: linear-gradient(180deg, #FF6E6E, rgba(255,110,110,0.3)); }
.mock .bars .bar.g { background: linear-gradient(180deg, #2BC98D, rgba(43,201,141,0.3)); }
.mock .bars .bar.v { background: linear-gradient(180deg, #A48AFB, rgba(164,138,251,0.3)); }
.mock .xaxis {
  display: flex; justify-content: space-between;
  margin-top: 5px;
  font-size: 8px; color: #5D6878;
}

/* list items */
.mock .list {
  background: linear-gradient(180deg, #353E50 0%, #2D3442 100%);
  border: 1px solid rgba(255,255,255,0.035);
  border-radius: 12px;
  margin-top: 10px;
  overflow: hidden;
}
.mock .li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 11px;
}
.mock .li:last-child { border-bottom: none; }
.mock .li .day { color: #F2F5FA; font-weight: 500; }
.mock .li .val { font-family: 'Sora', sans-serif; font-weight: 700; color: #4F8EF7; letter-spacing: -.02em; font-size: 12px; }
.mock .li .val small { font-weight: 400; color: #5D6878; font-size: 9px; margin-left: 2px; }

/* alerts list */
.mock .alert-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px;
  background: linear-gradient(180deg, #353E50 0%, #2D3442 100%);
  border: 1px solid rgba(255,255,255,0.035);
  border-radius: 12px;
  margin-bottom: 8px;
}
.mock .alert-head .lbl { font-size: 9.5px; color: #8A95A8; }
.mock .alert-head .thr { font-family: 'Sora', sans-serif; font-weight: 700; color: #4F8EF7; font-size: 12px; }

.mock .alert-item {
  display: grid; grid-template-columns: 28px 1fr auto;
  gap: 9px; align-items: center;
  padding: 9px 10px;
  background: linear-gradient(180deg, #353E50 0%, #2D3442 100%);
  border: 1px solid rgba(255,255,255,0.035);
  border-radius: 12px;
  margin-bottom: 6px;
}
.mock .alert-item .arrow {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 13px;
}
.mock .alert-item .arrow.down { background: rgba(79,142,247,0.14); color: #4F8EF7; }
.mock .alert-item .arrow.up   { background: rgba(255,110,110,0.14); color: #FF6E6E; }
.mock .alert-item .title { font-weight: 600; font-size: 10.5px; color: #F2F5FA; line-height: 1.2; }
.mock .alert-item .sub   { font-size: 9px; color: #8A95A8; margin-top: 2px; }
.mock .alert-item .sub b.blue { color: #4F8EF7; font-weight: 600; }
.mock .alert-item .sub b.red  { color: #FF6E6E; font-weight: 600; }
.mock .alert-item .time { font-size: 9px; color: #5D6878; text-align: right; line-height: 1.3; }

/* tab bar */
.mock .tabbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, #2A313D 0%, #242A35 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 8px 0 18px;
  font-size: 9px;
  text-align: center;
}
.mock .tab { color: #5D6878; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mock .tab.active { color: #4F8EF7; font-weight: 600; }
.mock .tab svg { width: 18px; height: 18px; }

.mock .section-title { font-size: 11px; color: #8A95A8; font-weight: 500; padding: 0 4px 6px; }

/* Profile mock */
.mock .prof-card {
  background: linear-gradient(180deg, #353E50 0%, #2D3442 100%);
  border: 1px solid rgba(255,255,255,0.035);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 8px;
}
.mock .prof-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10.5px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mock .prof-row:last-child { border-bottom: none; }
.mock .prof-row .name { color: #F2F5FA; font-weight: 500; }
.mock .switch {
  width: 28px; height: 16px; border-radius: 10px;
  background: #4F8EF7;
  position: relative;
  flex-shrink: 0;
}
.mock .switch::after {
  content: ""; position: absolute;
  top: 2px; right: 2px;
  width: 12px; height: 12px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.mock .switch.off { background: rgba(255,255,255,0.12); }
.mock .switch.off::after { right: auto; left: 2px; }

/* chips */
.mock .chips { display: flex; gap: 4px; flex-wrap: wrap; }
.mock .chip {
  font-size: 9px; font-weight: 500;
  padding: 4px 7px;
  border-radius: 99px;
  background: rgba(255,255,255,0.05);
  color: #8A95A8;
  display: flex; align-items: center; gap: 3px;
  border: 1px solid rgba(255,255,255,0.04);
}
.mock .chip.active { background: #4F8EF7; color: #fff; font-weight: 600; border-color: #4F8EF7; }

.mock .inp {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: 'Sora', sans-serif; font-weight: 600;
  font-size: 13px;
  color: #F2F5FA;
  margin-top: 4px;
}
.mock .lbl-tiny { font-size: 9px; color: #8A95A8; }

/* floating notif */
.mock-notif {
  font-family: 'SF Pro Text', system-ui, sans-serif;
  background: linear-gradient(145deg, rgba(50,58,74,0.92), rgba(40,46,60,0.92));
  color: #F2F5FA;
  border-radius: 14px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 9px; align-items: center;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,.55), 0 10px 30px rgba(79,142,247,.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 11.5px;
}
.mock-notif .mi {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: #4F8EF7;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.05em;
}
.mock-notif .mt { font-weight: 600; font-size: 11.5px; line-height: 1.2; color: #F2F5FA; }
.mock-notif .mb { font-size: 10.5px; color: #8A95A8; margin-top: 2px; line-height: 1.25; }
.mock-notif .mtm { font-size: 9.5px; color: #5D6878; align-self: flex-start; }
