﻿

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
    user-select: none; /* Standard syntax */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    font-size: 62.5%;
}

::-webkit-scrollbar {
    width: 0.1px;
    height: 5px;
    background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background-color: #000000;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #555555;
    }



@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 10px;
    }

    .db_status {
        display: none !important;
    }
}

body {
    background: white;
    margin: 0;
    padding: 0;
}

@media print {
    /* Add your print styles here */

    .print-header {
        display: none;
    }

    /* Hide footer */
    .print-footer {
        display: none;
    }

    #content {
        font-family: Arial, sans-serif;
        line-height: 1.5;
        max-width: 90%;
        margin: 0.5rem auto;
        padding: 20px;
        border: 1px solid #ccc;
    }

    .record table {
        width: 100%;
        table-layout: fixed;
    }

        .record table tbody tr td:first-child {
            width: 40%;
        }

        .record table tbody tr td:last-child {
            width: 60%;
        }

    input {
        border: none;
        border-bottom: 1px solid black;
        background-color: transparent;
        width: 100%;
        box-sizing: border-box;
    }

        input:focus {
            outline: none;
            border-bottom: 1px solid #007bff;
        }

}



/* ---------------------------------------- Sidebar Menu Css ------------------------------------------------ */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 78px;
    background: linear-gradient(to top, #0C3D65, #093050);
    /*background: #005594;*/
    padding: 6px 14px;
    z-index: 99;
    transition: all 0.5s ease;
}

    .sidebar.open {
        width: 250px;
    }

    .sidebar .logo-details {
        height: 60px;
        display: flex;
        align-items: center;
        position: relative;
    }

        .sidebar .logo-details .icon {
            opacity: 0;
            transition: all 0.5s ease;
        }

        .sidebar .logo-details .logo_name {
            color: #fff;
            font-size: 20px;
            font-weight: 600;
            opacity: 0;
            transition: all 0.5s ease;
        }

    .sidebar.open .logo-details .icon,
    .sidebar.open .logo-details .logo_name {
        opacity: 1;
    }

    .sidebar .logo-details #btn {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        font-size: 22px;
        transition: all 0.4s ease;
        font-size: 23px;
        text-align: center;
        cursor: pointer;
        transition: all 0.5s ease;
    }

    .sidebar.open .logo-details #btn {
        text-align: right;
    }

    .sidebar i {
        color: #fff;
        height: 60px;
        min-width: 50px;
        font-size: 28px;
        text-align: center;
        line-height: 60px;
    }

    .sidebar .nav-list {
        margin-top: 20px;
        height: 100%;
        padding-left: 0;
        overflow: scroll;
    }

    .sidebar li {
        position: relative;
        margin: 8px 0;
        list-style: none;
    }

.menu_list {
    display: flex;
    height: 100%;
    width: 100%;
    border-radius: 12px;
    align-items: center;
    text-decoration: none;
    transition: all 0.4s ease;
}

    .menu_list:hover {
        background: #FFF;
    }


.sidebar li a .notification-count {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    right: 0;
    color: white;
    font-size: .7rem;
    font-weight: 600;
    transform: translate(10px,-10px);
    height: 1.3rem;
    width: 1.3rem;
    border-radius: 50%;
    background: red;
}

.sidebar li a .links_name {
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
}

.sidebar.open li a .links_name {
    opacity: 1;
    pointer-events: auto;
}

.sidebar li a:hover .links_name,
.sidebar li a:hover i {
    transition: all 0.5s ease;
    color: #11101D;
}

.sidebar li i {
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    border-radius: 12px;
}

.sidebar li.profile {
    position: fixed;
    height: 60px;
    width: 78px;
    left: 0;
    bottom: -8px;
    padding: 10px 14px;
    background: #014475;
    transition: all 0.5s ease;
    overflow: hidden;
}

.sidebar.open li.profile {
    color: #fff;
    width: 250px;
}

.sidebar.open li .profile-details {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.sidebar li .profile-details {
    display: none;
}

.sidebar li img {
    height: 45px;
    width: 45px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 10px;
}

.sidebar li.profile .name,
.sidebar li.profile .job {
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    white-space: nowrap;
}

.sidebar li.profile .job {
    font-size: 12px;
}

.sidebar .profile #log_out {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 60px;
    line-height: 60px;
    border-radius: 0px;
    transition: all 0.5s ease;
}

.sidebar.open .profile #log_out {
    width: 5rem;
}

.home-section {
    position: relative;
    min-height: 100vh;
    top: 0;
    left: 78px;
    width: calc(100% - 78px);
    transition: all 0.5s ease;
    z-index: 2;
}

.sidebar.open ~ .home-section {
    left: 250px;
    width: calc(100% - 250px);
}

.submenu {
    display: none;
}

    .submenu.show {
        display:block;
    }

@media (max-width: 420px) {
    .sidebar li .tooltip {
        display: none;
    }
}

.loading-animation {
    display:flex;
    justify-content:center;
    align-items:center;
    height:80vh;
}
    .loading-animation #lodder{

        width:100px;
        height:100px;

    }

/*--------------------------*/
    a {
        text-decoration: none;
    }

.anchorLink {
    color: #444;
    margin: 0.8rem 0;
    text-decoration: none;
}

.alert-danger {
    animation: cssAnimation 5s forwards;
}


.list-group-item {
    background-color: #005594;
    color: #fff;
    line-height: 1;
    margin: 0 -.25rem;
    padding: 0 .25rem;
    font-weight: 400;
}

    .list-group-item:hover {
        background-color: #006ec4;
        color: #fff;
        font-weight: 400;
        border-radius: 5px;
        color: white;
    }

.list-group-item {
    background: linear-gradient(0deg, slateblue, slateblue) no-repeat right bottom / 0 var(--bg-h);
    transition: background-size 350ms;
    --bg-h: 100%;
}

    .list-group-item:where(:hover, :focus-visible) {
        background-size: 100% var(--bg-h);
        background-position-x: left;
    }

.adjust_table {
    overflow-x: scroll;
    width: 100%;
}

th {
    color: White;
    background: #005594 !important;
    border-bottom: 1px solid #9ea7af;
    border-right: 1px solid #343a45;
    text-align: left;
}

    th:last-child {
        width: max-content;
    }

tr {
    border-top: 1px solid #C1C3D1;
    border-bottom: 1px solid #C1C3D1;
    color: black;
}

    tr:hover td {
        background: #4E5066;
        color: #FFFFFF;
        border-top: 1px solid #22262e;
    }

    tr:first-child {
        border-top: none;
    }

    tr:last-child {
        border-bottom: none;
    }

    tr:nth-child(even) td {
        background: #a9b1be;
    }

    tr:nth-child(even):hover td {
        background: #4E5066;
    }

    tr:nth-child(odd) td {
        background: #EBEBEB;
    }

    tr:nth-child(odd):hover td {
        background: #4E5066;
    }

td {
    background: #FFFFFF;
    text-align: left;
    border-right: 1px solid #C1C3D1;
}

    td:last-child {
        border-right: 0px;
    }


@keyframes cssAnimation {
    0% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.conatiner {
    padding: 1rem;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    border-radius: 1rem;
    overflow: hidden;
}

.tab-content {
    position: relative;
    padding: 0.3rem 0;
    display: grid;
    grid-template-columns: auto auto auto;
}

.user-info {
    display: flex;
    flex-direction: column;
    padding: 0.3rem 1rem;
}

.user-label {
    font-weight: 500;
    padding: 0.3rem;
}

.Rightside {
    position: absolute;
    top: 0;
    right: 0;
    padding-right: 1.5rem;
}
