body {
  background-image: url("../assets/Background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  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;
}

.stage-screen details summary {
  font-size: 1.1em;
  color: #003366;
  cursor: pointer;
  margin-bottom: 8px;
}

.gantt-chart h4 {
  color: #003366;
}

.gantt-chart img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.chart-caption {
  font-size: 0.95em;
  color: #555;
}

/* #hull-summary {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.summary-card {
  flex: 1;
  min-width: 220px;
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}

.summary-card.overall-progress {
  background: #e6eef7;
}

.summary-card.planned-duration {
  background: #fffbe6;
}

.summary-card.actual-duration {
  background: #f7e6e6;
}

.summary-card div {
  font-size: 1.2em;
  color: #003366;
}

.summary-card.overall-progress div {
  font-size: 1.5em;
  font-weight: bold;
}

.table-responsive {
  overflow-x: auto;
}

#hull-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;
}

#hull-stages-table thead tr {
  background: #e6eef7;
} */

/* Summary cards */
#hull-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;
}

/* Collapsible container */
#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-actions button {
  padding: 6px 16px;
  font-weight: bold;
  margin-right: 8px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: #1976d2;
  color: white;
}
.baseline-actions .reset {
  background: #eee;
  color: #003366;
}
.baseline-actions .download {
  background: #e3f2fd;
  color: #003366;
}
.note {
  font-size: 0.9em;
  color: #888;
  margin-left: 12px;
}

/* Status */
.baseline-status {
  margin: 16px 0;
}
.baseline-status span {
  margin-left: 18px;
}
.highlight {
  color: #1976d2;
  font-weight: bold;
}

/* History */
.baseline-history {
  margin: 16px 0;
}
.baseline-history select {
  margin-left: 8px;
}
.hint {
  margin-left: 12px;
  color: #888;
  font-size: 0.9em;
}

/* Tables */
.table-section {
  margin: 20px 0;
}
table {
  border-collapse: collapse;
  margin-top: 6px;
  width: 100%;
  background: #fff;
}
th, td {
  padding: 6px 10px;
  border: 1px solid #ccc;
  text-align: left;
  font-size: 14px;
}
thead tr {
  background: #f7f7f7;
}
td.on { color: #388e3c; font-weight: bold; }
td.delay { color: #f57c00; font-weight: bold; }
td.early { color: #388e3c; font-weight: bold; }

/* Form */
.form-section {
  margin: 20px 0;
}
.form-section form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.form-section label {
  font-size: 14px;
}
.form-section input,
.form-section select {
  width: 160px;
  padding: 4px 6px;
  border: 1px solid #ccd6e6;
  border-radius: 6px;
}
.form-section button {
  padding: 6px 12px;
  border-radius: 6px;
  background: #ddd;
  cursor: not-allowed;
  border: none;
}

/* Notes */
.notes-section {
  margin: 20px 0;
}
.notes-section ul {
  margin: 8px 0 0 20px;
}
.notes-section li {
  margin-bottom: 6px;
}
.table-responsive {
  overflow-x: auto;
}

#hull-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;
}

#hull-stages-table thead tr {
  background: #e6eef7;
}
