body {
  font-family: sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}

hr {
  margin: 60px auto;
  border: 1px solid #ccc;
  border-bottom: none;
}

.home-container {
  margin: 40px auto;
  max-width: 960px;
}

.header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 14px;
  color: #666;
}

.header input {
  border: none;
  margin-left: auto;
  background: none;
  text-decoration: underline;
  font-size: 14px;
  color: #666;
}

.header input:hover {
  cursor: pointer;
  color: #333;
  background: none;
}

pre {
  margin: 0
}

.webhooks-container {
  display: flex;
  padding: 20px;
}

.webhooks-list {
  margin-right: 20px;
  flex: 0 0 300px;
}

.webhooks-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.webhooks-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
  background: #f3f3f3;
  margin-bottom: 1px;
}

.webhooks-list a {
  color: #333;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

.delete-webhook-link {
  border: none;
  border-radius: 4px;
  background: #ccc;
  color: #f3f3f3;
  cursor: pointer;
}

.delete-webhook-link:hover {
  background: #aaa;
}

.webhooks-list li.active {
  background: #dfdfdf;
}

.webhooks-list li:hover {
  background: #eee;
  cursor: pointer;
}

.webhook-payload code {
  border-radius: 4px;
}

.payload-placeholder {
  color: #999;
  font-style: italic;
  padding: 20px;
}

.empty-state {
  color: #999;
  font-style: italic;
  padding: 10px;
  font-size: 14px;
}

.payload {
  flex: 1;
}

.webhook-topic-badge {
  display: block;
  font-size: 11px;
  color: #1a73e8;
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.webhook-timestamp {
  font-size: 13px;
}

.webhook-topic-header {
  background: #1a73e8;
  color: #fff;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: monospace;
  border-radius: 4px 4px 0 0;
  margin-bottom: 0;
}
