:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --text: #003366;
  --text-dim: #4b638d;
  --border: #ccd6e6;
  --accent: #00509e;
}
body {
  background-image: url("../assets/Background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  color: white;
  padding: 50px;
  position: relative;
}

.header-inline h1 {
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.back-link {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  text-decoration: none;
  background-color: #ffffff;
  color: #003366;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
  margin-top: 10px;
}

.back-link:hover {
  background-color: #cce0ff;
}

main {
  margin: 30px;
  padding: 30px;
  border-radius: 12px;
  background-color: #ffffff;
}

#systems-summary {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.summary-card {
  background: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex: 1;
  text-align: center;
  font-size: 14px;
}
.summary-card strong {
  display: block;
  margin-bottom: 4px;
  color: #003366;
}

/* ===== Collapse Section ===== */
#baseline-collapse {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
#baseline-collapse summary {
  font-weight: bold;
  cursor: pointer;
  color: #003366;
  margin-bottom: 12px;
}

/* ===== Buttons ===== */
.baseline-controls {
  margin-top: 10px;
}
.baseline-buttons {
  margin-bottom: 12px;
}
.baseline-buttons button {
  padding: 6px 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  background: #1976d2;
  color: #fff;
  cursor: pointer;
}
.baseline-buttons .reset-btn {
  background: #eee;
  color: #333;
  margin-left: 8px;
}
.baseline-buttons .download-btn {
  background: #e3f2fd;
  color: #003366;
  margin-left: 8px;
}
.note {
  font-size: 0.95em;
  color: #888;
  margin-left: 12px;
}

/* ===== Baseline Status & History ===== */
.baseline-status {
  margin-top: 5px;
  margin-bottom: 18px;
}
.baseline-status span {
  margin-top: 6px;
  margin-left: 18px;
  color: #333;
}
#baseline-status {
  color: #1976d2;
  font-weight: bold;
}
.baseline-history {
  margin-bottom: 14px;
}
.baseline-history select {
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
}
.baseline-history .hint {
  margin-left: 12px;
  color: #888;
  font-size: 0.9em;
}

/* ===== Tables ===== */
table {
  border-collapse: collapse;
  margin-top: 6px;
  width: 100%;
  font-size: 0.95em;
  margin-bottom: 20px;
}
thead tr {
  background: #f7f7f7;
}
th, td {
  border: 1px solid #ddd;
  padding: 6px 10px;
  text-align: left;
}
tbody tr:nth-child(even) {
  background: #fafafa;
}
tbody tr:hover {
  background: #f0f4ff;
}

/* ===== Forms ===== */
.change-request form {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.change-request label {
  font-size: 0.95em;
}
.change-request select,
.change-request input {
  width: auto;
  min-width: 120px;
  padding: 4px 8px;
  border: 1px solid #ccd6e6;
  border-radius: 4px;
}
.change-request button {
  padding: 6px 12px;
  background: #ccc;
  border-radius: 4px;
  border: none;
  cursor: not-allowed;
}

/* ===== Lists ===== */
ul {
  margin: 8px 0 0 18px;
  line-height: 1.5em;
}
ul li {
  margin-bottom: 4px;
}

/* ===== Workflow Image ===== */
.workflow {
  margin-top: 6px;
}
.workflow img {
  max-width: 400px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.workflow .note {
  font-size: 0.95em;
  color: #888;
  margin-top: 4px;
}






.gantt-summary {
  font-size: 1.1em;
  color: #003366;
  cursor: pointer;
  margin-bottom: 8px;
}

.gantt-chart img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.gantt-caption {
  font-size: 0.95em;
  color: #555;
}

.status-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.status-form button {
  background: #003366;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.status-msg {
  margin-top: 12px;
  color: green;
  display: none;
}




.table-responsive {
  overflow-x: auto;
}

#systems-stages-table {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  border-collapse: separate;
  margin-bottom: 32px;
}

#systems-stages-table thead tr {
  background: #e6eef7;
}

