* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.badge {
  color: #38bdf8;
  font-weight: bold;
  text-transform: uppercase;
}

.hero {
  margin-bottom: 32px;
}

.hero h1 {
  margin-bottom: 12px;
}

.hero-actions {
  margin-top: 20px;
}

.hero-actions a {
  display: inline-block;
  margin-right: 12px;
  padding: 10px 16px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 6px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.card {
  background: #1e293b;
  padding: 20px;
  border-radius: 10px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#refreshEvents {
  padding: 8px 14px;
  cursor: pointer;
}

.summary {
  margin: 20px 0;
  color: #93c5fd;
}

.events {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event {
  background: #0f172a;
  border-left: 4px solid #38bdf8;
  padding: 12px;
  border-radius: 4px;
}

.event-title {
  font-weight: bold;
}

.event-time {
  color: #94a3b8;
  font-size: 0.9rem;
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-form select,
.demo-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #e2e8f0;
}

.demo-form button,
#refreshEvents {
  width: fit-content;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  background: #2563eb;
  color: white;
  cursor: pointer;
}

.response-box {
  white-space: pre-wrap;
  background: #020617;
  color: #dbeafe;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
}

.pipeline {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: #020617;
  border: 1px solid #334155;
}
