@import url('https://fonts.googleapis.com/css2?family=Anek+Malayalam:wght@100..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --secondaryColor: #f7f9fc;
    --primaryColor: black;
    --containerColor: white;
    --sidebarColor: #233044;
    --menuButtonColor: #9E9E9E;
    --searchColor: rgb(242, 242, 242);
    --topIconColor: rgb(145, 145, 145);
    --topbarColor: white;
    --topIconHoverColor: rgb(242, 242, 242);
    --tableBorderColor: rgb(224, 224, 224);
    --tableHoverColor: rgb(245, 245, 245);
    --tableDataColor: rgba(0, 0, 0, 0.85);

    --textFieldLabelColor: rgba(0, 0, 0, 0.6);

    --switchColor: white;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, 'Segoe UI', sans-serif;

    transition: background-color 0.2s, color 0.2s;
}

body {
    background-color: var(--secondaryColor);

}

.sidebar-wrapper {
    position: fixed;
    width: 260px;
    height: 100vh;
    background-color: var(--sidebarColor);
    z-index: 100;

    left: 0px;

    transition: all 0.3s;
}

.content {
    margin-left: 260px;

    background-color: var(--secondaryColor);

    position: relative;
}

.Frame {
    position: absolute;
    top: 64px;
    padding: 40px;
    width: 100%;
}

@media (max-width:1280px) {
    .Frame {
        padding: 20px;
    }
}

.topbar {
    height: 64px;
    display: flex;
    justify-content: space-between;

    background-color: var(--topbarColor);

    position: fixed;
    width: calc(100% - 260px);

    z-index: 50;


}

.menu-button {
    width: 64px;
    height: 100%;

    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    color: var(--menuButtonColor);

    display: none;
}

.search {

    margin: 10px;
    padding: 10px;

    display: flex;
    align-items: center;

    cursor: text;
}

.search:hover {
    background-color: var(--searchColor);
}

.search i {
    margin: 0 10px;
    color: var(--topIconColor);
}

.search input {
    border: none;
    outline: none;
    background-color: transparent;
    font-size: 13px;

    color: var(--primaryColor);
}

.top-icons {
    font-size: 1.2em;
    color: var(--topIconColor);
    height: 64px;
    display: flex;
    align-items: center;
}

.top-icons i {
    padding: 10px;
    border-radius: 50%;
    margin-left: 5px;

    aspect-ratio: 1/1;

    cursor: pointer;

    position: relative;
}

.top-icons i::after {
    content: attr(data-tooltip);
    position: absolute;
    font-family: Inter, 'Segoe UI', sans-serif;
    font-size: 0.5em;
    background-color: rgb(110, 110, 110);
    color: #EEEEEE;
    padding: 8px;

    border-radius: 5px;
    font-weight: bold;

    top: 130%;
    left: 50%;

    transform: translateX(-50%);

    opacity: 0;

    transition: all 0.3s;

    pointer-events: none;
}


.top-icons i:nth-child(5):after {
    transform: translateX(-60%);
}

.top-icons i:hover:after {
    opacity: 1;
}

.top-icons i:last-child {
    margin-left: 10px;
}

.top-icons i:hover {
    background-color: var(--topIconHoverColor);
}

.sidebar {
    margin: 64px 5px 0px 0px;

    overflow-y: auto;
    height: calc(100% - 128px);
}

.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(116, 121, 119, 0);
    border-radius: 20px;
}

.sidebar:hover::-webkit-scrollbar-thumb {
    background-color: rgb(116, 121, 119);
}

.logo {
    position: absolute;
    width: 100%;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.logo img {
    width: 80%;
    height: 100%;
    object-fit: contain;

    filter: brightness(200%);

    cursor: pointer;
}


.user {
    height: 64px;
    display: flex;
    background-color: #1e2a38;
    align-items: center;

    position: relative;

    cursor: pointer;
}

.user .online-bubble {
    position: absolute;
    width: 12px;
    height: 12px;

    border-radius: 50%;
    border: 1px solid white;
    background-color: #4caf50;

    top: 45px;
    left: 48px;
}

.user img {
    width: 45px;
    height: 45px;
    margin-left: 15px;
    margin-right: 10px;

    object-fit: cover;
    border-radius: 50%;
}

.user div .name {
    font-size: 0.85em;
    color: #EEEEEE;
    font-weight: 400;
    margin-bottom: 5px;
}

.user div .role {
    font-size: 0.75em;
    color: #EEEEEE;
    font-weight: 400;
}

.sidebar .title {
    color: #727a86;
    text-transform: uppercase;
    font-size: 0.75em;
    font-weight: 600;
    padding: 10px 30px;
    margin-top: 10px;
}

.sidebar .item {
    font-size: 0.9em;
    color: #EEEEEE;

    padding: 15px 30px;

    cursor: pointer;

    position: relative;
}

.head-item-arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    translate: 0% -50%;
    rotate: 0deg;

}

.head-item-arrow-rotate {
    rotate: 180deg;
}

.sidebar .item:hover {
    background-color: rgb(32, 44, 63);
}

