/* simulators/ems/styles.css — utilitarian, no design system. */

* { box-sizing: border-box; }

body {
  font-family: ui-sans-serif, -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 1.5rem;
  background: #0e1116;
  color: #d6dbe5;
  line-height: 1.5;
}

.page-header {
  border-bottom: 1px solid #2a2f3a;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.page-header h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #ffffff;
}

.page-header .subtitle {
  margin: 0.25rem 0 0;
  color: #8b95a7;
  font-size: 0.9rem;
}

.login-section,
.schedules-section {
  background: #161a22;
  border: 1px solid #2a2f3a;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.login-section h2,
.schedules-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: #e7ecf5;
}

.field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.field label {
  width: 8.5rem;
  color: #8b95a7;
  font-size: 0.85rem;
}

.field input {
  flex: 1;
  padding: 0.4rem 0.6rem;
  background: #0e1116;
  border: 1px solid #2a2f3a;
  border-radius: 4px;
  color: #d6dbe5;
  font: inherit;
}

.actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

button {
  padding: 0.4rem 0.9rem;
  background: #2c5aa0;
  border: none;
  border-radius: 4px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
}

button:hover { background: #3a6cb8; }
button[disabled] { opacity: 0.5; cursor: not-allowed; }
button#logout { background: #555; }
button#logout:hover { background: #666; }

.status {
  font-size: 0.85rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.status[data-variant="info"] { color: #8b95a7; }
.status[data-variant="success"] { color: #5fb87a; }
.status[data-variant="error"] { color: #d57878; }

.schedules-section header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.schedules-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.schedule {
  border-top: 1px solid #2a2f3a;
  padding: 0.75rem 0;
}

.schedule h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: #e7ecf5;
}

.schedule .meta {
  font-size: 0.85rem;
  color: #8b95a7;
  margin-bottom: 0.5rem;
}

.schedule .points {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  color: #d6dbe5;
  font-size: 0.85rem;
}

.schedule .payload {
  background: #0e1116;
  border: 1px solid #2a2f3a;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  white-space: pre-wrap;
  overflow-x: auto;
  color: #b8c0cc;
}

.empty {
  color: #8b95a7;
  font-style: italic;
  padding: 1rem 0;
}
