body {
    overflow-x: hidden;
}

.nav {
    background: #fff;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    font-size: 20px;
    border: 0 solid #ccc;
    border-bottom-width: 1px;
    user-select: none;
    z-index: 1000;
    margin: 0;
}

.nav-link {
    padding: 4px 8px;
    margin: 4px 8px;
}

body h1 {
    margin: 16px;
    text-align: center;
}

.spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    color: #24d;
}

.table {
    margin: 0;
}

.table-header-fixed thead tr {
    position: sticky;
    top: 0;
}

.table-last-child-fixed tbody tr:last-child {
    position: sticky;
    bottom: -1px;
    font-weight: bold;
}

.allocation-div {
    padding: 8px 0 8px 8px;
    border: 1px solid #ccc;
    border-radius: 12px;
    margin: 20px;
}

.allocation-table {
    height: 60vh;
}

.allocation-table-scroll {
    height: 100%;
    overflow-y: auto;
}

.allocation-table-scroll::-webkit-scrollbar {
    width: 16px;
}

.allocation-table-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.allocation-table-scroll::-webkit-scrollbar-thumb {
    background: #e3e3e3;
    border: 4px solid transparent;
    border-top-width: 0;
    border-bottom-width: 0;
    border-radius: 8px;
    background-clip: padding-box;
}

.allocation-table-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #ccc;
}

.table-clickable {
    cursor: pointer;
}

.optimization-div {
    margin: 36px 16px 0 16px;
}

.optimization-stats-div {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    align-items: center;
    margin: 0 36px;
}

.optimization-stats-div .form-label {
    border-radius: 6px;
    background: #e8e9ea;
    padding: 12px;
    margin: 0;
}

.disciplines-input-div, .disciplines-checkbox-div {
    margin-bottom: 20px;
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.disciplines-checkbox .input-group-text:last-child {
    flex: 1;
}

.disciplines-text-input, .disciplines-checkbox {
    height: 40px;
    flex-wrap: nowrap;
}

.disciplines-text-input .input-group-text {
    width: 130px;
}

.top-input-div {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    margin: 10px;
}

.download-button {
    display: flex;
    margin-right: auto;
}

.disciplines-range-label {
    display: block;
    text-align: center;
}

.dash-dropdown {
    width: 100px;
}

.form-control, .form-check-input {
    box-shadow: none !important;
    border: var(--bs-border-width) solid var(--bs-border-color) !important;
}

.modal-input-text-div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.modal-dropdowns-div .input-group {
    width: unset;
}

.modal-dropdowns-div {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.modal-dropdowns-div .Select-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.modal-dropdowns-div .Select-input {
    height: 36px;
}

.modal-dropdown-row {
    display: flex;
    justify-content: space-between;
}

.modal-capacity {
    width: 50px;
}

.modal-class-occupation {
    justify-content: flex-end;
    margin-bottom: 20px;
}

.modal-checkbox-div {
    display: flex;
    gap: 20px;
}

.discipline-modal-checkbox {
    margin-top: 20px;
}

.discipline-modal-checkbox-hidden {
    visibility: hidden;
    height: 0;
}

.checklist-select-all, .checklist-select-all label {
    margin-bottom: 0;
}

.checklist-label {
    display: block;
    text-align: center;
}

.checklist-items {
    overflow: hidden auto;
    width: 100px;
    height: 200px;
}

.checklist-items::-webkit-scrollbar {
    width: 16px;
}

.checklist-items::-webkit-scrollbar-track {
    background: transparent;
}

.checklist-items::-webkit-scrollbar-thumb {
    background: #e3e3e3;
    border: 4px solid transparent;
    border-top-width: 0;
    border-bottom-width: 0;
    border-radius: 8px;
    background-clip: padding-box;
}

.checklist-items::-webkit-scrollbar-thumb:hover {
    background-color: #ccc;
}

#password-div {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#password-div div {
    width: 300px;
}