body {
    background: #f8fdff;

}

/* html {
    height: 100%;
    position: relative;
} */

:root {
    --table-borders-color: #e1edf8;
    --table-borders-thick: 1px;
    --table-border-radius: 15px;
    --fs-check-x: 15px
}

a {
    text-decoration: none;

}

.bg-primary {
    background: #2a66c1 !important;
}


.primary {
    color: #0b7ac4 !important;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;

    /* Constant css: */
    thead {
        background: #eff5f9;
    }

    tbody tr:hover {
        background: #edfbff;
    }

    td,
    th {
        border-top: 1px solid var(--table-borders-color);
        border-right: 1px solid var(--table-borders-color);
        transition: transform linear 500ms;
        padding: 3px 1px;
    }

    .dates[data-previous-week=true] {
        font-size: xx-small;
    }

    .fs-smaller {
        font-size: xx-small !important;
    }

    /* MORE STYLING */

    /*THICK BORDDERS  */
    tbody tr:last-of-type td {
        border-bottom: var(--table-borders-thick) solid var(--table-borders-color);
    }

    thead tr:first-child th {
        border-top: var(--table-borders-thick) solid var(--table-borders-color);
    }

    /* if we used colgroups again, add this comment to the next class:
    .week-group>col:last-child, #col-total-absence, */
    tr td:last-child,
    tr th:last-child {
        border-right: var(--table-borders-thick) solid var(--table-borders-color);
    }

    tr td:first-child,
    tr th:first-child {
        border-left: var(--table-borders-thick) solid var(--table-borders-color);
    }

    /* CURVED BORDERS */
    tr:last-of-type td:first-of-type {
        border-bottom-left-radius: var(--table-border-radius);
    }

    tr:last-of-type td:last-of-type {
        border-bottom-right-radius: var(--table-border-radius);
    }


    tr:first-of-type th:last-of-type {
        border-top-right-radius: var(--table-border-radius);
    }

    tr:first-of-type th:first-of-type {
        border-top-left-radius: var(--table-border-radius);
    }

    td button i {
        font-size: 1.25rem;
    }

    ;

}





.bi-check-lg {
    color: green;

}

.bi-x-lg {
    color: red;

}

.boolean-btn {
    background: #eff5f9;
    padding: 0 2px;
    width: 19;
    aspect-ratio: 1;
    border-radius: 5px;
    border: 0;

    &:hover {
        background: #eee !important;
    }
}

.card {
    background: #f9fcfdad;
    /* the border width to be discussed */
    border: 2px solid #e1edf8;
}


button,
.a-btn {
    border: solid 1px #0065c0;
    color: #0b7ac4;
    background: #fff;
    /* td: to discuss */
    border-radius: 20px;
    text-transform: capitalize;
    padding: 2px 12px;
    transition: 0.3s ease;

    &:hover {
        color: #fff;
        background-color: #0065c0;
    }
}

.a-btn {
    cursor: pointer;
    text-decoration: none;

    &:hover {
        box-shadow: 3px 3px 10px rgba(6, 2, 71, 0.5);
    }
}

.center,
#top-bottuns>div:not(:first-child) {
    display: flex;
    justify-content: center;
    align-items: center;

}


.three-dots {
    background: #f9fcfd;
}





.disabled {
    opacity: 50%;

    pointer-events: none;
}

.tx-secondary {
    color: #d9d9d9c0;


}

nav a {
    color: white;

    text-decoration-thickness: 0.5px;
    text-underline-offset: 4px;

    &:hover {
        color: #d9d9d9 !important;
    }
}

.switch {
    --slider-size: 13px;
    width: 36px;
    height: 21px;
    background: #d0d9ea;
    display: inline-block;
    position: relative;
    border-radius: var(--slider-size);


    &.on {
        background: #4cd0e1;
    }
}

.slider {
    position: absolute;
    top: 4px;
    left: 4px;
    transition: 0.2s;
    background: white;
    border-radius: var(--slider-size);
    width: var(--slider-size);
    height: var(--slider-size);

    &.on {
        transform: translateX(14px);
    }
}

.drawing {
    position: fixed;
    transform: translate(-50%, -50%);
    z-index: -1;
    width: 300px;
}

/*this for alert btn that need btn to clse the alert*/
.close {
    cursor: pointer;
    transition: color 0.3s;
    width: 24px;
    right: 0PX;
    top: 0px;
    position: absolute;
}

.close:hover,
.close:focus {
    color: #431e1e;
}

/*this for Qr in teacher page*/

#qrCodeContainer {
    width: 100%;
    max-width: 80%;
    margin: auto;
    margin-top: auto;
    display: block;
    text-align: center;
    margin-top: 50px;
}

#qrCodeImage {
    width: 40%;
    height: auto;
    max-width: 40%;
    border: 3px solid #2a66c1;
    border-radius: 20px;


}

#sessionIdDisplay {
    font-size: 3vw;
    /* 3% of page width */
}

[data-previous-week="true"] {
    display: none;
}