.loginFormContainer {
    max-width: 400px;
}

.loginForm {
    font-size: 17px;
    font-weight: 500;
    border-radius: 10px;
}

.loginForm input {
    letter-spacing: 1px;
    font-weight: 400;
}

.loginForm button {
    font-size: 18px !important;
}

.navbar-brand img {
    width: 50px;
}

.profile-navbtn img {
    width: 40px;
}

.profile-navbtn {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    overflow: hidden;
    border: 1px solid black !important;
}


.courses-list-item:hover {
    outline: 2px black !important;
}

.course-list-item {
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
    border-color: black;
}

.course-obj .h-info{
    position: absolute;
    background-color: white;
    top: 105%;
    left: 0;
    z-index: 999;
    width: 200%;
    max-height: 0;
    overflow: hidden;
    transition: 0.1s 0s;
}


.course-obj:hover .h-info{
    max-height: 50px;
    transition: 0.2s 0.5s;
}

.course-list-item p,
.course-list-item span {
    transition: 0.1s;
}

.course-list-item .course-name {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.course-list-item .course-name .course-name {
    font-size: 13px;
}

.course-list-item .course-name .course-id {
    font-size: 10px !important;
}

.course-list-item:hover:not(.marked) :where(p, span) {
    color: black !important;
}

.course-list-item:hover:not(.marked) {
    border-color: black !important;
    background: rgba(0, 0, 0, 0.08);
}

.course-list-item.marked {
    color: white !important
}

.main-lesson-days span:not(:last-child)::after {
    content: ',';
}

.checkStatus {
    position: relative;
    width: 35px;
    height: 35px;
    box-shadow: none !important;
    border: 0px !important;
    border-radius: 10px !important;
    cursor: pointer;
}

.checkStatus:checked {
    background-color: green !important;
}

.checkStatus:not(:checked)::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 5px;
    top: calc(50% - 3px);
    left: calc(50% - 12px);
    transform: rotate(45deg);
    background-color: white;
    border-radius: 5px;
}

.checkStatus:not(:checked)::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 5px;
    top: calc(50% - 3px);
    left: calc(50% - 12px);
    transform: rotate(-45deg);
    background-color: white;
    border-radius: 5px;
}

.checkStatus:not(:checked) {
    background-color: darkred !important;
}

.course-list-item[disabled] {
    opacity: 0.8;
}

.markAllBtn button {
    border: 0px;
    background-color: transparent;
    color: black;
    font-size: 16px !important;
    transition: 0.3s;
}

.markAllBtn button:hover {
    text-shadow: 0px 0px 1px black;
}

