#sidebar {
    background-color: black;
    max-width: 244px;
    min-width: 244px;
    transition: all 0.35s ease-in-out;
    /* box-shadow: 0 0 35px 0 rgba(49, 57, 66, 0.5); */
    z-index: 2;
}

/* Sidebar collapse */

#sidebar.collapsed {
    margin-left: -244px;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow: unset;
    transition: all 0.35s ease-in-out;
}

.sidebar-logo {
    padding: .3rem 1rem;
}

.sidebar-logo a {
    color: #e9ecef;
    font-size: 1.1rem;
    font-weight: 600;
    padding-bottom: .2rem;
}

.sidebar-nav {
    padding: 0;
}

.sidebar-header {
    color: #858585;
    font-size: .75rem;
    padding: .2rem .8rem .2rem;
}

a.sidebar-link {
    padding: .4rem 1.2rem;
    color: #e9ecef;
    position: relative;
    display: block;
    font-size: .75rem;
}

a.sidebar-link.active {
    background-color: #555;
}

.sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: .6rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

.sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

.sidebar-dropdown {
    margin-left: 1.2em;
}

.sidebar-dropdown a[aria-controls] {
    color: rgb(154, 154, 154);
}

.sidebarIcon {
    font-size: .9rem;
    margin-right: 6px;
}

#selectedClientInfoDiv {
    text-align: end;
    width: 100%;
    color: #15aaad;
    font-size: .7rem;
    margin-top: .1rem;
    user-select: text;
}

.uploadOCRFile {
    padding: 0 0;

    input[type="file"] {
        &::-webkit-file-upload-button {
            display: none;
        }

        &::file-selector-button {
            display: none;
        }
    }

    &:hover {
        label {
            background-color: #dde0e3;
            cursor: pointer;
        }
    }
}

.homePageButton {
    position: relative;
    padding: 10px 20px;
    color: white;
    background-color: #292929c5;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.3s;
}

.homePageButton:hover {
    background-color: #292929fc;
}

.scanner-line {
    position: absolute;
    top: -22px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.9);
}

.scanning .scanner-line {
    animation: scan 2s ease-in-out infinite;
}

@keyframes scan {
    0% {
        top: -50px;
    }

    100% {
        top: 150%;
    }
}