.ultraguard-traffic-monitor-page {
    --ug-traffic-accent: #0f4c81;
    --ug-traffic-soft: #eef6ff;
}

#traffic-monitor-table .badge {
    font-weight: 600;
}

.ultraguard-traffic-live {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ultraguard-traffic-uri {
    max-width: 460px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Traffic Monitor mobile fixes ─────────────────────────────── */
@media screen and (max-width: 1024px) {
  .tm-live-controls {
    flex-wrap: wrap;
    gap: 10px;
  }

  .tm-filter-row {
    flex-direction: column;
    gap: 8px;
  }

  .tm-filter-row > * {
    width: 100%;
  }
}

@media screen and (max-width: 782px) {
  .tm-stat-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .tm-chart-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tm-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tm-ip-cell {
    font-size: 11px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tm-uri-cell {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media screen and (max-width: 480px) {
  .tm-stat-row {
    grid-template-columns: 1fr;
  }
}
