.logs-page {
  padding: 16px;
  height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
}

.logs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.logs-title {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.ws-badge {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.08em;
}

.ws-badge--on { color: var(--neon-green); }
.ws-badge--off { color: var(--neon-red); }

.dot--sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}

.logs-table-wrap {
  flex: 1;
  overflow-y: auto;
}

.logs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
}

.logs-table th {
  text-align: left;
  color: var(--text-muted);
  padding: 6px 8px;
  border-bottom: 1px solid var(--bg-border);
  letter-spacing: 0.08em;
  position: sticky;
  top: 0;
  background: var(--bg);
}

.log-row {
  border-bottom: 1px solid var(--bg-border);
  transition: background 0.15s;
}

.log-row:hover {
  background: var(--bg-card);
}

.logs-table td {
  padding: 7px 8px;
  vertical-align: middle;
}

.td-time { color: var(--text-muted); white-space: nowrap; }
.td-ip { color: var(--neon-cyan); font-weight: bold; }
.td-loc { color: var(--text-muted); }
.td-path { color: var(--text-primary); word-break: break-all; }

.td-method { font-weight: bold; }
.method--get { color: var(--neon-green); }
.method--post { color: var(--neon-cyan); }
.method--put, .method--patch { color: #ffaa00; }
.method--delete { color: var(--neon-red); }

.td-status { font-weight: bold; }
.status--ok { color: var(--neon-green); }
.status--redirect { color: #ffaa00; }
.status--client-err { color: var(--neon-red); }
.status--server-err { color: #ff0044; }

.empty-msg {
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  padding: 40px 0;
}
