/* --------------------------------------------------
   GLOBAL RESET + BASE
-------------------------------------------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #121212;
  color: #e5e5e5;
  font-size: 16px;
}


body {
  padding: 20px;
  line-height: 1.5;
}

/* --------------------------------------------------
   HEADINGS
-------------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

/* --------------------------------------------------
   PARAGRAPHS
-------------------------------------------------- */

p {
  margin-bottom: 12px;
  color: #ccc;
}

/* --------------------------------------------------
   LINKS
-------------------------------------------------- */

a {
  color: #4ea1ff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------
   LISTS
-------------------------------------------------- */

ul,
ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 6px;
}

/* --------------------------------------------------
   TABLES
-------------------------------------------------- */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #1e1e1e;
  border: 1px solid #333;
}

th,
td {
  padding: 10px 14px;
  border-bottom: 1px solid #333;
}

th {
  background: #2a2a2a;
  font-weight: 600;
  color: #fff;
}

tr:hover {
  background: #252525;
}

/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */

button {
  background: #4ea1ff;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

button:hover {
  background: #6bb3ff;
}

/* --------------------------------------------------
   INPUTS
-------------------------------------------------- */

input,
select,
textarea {
  background: #1e1e1e;
  color: #fff;
  border: 1px solid #333;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 14px;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #4ea1ff;
}

/* --------------------------------------------------
   CARDS (generic)
-------------------------------------------------- */

.card {
  background: #1e1e1e;
  border: 1px solid #333;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 20px;
}







.navbar {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: #1e1e1e;
  border-bottom: 1px solid #333;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 600;
  color: #4ea1ff;
}

.nav-item {
  color: #ddd;
  text-decoration: none;
  font-size: 16px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-item:hover {
  background: #2a2a2a;
  color: #fff;
}

.record-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.record-item {
  background: #1e1e1e;
  border: 1px solid #333;
  padding: 14px 18px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.record-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.record-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.record-name {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.record-source {
  font-size: 14px;
  color: #aaa;
}

.record-id {
  font-size: 12px;
  color: #888;
  font-family: monospace;
}

.record-dates {
  font-size: 12px;
  color: #777;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.created,
.updated {
  display: block;
}


.monitor-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.monitor-item {
  background: #1e1e1e;
  border: 1px solid #333;
  padding: 14px 18px;
  border-radius: 6px;
}

.monitor-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.customer {
  color: #aaa;
}

.monitor-body div {
  margin-bottom: 4px;
}

pre {
  background: #111;
  padding: 6px;
  border-radius: 4px;
  font-size: 12px;
  color: #ccc;
}

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.status-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-left: 20px;
  background: #444; /* fallback */
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
}

.status-indicator.running {
  background: #2ecc71; /* green */
  box-shadow: 0 0 8px #2ecc71;
}

.status-indicator.stopped {
  background: #e74c3c; /* red */
  box-shadow: 0 0 8px #e74c3c;
}