.grade-inp {
    min-width: 30px;
    max-width: 50px;
    margin: 0 !important;
    box-shadow: none !important;
    text-align: center !important;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

div.hiddenDiv {
    display: none !important;
}


.my-toggler[aria-expanded="true"] .upIcon {
    display: none !important;
}

.my-toggler[aria-expanded="false"] .downIcon {
    display: none !important;
}

.attendance-item {
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.attendance-item:hover td {
    background-color: rgba(0, 0, 0, 0.05);
}

.attendance-item.trial-lesson td {
    background-color: rgba(0, 191, 255, 0.2) !important;
}

.attendance-item.trial-lesson{
    border-color: rgba(0, 191, 255, 0.5) !important;
}

tr.enrollment-data.trial-lesson td {
    background-color: rgba(255, 255, 0, 0.3) !important;
}

tr.enrollment-data.enrollment-hold td{
    background-color: rgba(48, 209, 239, 0.1) !important;
    color: black !important;
}

tr.enrollment-data.trial-used-once td{
    background-color: rgba(0, 128, 0, 0.2) !important;
    color: black !important;
}

tr.enrollment-data.enrollment-disabled td {
    color: black; !important;
    /*box-shadow: inset 0 0 20px gray;*/
    background-color: rgba(128, 128, 128, 0.3) !important;
}

tr.enrollment-data .enrollment-info-table td{
    background-color: white !important;
}

tr.enrollment-data .enrollment-info-table tr:hover{
    background-color: rgba(0, 0, 0, 0.05) !important;
}

/*.attendance-item[status="0"] {*/
/*    border: 2px solid rgba(255, 0, 0, 0.3);*/
/*}*/

.attendance-item[status="0"] td {
    background-color: rgba(255, 0, 0, 0.1);
}

/*.attendance-item[status="0"] td.name {*/
/*    color: red;*/
/*}*/

/*.attendance-item[status="1"] {*/
/*    border: 2px solid rgba(0, 128, 0, 0.3);*/
/*}*/

.attendance-item[status="1"] td {
    background-color: rgba(0, 128, 0, 0.2);
}


/*.attendance-item[status="1"] td.name {*/
/*    color: green;*/
/*}*/

/*.attendance-item[status="2"] {*/
/*    border: 2px solid rgba(255, 165, 0, 0.5);*/
/*}*/

.attendance-item[status="2"] td {
    background-color: rgba(255, 255, 0, 0.2);
}

/*.attendance-item[status="2"] td.name {*/
/*    color: green;*/
/*}*/

.attendance-item[status="1"] .marked-status-badge .present,
.attendance-item[status="0"] .marked-status-badge .absent,
.attendance-item[status="2"] .marked-status-badge .overtime {
    display: block !important;
}

.attendance-item:not([status='1'], [status='2'], [status='0']) .marked-conf,
.attendance-item:where([status='1'], [status='2'], [status='0']) .check-buttons {
    display: none !important;
}

.attendance-item:not([status="1"], [status="2"]) .gradesInp {
    display: none !important;
}

.gradesInp input {
    padding: 5px !important;
    width: 30px !important;
}

.topic-label {
    position: absolute;
    max-width: 57%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    top: -5px !important;
    font-size: 10px;
    right: 2%;
    font-weight: 700;
    padding: 0 5px;
    border-radius: 2px;
    color: black;
    letter-spacing: 2px;
    outline: 2px solid;
    z-index: 99;
    background-color: white;
    box-shadow: 0px 0px 3px 2px black;
}

.label-bg {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: white;
    opacity: 0.2;
}

.teacher-name-label {
    position: absolute;
    max-width: 38%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    top: -5px !important;
    font-size: 10px;
    left: 2%;
    padding: 0 5px;
    font-weight: 700;
    border-radius: 2px;
    background-color: white;
    color: black;
    letter-spacing: 1px;
    outline: 2px solid;
    z-index: 99;
    box-shadow: 0px 0px 3px 2px black;
}

.teacher-color-preview {
    display: block;
    width: 20px;
    height: 20px;
    background: black;
    border-radius: 50%;
    box-shadow: 0px 0px 2px 1px black;
}

.select2 {
    width: 100% !important;
}

.requiredField .asteriskField {
    color: red !important;
    margin-left: 3px;
    font-size: 20px;
}

.form-floating label {
    opacity: 0.7;
    font-size: 16px !important;
    padding: 10px 0 0 10px !important;
}

.form-floating label::after {
    background: none !important;
}

.form-floating input {
    font-size: 15px;
    height: 50px !important;
    min-height: 50px !important;
    line-height: 0 !important;
}

.form-floating :where() {
    box-shadow: none !important;
}

.form-floating :where(input, textarea):focus {
    border-color: black;
    box-shadow: 0px 0px 2px 1px black !important;
}

.form-floating label[aria-required="True"] {
    color: #a00000;
    font-size: 14px;
}

.form-floating :where(input, textarea):placeholder-shown + label[aria-required="True"] {
    color: #a00000 !important;
}

.form-floating :where(input, textarea):required:placeholder-shown {
    border-color: #a00000;
    background-color: rgba(255, 0, 0, 0.05);
}

.form-floating :where(input, textarea):required:placeholder-shown:focus {
    border-color: #a00000 !important;
    box-shadow: 0px 0px 2px 1px #a00000 !important;
}

table.enrollments tr:not(.trial-lesson, .enrollment-hold, .trial-used-once, [disabled]):hover td {
    background-color: rgba(0, 0, 0, 0.02) !important;
}

.form-floating > select:not(.multiplechoices) + .select2 > .selection > .select2-selection {
    height: 50px;
    padding-top: 20px;
    border: 1px solid lightgray;
    width: 100%;
}

.form-floating select.multiplechoices + .select2 .select2-selection {
    /* height: 50px; */
    padding-top: 20px;
    font-size: 15px;
    border: 1px solid lightgray !important;
    width: 100%;
}

.data-list .has-debt td,
.enrollments .has-debt:hover td {
    background-color: rgba(255, 0, 0, 0.1) !important;
}

.filter-reset-btn {
    background-color: transparent;
    font-size: 14px !important;
    font-weight: 600;
    height: 15px;
    padding: 0;
    border: none;
    text-decoration: solid underline grey;
    transition: 0.2s;
    color: grey;
}

.filter-reset-btn:hover {
    color: red;
    text-decoration-color: red;
}

.custom-select-2 > select + .select2 > .selection > .select2-selection {
    min-height: 30px;
    font-size: 16px;
    border: 1px solid lightgray;
}

#filterForm label {
    font-size: 14px !important;
    color: black;
}

#filterForm :where(input, select + .select2 > .selection > .select2-selection, .select2-selection) {
    min-height: 35px !important;
    align-items: center;
    padding: 3px 6px;
    border: 1px solid lightgray;
}