.sidebar .item-active {
    background-color: rgb(32, 44, 63);
}

.sidebar .item i {
    color: #727a86;
    font-size: 1.1em;
    margin-right: 10px;

    display: inline-flex;
    width: 20px;
    justify-content: center;
}

.sub-items {
    height: 0px;
    overflow: hidden;
    transition: all 0.5s;
}


.sub-items .item {
    padding-left: 70px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.8em;
    color: #bbbbbb;
}


/* Frame Styles */
.top-area {
    display: flex;
    justify-content: space-between;
}

.top-area .title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primaryColor);
}


.location {
    margin-top: 5px;
    font-size: 0.8em;
    color: #8b8b8b;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--tableBorderColor);
    font-weight: 400;

    margin-bottom: 25px;
}

.location span {
    margin: 0px 5px;
}

.location span:first-child {
    margin-left: 0px;
}

.location a {
    text-decoration: none;
    color: #306ed2;
}

.location a:hover {
    text-decoration: underline;
}

.container {
    background-color: var(--containerColor);
    border-radius: 5px;
    padding: 10px;

    box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.08);
}


/* Table Styles */
table {
    margin-bottom: 30px;
    width: 100%;
    color: var(--primaryColor);
    border-collapse: collapse;
}

table tr {
    width: 100%;
    justify-content: space-between;

    border-bottom: 1px solid var(--tableBorderColor);
}

table tr:hover {
    background-color: var(--tableHoverColor);
}

table tr:first-child:hover {
    background-color: transparent;
}

table td {
    text-align: left;
    font-weight: 400;
    font-size: 13px;
    line-height: 19px;
    padding: 20px 10px;

    color: var(--tableDataColor);
}

table th {
    text-align: left;
    font-weight: 500;
    font-size: 13px;
    line-height: 22px;
    padding: 20px 10px;

    color: var(--tableDataColor);
}

table td i {
    margin: 0 5px;
    cursor: pointer;
}

.table-scroll {
    width: 100%;
    overflow: auto;
}

/* For Sidebar */
@media (max-width:960px) {
    .content {
        margin-left: 0px;
    }

    .sidebar-wrapper {
        left: -260px;
    }

    .menu-button {
        display: flex;
    }

    .search {
        display: none;
    }

    .topbar {
        width: 100%;
    }
}

.sidebar-view {
    left: 0px;
}

.overlay {
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);

    display: none;
}



.notification-panel {
    position: fixed;
    z-index: 100;
    right: 10px;
    top: 64px;
    background-color: var(--containerColor);

    border-radius: 5px;
    width: 300px;
    height: 400px;

    box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.08);

    border: 1px solid var(--tableBorderColor);

    display: flex;
    flex-direction: column;


    overflow-y: auto;

    transition: all 0.3s;

    opacity: 0;
    transform-origin: top;
    transform: scaleY(0);

}

.notification-panel-view {
    opacity: 1;
    transform: scaleY(1);
}

.notification-header {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid var(--tableBorderColor);
    font-size: 15px;
}

.notification {
    padding: 10px;
    border-bottom: 1px solid var(--tableBorderColor);
    display: flex;
    align-items: center;

}

.notification .icon {
    flex: 1;

}

.notification .icon i {
    justify-content: center;
    align-items: center;
    background-color: #376fd0;
    color: white;
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;

}

.notification .data {
    flex: 4;
}

.notification .header {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.notification .description {
    font-size: 13px;
    color: #454545;
}

.notification .markasread {
    font-size: 12px;
    text-align: right;
    color: #376fd0;
    margin-top: 5px;

    cursor: pointer;
}

#ContactUsDialog p{
    text-align: center;
    font-size: 15px;
    font-weight: 500;
}

#ContactUsDialog img {
    width: 100%;
    margin-bottom: 10px;
}

#ContactUsDialog .version{
    font-size: 14px;
    margin-bottom: 40px;
    font-weight: bold;
}

.userDetails{
    display: flex;
    flex-direction: column;
    align-items: center;
   
}

.userDetails img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: -50px;
    margin-bottom: 10px;
}

.userDetails .displayName{
    font-weight: bold;
    font-size: 16px;
}

.userDetails .position{
    font-size: 14px;
}

.userDetails .points{
    font-size: 14px;
    margin-top: 20px;
}

.userDetails .buttons{
    display: flex;
    flex-direction: column;
    gap: 15px;

    margin-top: 30px;
    margin-bottom: 15px;
}

.userDetails .buttons button{
    width: 100%;
    border-radius: 18px;
    font-size: 13px;
}


.settingsTab {
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;

}

.settingsTab:hover{
    background-color: rgba(0, 0, 0, 0.05);
}

.settingsTab .icon {
    flex: 1;

}

.settingsTab .icon i {
    justify-content: center;
    align-items: center;
    background-color: #376fd0;
    color: white;
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;

}

.settingsTab .data {
    flex: 4;
}

.settingsTab .header {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.settingsTab .description {
    font-size: 13px;
    color: #454545;
}
