/* Google Font Import - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}



body {
    /*    min-height: 100vh;
*/ background-color: var(--body-color);
    transition: var(--tran-05);
}

::selection {
    background-color: var(--primary-color);
    color: #fff;
}



/* ===== Sidebar ===== */
.sideNavBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    padding: 10px 14px;
    background: var(--sidebar-color);
    /*background: rgba(29, 40, 53, 0.9);*/
    transition: var(--tran-05);
    z-index: 100;
}

    .sideNavBar.close {
        width: 88px;
    }

    /* ===== Reusable code - Here ===== */
    .sideNavBar li {
        height: 50px;
        list-style: none;
        display: flex;
        align-items: center;
        margin-top: 10px;
    }

    .sideNavBar header .image,
    .sideNavBar .icon {
        min-width: 60px;
        border-radius: 6px;
    }

    .sideNavBar .icon {
        min-width: 60px;
        border-radius: 6px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }

    .sideNavBar .text,
    .sideNavBar .icon {
        color: var(--sidebar-icon-color);
        transition: var(--tran-03);
    }

    .sideNavBar .text {
        font-size: 17px;
        font-weight: 500;
        white-space: nowrap;
        opacity: 1;
    }

    .sideNavBar.close .text {
        opacity: 0;
    }
    /* =========================== */

    .sideNavBar header {
        position: relative;
    }

        .sideNavBar header .image-text {
            display: flex;
            align-items: center;
        }

        .sideNavBar header .logo-text {
            display: flex;
            flex-direction: column;
        }

header .image-text .text-line1 {
    margin-top: 2px;
    font-size: 18px;
    font-weight: 600;
    color: white !important;
}

header .image-text .text-line2 {
    font-size: 16px;
    margin-top: -2px;
    display: block;
    color: white;
}

.sideNavBar header .image {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .sideNavBar header .image img {
        width: 40px;
        border-radius: 6px;
    }

.sideNavBar header .toggle {
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%) rotate(180deg);
    height: 25px;
    width: 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: var(--tran-05);
}

body.dark .sideNavBar header .toggle {
    color: var(--text-color);
}

.sideNavBar.close .toggle {
    transform: translateY(-50%) rotate(0deg);
}

.sideNavBar .menu {
    margin-top: 40px;
}

.sideNavBar li.search-box {
    border-radius: 6px;
    background-color: var(--primary-color-light);
    cursor: pointer;
    transition: var(--tran-05);
}

    .sideNavBar li.search-box input {
        height: 100%;
        width: 100%;
        outline: none;
        border: none;
        background-color: var(--primary-color-light);
        color: var(--text-color);
        border-radius: 6px;
        font-size: 17px;
        font-weight: 500;
        transition: var(--tran-05);
    }

.sideNavBar li a {
    list-style: none;
    height: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--tran-03);
}

    .sideNavBar li a:hover {
        background-color: #0a58ca;
    }

        .sideNavBar li a:hover .icon,
        .sideNavBar li a:hover .text {
            color: white;
        }

body.dark .sideNavBar li a:hover .icon,
body.dark .sideNavBar li a:hover .text {
    color: white;
}

.sideNavBar .menu-bar {
    height: calc(100% - 55px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: scroll;
}

.menu-bar::-webkit-scrollbar {
    display: none;
}

.sideNavBar .menu-bar .mode {
    border-radius: 6px;
    background-color: var(--primary-color-light);
    position: relative;
    transition: var(--tran-05);
}

.menu-bar .mode .sun-moon {
    height: 50px;
    width: 60px;
}

.mode .sun-moon i {
    position: absolute;
}

    .mode .sun-moon i.sun {
        opacity: 0;
    }

body.dark .mode .sun-moon i.sun {
    opacity: 1;
}

body.dark .mode .sun-moon i.moon {
    opacity: 0;
}

.menu-bar .bottom-content .toggle-switch {
    position: absolute;
    right: 0;
    height: 100%;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
}

.toggle-switch .switch {
    position: relative;
    height: 22px;
    width: 40px;
    border-radius: 25px;
    background-color: var(--toggle-color);
    transition: var(--tran-05);
}

.switch::before {
    content: '';
    position: absolute;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    background-color: var(--sidebar-color);
    transition: var(--tran-04);
}

body.dark .switch::before {
    left: 20px;
}

.home {
    position: absolute;
    top: 0;
    top: 0;
    left: 250px;
    width: calc(100% - 250px);
    transition: var(--tran-05);
}

    .home .text {
        font-size: 30px;
        font-weight: 500;
        color: var(--text-color);
        padding: 12px 60px;
    }

.sideNavBar.close ~ .home {
    left: 78px;
    height: 100vh;
    width: calc(100% - 78px);
}

body.dark .home .text {
    color: var(--text-color);
}

.link-active-icon {
    background-color: var(--link-active-color); /* or any other highlighting style you prefer */
}

.link-active {
    background-color: var(--active-color); /* or any other highlighting style you prefer */
}

.icon-active {
    color: white !important;
}

.nav-text-active {
    color: white !important;
}

.row-pd {
    padding: 12px 60px !important;
}

.form-control {
    border: 1px solid #ccc;
    /*background-color: var(--sidebar-color) !important;*/
    color: var(--text-color) !important;
    margin-top: 10px;
}

.btn {
    margin-top: 8px;
}

.scrollbar-ripe-malinka::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: #FFFFFF;
    border-radius: 10px;
}

.scrollbar-ripe-malinka::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background-color: #F5F5F5;
}

.scrollbar-ripe-malinka::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background: #ACACAC;
}


/*-------------Begin Tab Style---------------*/
/* Style the tab */
.tab {
}

    /* Style the buttons inside the tab */
    .tab button {
        border-radius: 25px;
        background-color: inherit;
        border: none;
        outline: none;
        cursor: pointer;
        transition: 0.3s;
        font-size: 17px;
        color: var(--text-color);
        padding: 10px;
    }

        /* Change background color of buttons on hover */
        .tab button:hover {
            background-color: var(--active-color);
            cursor: pointer;
            color: var(--text-white);
        }

        /* Create an active/current tablink class */
        .tab button.active {
            background-color: var(--active-color);
            color: white;
        }

.tablinks {
    margin: 10px 0;
    font-size: 18px;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
}

/* Style the tab content */
.tabcontent {
    display: none;
    border-top: none;
}

/* Style the close button */
.topright {
    float: right;
    cursor: pointer;
    font-size: 28px;
}

    .topright:hover {
        color: red;
    }
/*--------------End Tab Style----------------*/

.hide-my-column {
    display: none;
}


table th {
    background: var(--sidebar-color) !important;
    color: var(--text-white) !important;
}

thead tr {
    background: var(--th-color);
}

.main-row-color {
    background: var(--table-main-row-color);
    color: var(--table-main-row-text-color);
}

.alt-row-color {
    background: var(--table-alt-row-color);
    color: var(--table-alt-row-text-color);
}

.modal-custom-style {
    background: var(--modal-custom-bg-color) !important;
    color: var(--text-color) !important;
    border-radius: 20px !important;
}

.selection-box a {
    text-decoration: none !important;
    color: var(--text-color) !important;
}

a:hover .selection-item {
    background-color: #0a58ca; /* Set the background color to white on hover */
}

.selection-item span {
    font-size: 0.8vw !important;
}

.nav-link:focus, .nav-link:hover {
    color: var(--sidebar-icon-hover-color) !important;
}

.selection-box a {
    color: var(--selection-link-color) !important;
}

    .selection-box a:hover {
        color: var(--selection-link-hover-color) !important;
    }

.btn-primary {
    background-color: var(--active-color) !important;
}
