body, html {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f0f8ff;
}

.container {
  padding: 20px;
}

.btn {
  background: linear-gradient(145deg, #4682B4, #005A9C);
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 5px;
  margin: 4px 2px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
  background: linear-gradient(145deg, #357ABD, #004B8D);
  transform: scale(1.05);
}

.popup {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.popup-content {
  background-color: #fff;
  margin: 10% auto; /* Centrally aligns the popup */
  padding: 20px;
  border: 1px solid #888;
  width: 60%; /* Adjust width as necessary */
  border-radius: 8px;
  display: flex;
  flex-direction: column; /* Makes the form vertical */
}


.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

input[type="text"], select, input[type="checkbox"] {
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

input[type="text"]:focus, select:focus {
  border-color: #4682B4;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #666;
}

fieldset {
  border: 1px solid #ccc;
  padding: 10px;
  margin-top: 5px;
}

legend {
  padding: 0 10px;
  color: #4682B4;
}


.task {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
}

.task-info {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-container {
  display: flex;
  align-items: center;
}

.cancel-btn {
  font-size: 16px;
  color: #888;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.3s;
  margin-left: 10px; /* Ensure some spacing between status and button */
}

.cancel-btn:hover {
  color: #555;
}

.progress-bar {
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 5px;
}

.progress {
  height: 10px;
  background: linear-gradient(to right, #4682B4, #005A9C);
  width: 0%;
  transition: width 1s ease;
}

.checkbox-group {
  display: flex;
  flex-direction: column; /* Makes checkboxes stack vertically */
  align-items: flex-start; /* Aligns checkboxes to the left */
}

.checkbox-group label {
  display: flex;
  align-items: center;
  margin-bottom: 10px; /* Adds space between each checkbox label group */
}

.checkbox-group input[type="checkbox"] {
  margin-right: 5px; /* Keeps a small space between checkbox and label */
}


.input-field {
  width: 100%; /* Full width input fields */
  padding: 8px;
  margin-top: 5px;
  margin-bottom: 10px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

#courseList {
  padding-inline-start: 0px;
}

#courseList li {
  padding: 5px;
  border: 1px solid #ccc;
  list-style-type: none;
  cursor: pointer;
}

#courseList li.selected {
  background-color: #4682B4;
  color: white;
}