.table-obj-name-link:hover {
    text-decoration: 1px solid underline black !important;
}

.text-white p.course-name {
    color: white !important;
}

.modal * {
    z-index: 9999 !important; /* Ensure it appears above the modal */
}

.list-items-hover {
    transition: 0.2s;
}

.list-items-hover:hover {
    background: rgba(0, 0, 0, 0.05);
}

.attendance-record-table .student-name-cell {
    max-width: 200px;
    min-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attendance-record-table :where(.status-cell, .date-cell) {
    max-width: 100px !important;
    min-width: 60px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attendance-record-table :where(.status-cell) {
    max-width: 350px !important;
    min-width: 60px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* width */
.attendance-table-wrapper > div::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.attendance-table-wrapper > div::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.attendance-table-wrapper > div::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
.attendance-table-wrapper > div::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.attendance-form .name {
    font-size: 16px;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 480px) {
    .attendance-item {
        font-size: 17px;
    }

    .attendance-form .name {
        font-size: 13px;
        text-after-overflow: ellipsis;
    }

    .gradesInp input {
        padding: 2px !important;
        width: 20px !important;
    }

    .attendance-form p.badge {
        display: none !important;
    }

    .attendance-form button {
        padding: 5px !important;
        font-size: 14px !important;
        max-width: 50px;
        min-width: 30px;
    }
}


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

.fixed-width-btn {
    width: 50px; /* Fixed width */
    height: 40px;
}

.debt-students-phone-numbers span.copied {
    color: green;
}

.debt-students-phone-numbers span.copied:after {
    content: '✅';
}

@media screen and (max-width: 380px) {
    .debt-students-phone-numbers {
        flex-direction: column !important;
    }
}

.debt-accordions .accordion-button:hover {
    border-color: black !important;
}

input::-ms-reveal,
input::-ms-clear {
    display: none;
}

.max-w-15 {
    max-width: 150px !important;
}

.max-w-50px {
    max-width: 50px !important;
}

.max-w-100px{
    max-width: 100px !important;
}

.min-w-100px{
    min-width: 100px !important;
}

.max-w-130px{
    max-width: 130px !important;
}

.min-w-130px{
    min-width: 130px !important;
}

.w-350px{
    width: 350px !important;
}

tr.active-tr {
    position: relative;
    background-color: rgba(0, 145, 255, 0.15) !important;


    td:first-child::before{
        position: absolute;
        content: '';
        top: calc(50% - 6px);
        left: -15px;
        z-index: 99;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: red;
    }

}

.cursor-pointer{
    cursor: pointer;
}

.salary-checkbox{
    opacity: 0;
}

.salary-checkbox + .checkmark{
    position: absolute;
    top: calc(50% - 12px);
    left: calc(50% - 12px);
    background-color: transparent;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    width: 24px;
    height: 24px;
    border-radius: 5px;
    /*background-color: rgba(255, 255, 255, 0.5);*/
}

.salary-checkbox + .checkmark::after{
    content: '';
    position: absolute;
    width: 8px;
    height: 12px;
    background-color: transparent;
    border-bottom: 3px solid black;
    border-right: 3px solid black;
    left: calc(50% - 3px);
    top: calc(50% - 8px);
    transform: rotate(45deg);
    opacity: 0;
    transition: 0.1s;
}

.salary-checkbox:checked + .checkmark{
    outline: 1px solid black;
}

.salary-checkbox:checked + .checkmark::after{
    opacity: 1;
}

.note-update-form input{
    transition: 0.1s;
    outline: 0 solid transparent;
}

.note-update-form.success input{
    outline: 3px solid darkgreen;
}

.note-update-form.error input{
    outline: 3px solid red;
}

.teacher-image{
    aspect-ratio: 1/1.1;
    width: 300px;
    object-fit: cover;
    background-color: white;
}

.teacher-card-image{
    aspect-ratio: 1/1;
    width: 100%;
    height: 100%;
    max-width: 200px;
    object-fit: cover;
    background-color: white;
}

.teacher-card:hover .wrapper{
    box-shadow: 0 0 3px 1px darkgray;
}

.teacher-card{

    .username{
        font-size: 11px;
    }

    .card-title{
        font-size: 15px;
    }
}