.modal-body h6 {
    font-weight: bold;
    color: #343a40;
    margin-top: 15px;
    margin-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 5px;
}

.form-check {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.form-check:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    transform: scale(1.02);
}

.form-check-label {
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

.form-check-input:checked+.form-check-label {
    color: #0d6efd;
}

.modal-footer .btn {
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.modal-footer .btn:hover {
    background-color: #0d6efd;
    color: #fff;
}

#selectedSubjectsList {
    list-style: none;
    padding-left: 0;
}

.select-all-check {
    margin: 20px 0;
    padding: 15px;
    border: 2px solid #0d6efd;
    border-radius: 5px;
    background-color: #e9f5ff;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.select-all-check:hover {
    background-color: #d1e9ff;
    border-color: #0a58ca;
    transform: scale(1.03);
}

.select-all-check .form-check-label {
    color: #0d6efd;
    font-weight: bold;
    cursor: pointer;
}


.checkbox-wrapper-46 input[type="checkbox"] {
    display: none;
    visibility: hidden;
}

.checkbox-wrapper-46 .cbx {
    margin: auto;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

.checkbox-wrapper-46 .cbx span {
    display: inline-block;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-46 .cbx span:first-child {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    transform: scale(1);
    vertical-align: middle;
    border: 1px solid #9098a9;
    transition: all 0.2s ease;
}

.checkbox-wrapper-46 .cbx span:first-child svg {
    position: absolute;
    top: 3px;
    left: 2px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-46 .cbx span:first-child:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #506eec;
    display: block;
    transform: scale(0);
    opacity: 1;
    border-radius: 50%;
}

.checkbox-wrapper-46 .cbx span:last-child {
    padding-left: 8px;
}

.checkbox-wrapper-46 .cbx:hover span:first-child {
    border-color: #506eec;
}

.checkbox-wrapper-46 .inp-cbx:checked+.cbx span:first-child {
    background: #506eec;
    border-color: #506eec;
    animation: wave-46 0.4s ease;
}

.checkbox-wrapper-46 .inp-cbx:checked+.cbx span:first-child svg {
    stroke-dashoffset: 0;
}

.checkbox-wrapper-46 .inp-cbx:checked+.cbx span:first-child:before {
    transform: scale(3.5);
    opacity: 0;
    transition: all 0.6s ease;
}

@keyframes wave-46 {
    50% {
        transform: scale(0.9);
    }
}