/* Remove margin and padding from the navbar */
body,
html {
  margin: 0;
  padding: 0;
}

/* Override the navbar container to remove padding */
.navbar {
  margin-top: 0;
  /* Remove any default margin on top */
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  /* Ensure the navbar stretches to full width */
}

.container-group {
  padding-left: 0;
  padding-right: 0;
}

.navbar-brand,
.navbar-nav .nav-link {
  padding-left: 0;
  padding-right: 0;
}

.table-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Ensures tables are centered */
  width: 75%;
}

.table-wrapper {
  width: 80%;
  /* Ensures tables have the same width */
  margin-bottom: 20px;
}

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

.fixed-table th,
.fixed-table td {
  text-align: center;
  padding: 10px;
  border: 1px solid #dee2e6;
  /* Ensures consistent spacing */
}

.table-header {
  background-color: #343a40;
  /* Dark gray */
  color: white;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  text-align: center;
  width: 100%;
}

.table-header span {
  vertical-align: middle;
  margin-right: 10px;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

.course-card {
  max-width: 400px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  height: 100%;
}

.card-body {
  flex-grow: 1;
  /* Ensures the card body takes up available space */
}

.participant-list {
  max-height: 150px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 5px;
}

.material-icons {
  vertical-align: middle;
  margin-right: 5px;
}

.text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}