@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,1,0');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', sans-serif;
  background: transparent;
  padding: 0 8px;
}

.widget {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.09);
  overflow: hidden;
}

/* ── Header ── */
.widget-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px 16px;
}

.header-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-icon img {
  width: 22px;
  opacity: 0.75;
}

.header-text {
  flex: 1;
  min-width: 0;
}

.header-text h2 {
  font-size: 25px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-text p {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #16a34a;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}

/* ── Stats row ── */
.stats-row {
  display: flex;
  margin: 0 16px 16px;
  background: #f8fafc;
  border-radius: 14px;
}

.stat-item {
  flex: 1;
  padding: 12px 0;
  text-align: center;
  position: relative;
}

.stat-item+.stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #e2e8f0;
}

.stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1;
}

.stat-unit {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 400;
}

/* ── Footer ── */
.widget-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px 16px;
  border-top: 1px solid #f1f5f9;
}

.footer-time {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #94a3b8;
}

.footer-time .material-symbols-rounded {
  font-size: 14px;
}

.footer-logo {
  height: 18px;
  opacity: 0.3;
}
