.db-widget {
  background: #3b3d4a;
  border: 1px solid #2e3250;
  box-shadow: 5px 5px 8px rgb(40 40 40 / 20%), -3px -3px 6px #393939;
  -webkit-box-shadow: 5px 5px 8px rgb(40 40 40 / 20%), -3px -3px 6px #393939;
  -moz-box-shadow: 5px 5px 8px rgb(40 40 40 / 20%), -3px -3px 6px #393939;
  border-radius: 10px;
  padding: 20px;
  color: #f1f1f1;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.db-widget .title {
  font-size: 18px;
  font-weight: 600;
  color: #7a84ff;
  border-left: 4px solid #6b7cff;
  padding-left: 8px;
  margin-bottom: 18px;
}

.stat-box {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.stat-card {
  flex: 1 1 calc(25% - 10px);
  min-width: 150px;
  background: #40424e;
  border-radius: 10px;
  text-align: center;
  padding: 14px 5px;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-3px);
  background: #343642;
}

.stat-card .label {
  font-size: 14px;
  color: #b9bfff;
  display: block;
  margin-bottom: 5px;
}
.stat-card .value {
  font-size: 22px;
  font-weight: 700;
  display: block;
}
.value.green { color: #00e6a7; }
.value.blue { color: #6b7cff; }
.value.red { color: #ff4c4c; }
.value.yellow { color: #ffcc00; }

.update-time {
  font-size: 12px;
  color: #888;
  margin-top: 10px;
  text-align: right;
}
#mtTrendChart {
   width: 100% !important;
   height: 5px !important;  /* ✅ 고정 높이 지정 */
   display: block;
   margin-top: 20px;
}
.db-widget {
   position: relative;
   overflow: hidden; /* ✅ 캔버스가 박스 밖으로 밀리는 것 방지 */
}
