body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.topnav {
  background-color: #413f39;
  overflow: hidden;
}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: #413f39;
}

.topnav a.active {
  background-color: #a72828;
  color: white;
}

.exercise-select {
  color: black;
  border-radius: 8px;
  background-color: white;
  padding: 8px;
  font-size: 16px;
  margin-bottom: 10px;
}

#exercise_suggestions_container {
  position: relative;
}
.suggestions {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  max-height: 180px;
  width: 100%;
  overflow-y: auto;
  background: #413f39f1;
  border-radius: 8px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.suggestions li {
  padding: 8px 12px;
  color: white;
  cursor: pointer;
}
.suggestions li:hover,
.suggestions li.active {
  background: #5a584f;
}

div.form-container {
  width: 100%;
  max-width: 50%;
  margin: 0 auto;
  padding: 20px;
  background-color: #413f39;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  margin-top: 20px;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
}

form input {
  margin-bottom: 10px;
  padding: 8px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
}

form button {
  padding: 10px;
  margin: 5px;
  font-size: 16px;
  background-color: #a72828;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

form button:hover {
  background-color: #882121;
}

.exercises-container h2 {
  text-align: center;
  color: white;
}

.exercises-container {
  margin: 15px;
  color: black;
  background-color: #413f39;
  border: #413f39 2px solid;
  border-radius: 8px;
  margin: 15px;
}

.exercises-container li {
  color: rgb(255, 255, 255);
  border-radius: 8px;
  margin: 8px;
}

.exercises-container a {
  color: #a72828;
  border-radius: 8px;
}

.exercises-container a {
  color: #a72828;
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table,
th,
td {
  border: 1px solid black;
  padding: 8px;
  text-align: left;
  background-color: #f9f9f9;
}

.exercise-details {
  display: none;
  margin: 20px;
  padding: 20px;
  background-color: #111;
  border-radius: 8px;
}

.exercise-item {
  cursor: pointer;
  padding: 5px;
}

.exercise-item:hover {
  color: #a72828;
}

.description {
  color: white;
}
iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 8px;
}


button {
  padding: 10px;
  margin: 5px;
  font-size: 16px;
  background-color: #a72828;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

button[namespace="Delete"] {
  padding: 10px;
  margin: 5px;
  font-size: 16px;
  background-color: #a72828;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}

button[namespace="Edit"] {
  padding: 10px;
  margin: 5px;
  font-size: 16px;
  background-color: #ffeaa6;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 8px;
}
button:hover {
  background-color: #882121;
}
