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%);
  color: white;
}

.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;
}

.back-link:hover {
  background-color: #cce0ff;
}

main {
  padding: 20px;
}

.card {
  background: #fff;
  border: 1px solid rgba(0, 51, 102, 0.2);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0, 51, 102, 0.1);
}

.summary {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.summary-card {
  flex: 1;
  min-width: 200px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid rgba(0, 51, 102, 0.15);
}

.summary-card strong {
  display: block;
  margin-bottom: 8px;
}

.table-wrap {
  overflow-x: auto;
}

table.grid {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

table.grid th,
table.grid td {
  border: 1px solid rgba(0, 51, 102, 0.2);
  padding: 8px;
  text-align: left;
  font-size: 14px;
}

table.grid th {
  background: #003366;
  color: #fff;
}

/* Forms */
form {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

form input, form select, form button {
  padding: 6px 10px;
  border: 1px solid rgba(0, 51, 102, 0.2);
  border-radius: 4px;
  font-size: 14px;
}

form button {
  background: #003366;
  color: #fff;
  border: none;
  cursor: pointer;
}

form button:hover {
  background: #002244;
}
/* Default dropdown look */
.status-select {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-weight: bold;
  color: white; /* text color will change dynamically */
}

/* Background colors for dropdown (applied via JS) */
.status-pass {
  background-color: #28a745; /* green */
  color: white;
}

.status-fail {
  background-color: #dc3545; /* red */
  color: white;
}

.status-pending {
  background-color: #ffc107; /* yellow/orange */
  color: black;
}