#languageTableContainer {
    max-height: 50vh;
    overflow-y: auto;
    transition: max-height 0.4s ease;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
  }
  

#languageTableToggleHeightBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 0 0 12px 12px; /* Only bottom corners rounded */
  background-color: #ffffff;
  color: #5c84c6;  ;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
  transition: background-color 0.3s ease, color 0.3s ease;
}

#languageTableToggleHeightBtn:hover {
  background-color: #F0F3F6;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.2);
  transition: 0.3s ease;
}

#languageTableToggleHeightBtn svg {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

#languageTableToggleHeightBtn.expanded svg {
  transform: rotate(180deg);
}


#languageTableFilters {
  text-align: center;
  margin-top: 2em;
  margin-bottom: 1em;
}

label {
  font-weight: 600;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  user-select: none;
  margin-right: 24px;
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: middle;
  cursor: pointer;
}

table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  background-color: white;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
  overflow: hidden;
  user-select: none;
  margin-bottom: 0!important;
  margin-top: 0!important;
}

table#langugeTable {
  margin-bottom: 0!important;
}

thead tr {
  background-color: #dee6f4;
  font-weight: 700;
  color: #002661;
}

th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #dee6f4;
}

tbody tr:hover {
  background-color: #F0F3F6;
}

th {
  cursor: pointer;
  position: relative;
  user-select: none;
}

th.sort-asc::after,
th.sort-desc::after {
  font-size: 14px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #5c84c6;
}

th.sort-asc::after {
  content: "▲";
}

th.sort-desc::after {
  content: "▼";
}

.badge-default {
  display: inline-block;
  background-color: #5c84c6;
  color: white;
  font-weight: 600;
  font-size: 11px;
  border-radius: 9999px;
  padding: 3px 10px;
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.12);
  user-select: none;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1!important;
}
