body {
  font-family: Arial, sans-serif;
  margin: 40px;
  background-color: #f9f9f9;
}

h1 {
  color: #333;
}

nav a {
  margin-right: 15px;
  text-decoration: none;
  color: #007bff;
}

nav a:hover {
  text-decoration: underline;
}

form label {
  font-weight: bold;
}

input[type="text"],
input[type="number"] {
  width: 300px;
  padding: 8px;
  margin-bottom: 10px;
}

input[type="submit"] {
  padding: 10px 20px;
  background-color: #28a745;
  border: none;
  color: white;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #218838;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  padding: 5px 0;
}

#log {
  height: 300px;
  overflow-y: scroll;
  border: 1px solid #ccc;
  padding: 10px;
  font-family: monospace;
  background-color: #f9f9f9;
}

#progress-bar {
  width: 100%;
  background-color: #f3f3f3;
  border: 1px solid #ccc;
  height: 20px;
  position: relative;
}

#progress-bar span {
  display: block;
  height: 100%;
  background-color: #4caf50;
  width: 0%;
}

#checkpoint_div,
#additional_params_div {
  display: none;
}

form {
  /* max-width: 800px; */
  /* margin: 0 auto; */
}

.form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.form-section.full-width {
  grid-template-columns: 1fr;
}

#video {
  width: 80%;
  height: auto;
  border: 2px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.indicator {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: gray; /* default: neutral */
  vertical-align: middle;
  margin-left: 8px;
  transition: background 0.3s;
}
.indicator.busy {
  background: red;
}
.indicator.idle {
  background: green;
}
