﻿
.login-wrapper {
    width: 51vw;
    background: rgba(234, 243, 250, 1);
    padding:1rem;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

    .login-wrapper .line {
        background-color: rgba(40, 137, 202, 1);
        width: 63.68px;
        height: 6.36px;
        margin: 0 auto;
    }
    .login-wrapper .login-tab-icon{
        width:24px;
    }
    .login-wrapper .login-description {
        font-family: Geist;
        font-weight: 400;
        font-size: 20px;
        line-height: 100%;
        text-align: center;
        color: #333333;
        padding-top:2.2rem;
    }

    .login-wrapper .login-header {
        font-family: Geist;
        font-weight: 700;
        font-size: 30px;
        text-align: center;
        color: #1C618F;
        position:relative;
        top:0;
        left:0;
    }

    .login-wrapper .login-tab {
        border-radius: 10px;
        border: 1px solid #9CC9E7;
        padding: 8px 20px;
        background-color: white;
        color: #1C618F;
        display: flex;
        align-items: center;
        
    }
    .login-wrapper .login-image{
        max-width:450px;
    }

.login-wrapper .login-tabs {
    gap: 1rem;
    padding-top: 1.3rem;
}
.login-form .form-label {
    font-family: Geist;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
}

.login-form .forgot-password-link {
    color: #2889CA;
    font-family: Geist;
    font-weight: 500;
    font-size: 14px;
}
    .login-form .forgot-password-link:hover {
        color: #0F3D93;
    }
.login-form {
    background: white;
    width: 49vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}
.login-form form {
        max-width: 350px;
        width: 100%;
    }
    .login-form .login-title {
        color: #495057;
    }

.login-container-user {
    position: relative;
    min-height: 100vh;
    width: 100vw;
    font-family: "Geist" !important;
    /*    overflow: hidden;*/
    display: flex;
}

/* for laptop width 1600px x 768px*/
@media (max-width:1600px) {

    .login-wrapper .login-tab {
        padding: 6px 13px;
    }

    .login-wrapper .login-description {
        font-size: 17px;
        padding-top:1.8rem;
    }

    .login-wrapper .login-header {
        font-size: 22px;
    }

    .login-wrapper .login-image {
        max-width: 350px;
    }

    .login-wrapper .login-tabs {
        gap: 0.5rem;
    }
    
}


@media(max-width:768px) {
    .login-wrapper {
        width: 100vw;
        flex: 1;
    }

    .login-form {
        width: 100vw;
    }

    .login-container-user {
        flex-direction: column-reverse;
        overflow-y: auto;
    }
    .login-wrapper .login-tab{
        padding:8px 13px;
    }
    .login-form form {
        max-width: 327px;
    }
    .login-wrapper .login-tabs {
        padding-bottom: 1rem;
    }
    .login-wrapper .login-image {
        max-width: 325px;
    }
    .login-wrapper .line {
        display: none;
    }
    .login-wrapper .login-tab-icon {
        width: 16px;
    }

    .login-wrapper .login-description {
        font-size: 16px;
    }

    .login-image {
        max-width: 307px;
    }

    .login-wrapper .login-tab {
        font-size: 10px;
    }

    .login-wrapper .login-header {
        font-size: 20px;
    }
}

.login-container {
    position: relative;
    height: 100vh;
    width: 100vw;
    font-family: "Geist" !important;
    overflow: hidden;
}

.login-header {
    position: absolute;
    top: 4vh;
    left: 4vw;
    color: white;
}

.heading-1,
.heading-2 {
    font-weight: 500;
    font-size: 2rem;
    line-height: 43px;
    padding-left: 2px;
}

.toggle-icon {
    position: absolute;
    right: 10px;
    top: 34px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.heading-2 {
    opacity: 50%;
}

.heading-3,
.heading-4 {
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 46px;
    padding-left: 2px;
}

.heading-4 {
    opacity: 50%;
}

.login-header-brand {
    display: flex;
    align-items: start;
    margin-bottom: 1rem;
    gap: 0.5em;
    justify-content: center;
}

.login-header-description {
    font-weight: 200;
    font-style: normal;
    font-size: 1rem;
    line-height: 1;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    max-width: fit-content;
    margin-top: 3px;
}

.login-description {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #9a9a9a;
}

.top-grad {
    position: absolute;
    top: 0;
    background: linear-gradient( 178.94deg, #2889ca -97.98%, #1e6697 38.58%, rgba(20, 68, 100, 0) 94.85% );
    width: 100vw;
    height: 70vh;
    z-index: -1;
}

.image-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 80vh;
    object-fit: cover;
    object-position: left center;
    z-index: -2;
}

.hl {
    position: absolute;
    right: 18vw;
    top: 52px;
    z-index: -1;
    stroke-opacity: 0.5;
}

.hc {
    position: absolute;
    left: 18vw;
    top: 56px;
    z-index: -1;
    stroke-opacity: 0.5;
}

.hr {
    position: absolute;
    left: 18vw;
    top: 52px;
    z-index: -1;
    stroke-opacity: 0.5;
}

.vc {
    position: absolute;
    left: 29vw;
    top: 52px;
    z-index: -1;
    stroke-opacity: 0.5;
}

.task-card {
    width: 18vw;
    padding: 16px;
    margin-top: 2px;
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.card-center {
    position: absolute;
    top: 116px;
    left: 20vw;
}

.card-top {
    position: absolute;
    top: 26vh;
    left: 18vw;
}

.login-heading {
    color: #302f2f;
    font-weight: 700;
    line-height: 32px;
}

.login-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 32px;
    letter-spacing: -0.6%;
}

.login-component {
    position: absolute;
    max-width: 404px;
    width: 100%;
    opacity: 1;
    border-radius: 15px;
    padding: 32px 24px;
    background-color: white;
    right: 10%;
    top: 50%;
    transform: translateY(-50%)
}

.task-description {
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    margin-top: 3px;
}

.task-badge-title {
    font-weight: 700;
    font-size: 28px;
    line-height: 1;
}

.total-task {
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
}

.right-grad {
    position: absolute;
    background: linear-gradient( 273.64deg, #206ea2 1.79%, rgba(32, 110, 162, 0) 58.64% );
    background-size: cover;
    background-position: center;
    right: 0;
    height: 100vh;
    width: 969px;
    z-index: -1;
}

.task-badge {
    background: rgba(255, 255, 255, 0.3);
    height: min-content;
    font-weight: 700;
    font-size: 10px;
    line-height: 1;
}

@media (max-width: 500px) {
    .task-card,
    .right-grad {
        display: none;
    }

    .top-grad {
        width: 100vw;
        height: 100vh;
        background: rgba(33, 111, 164, 0.7);
    }

    .login-component {
        max-width: 93vw;
        padding: 24px 16px;
        right: unset;
        margin: 0 auto;
        position: relative;
    }

    .image-bottom {
        height: 100vh;
        width: 100vw;
    }

    .heading-1,
    .heading-2 {
        font-weight: 500;
        font-size: 23.13px;
        line-height: 33.25px;
    }

    .heading-3,
    .heading-4 {
        font-weight: 700;
        font-size: 27.47px;
        line-height: 33.25px;
    }
}

@media (max-width: 1208px) {
    .login-header-description,
    .hr,
    .hl,
    .hc,
    .vc {
        display: none;
    }

    .card-top {
        top: 28vh;
        left: 4vw;
    }

    .card-center {
        top: -2px;
        left: 20vw;
    }


    .login-header-description {
        width: 50vw;
    }

    .heading-1,
    .heading-2 {
        font-size: 23.13px;
        line-height: 33.25px;
    }

    .heading-3,
    .heading-4 {
        font-size: 27.47px;
        line-height: 33.25px;
    }
}

@media (max-width: 768px) {
    .task-card {
        display: none;
    }
}

body {
    background: rgba(245, 248, 247, 1) !important;
}

.sidebar {
    --bg: rgba(186, 196, 220, 0.5);
    --sidebar-width: 270px;
    --sidebar-collapsed-width: 67px;
    --border: #e9ecef;
    --sidebar-bg: #bac4dc26;
    --text-heading-color: #302f2f;
    --text-active-color: #333333;
    --text-color: #6B6B6B;
}

.sidebar-logo-text {
    color: var(--text-heading-color);
    font-weight: 700;
    font-size: 21px;
}

.sidebar-logo {
    max-width: 150px;
    max-height: 68px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    padding: 1px;
    border: 0;
    /*box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);*/
}

/* Sidebar Styles */
.sidebar {
    font-family: "Geist" !important;
    width: var(--sidebar-width);
    max-height: 100vh;
    background: var(--sidebar-bg);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 24px;
    top: 24px;
    bottom: 24px;
    z-index: 100;
    transition: width 0.3s ease;
    padding: 12px;
    gap: 32px;
}
.profileNotificationWrap {
    display: none;
}

.profileWrap {
    display: none;
}


    /* Collapsed Sidebar */
    .sidebar.collapsed {
        width: var(--sidebar-collapsed-width);
        align-items: center;
    }

        .sidebar.collapsed .nav-text,
        .sidebar.collapsed .submenu-icon {
            opacity: 0;
            visibility: hidden;
            display: none;
        }

        .sidebar.collapsed .sub-nav:before {
            content: attr(data-label);
            padding: 4px 13px;
            display: flex;
            font-weight: 400;
            font-size: 12px;
            color: var(--text-active-color);
        }

        .sidebar.collapsed .sidebar-nav .nav-list .nav-item .sub-nav .nav-link {
            box-shadow: 0px 1px 3px 0px #0000000d;
        }

        .sidebar.collapsed .nav-link:hover {
            background: var(--bg);
        }

/* Sidebar Header */
.sidebar-header {
    padding: 0;
    border-bottom: none;
    min-height: auto;
    display: flex;
    align-items: center;
    width: 100%;
}

.logo-container {
    width: 246px;
    height: 80px;
    padding: 6px 15px;
    transition: all 0.3s ease;
    gap: 28px;
    background-color: white;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    justify-content: space-between;
}

.sidebar.collapsed .logo-container {
    max-width: 51px;
    height: 111px;
    padding: 9px 0 8px 0;
    margin: auto;
    justify-content: center;
    flex-direction: column;
}
.sidebar.collapsed .sidebar-logo {
    width: 40px;
    max-width: 40px;
    height: 40px;
    padding: 2px;
}
.logo {
    transition: all 0.3s ease;
}

.menu-icon {
    font-size: 18px !important;
    padding: 0px 8px;
    margin-right: 0 !important;
}


.menu-toggle {
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease;
}

    .menu-toggle::after {
        content: none !important;
    }

    .menu-toggle:hover {
        transform: scale(1.1);
    }

/* Navigation Styles */
.sidebar-nav {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    overflow-y: auto;
    white-space: nowrap;
}

.sidebar .sub-nav.profile-container {
    margin-left: 0;
    position: absolute;
    bottom: 56px;
    background: white;
    width: 90%;
    border-radius: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 10px;
}

.sidebar .nav-list {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 10px;
    margin-bottom: 0;
}

   .sidebar .nav-list .user-profile-container {
        width: 100%;
        margin-top: auto;
    }

.sidebar.collapsed .sub-nav.profile-container {
    left: 0px;
    top: auto;
    transform: none;
    bottom: 40px;
}

.sidebar.collapsed .user-profile-container .nav-item .nav-link {
    overflow: hidden;
}

.nav-item {
    margin: 0;
}

.sidebar.collapsed .sub-nav .nav-text {
    opacity: 1;
    visibility: visible;
    display: block;
}

.sidebar.collapsed .nav-list .nav-item {
    position: relative;
}

.sidebar.collapsed .sidebar-nav,
.sidebar.collapsed .nav-list {
    overflow: visible;
}

.sidebar.collapsed .sub-nav {
    display: none;
    background-color: white;
    width: 246px;
    height: auto;
    position: absolute;
    left: 100%;
    top: 36px;
    transform: translateX(12px) translateY(-36px);
    margin: 0;
    gap: 6px;
    padding: 10px;
    box-shadow: 0px 1px 18.6px 0px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    font-weight: 400;
    font-size: 14px;
}

.sidebar .nav-link {
    color: var(--text-color) !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    position: relative;
    max-width: 246px;
    width: 100%;
    height: 36px;
    border-radius: 10px;
    gap: 6px;
    cursor: pointer;
    padding: 0px 5px !important;
}

    .sidebar .nav-link svg path {
        stroke: rgba(107, 107, 107, 1);
    }

    .sidebar .nav-link.active svg path {
        stroke: rgba(34, 65, 142, 1);
    }

    .sidebar .nav-link i {
        color: rgba(107, 107, 107, 1);
    }

    .sidebar .nav-link.active i {
        color: rgba(34, 65, 142, 1);
    }

    .sidebar .nav-link svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .sidebar .nav-link:hover {
        color: var(--text-active-color) !important;
        border-radius: 10px;
        background: var(--bg);
        text-decoration: none;
        font-size: 14px;
    }

        .sidebar .nav-link:hover svg path {
            stroke: rgba(34, 65, 142, 1);
        }
        .sidebar .nav-link:hover i {
            color: rgba(34, 65, 142, 1);
        }

    .sidebar .nav-link.active .nav-text {
        color: var(--text-active-color);
        font-size: 13px;
        font-weight: 500;
    }

.sidebar.collapsed .nav-link.active .nav-text {
    font-weight: 500;
}

.sidebar .nav-link.active {
    background: white;
    color: var(--text-active-color);
    border-radius: 10px;
    margin: 0;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.05);
}

.sidebar .nav-item:has(.sub-nav .nav-link.active) .nav-link .nav-text {
    color: var(--text-active-color);
}


.sidebar.collapsed .sidebar-nav .nav-list
.nav-item:has(.sub-nav .nav-link.active) > .nav-link {
    background: white;
    border-radius: 10px;
    margin: 0;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.05);
}


    .sidebar.collapsed .sidebar-nav .nav-list
    .nav-item:has(.sub-nav .nav-link.active) > .nav-link svg path {
        stroke: rgba(34, 65, 142, 1) !important;
    }

    .sidebar.collapsed .sidebar-nav .nav-list
    .nav-item:has(.sub-nav .nav-link.active) > .nav-link .menu-icon {
        color: rgba(34, 65, 142, 1) !important;
    }

.sidebar .nav-link i {
    font-size: 16px;
    transition: margin 0.3s ease;
}

.sidebar.collapsed .nav-link i {
    font-size: 16px;
    margin: 0 !important;
}

.sidebar .nav-text {
    flex: 1;
    transition: opacity 0.3s ease;
    display: block;
    cursor: pointer;
}

.sidebar .submenu-icon {
    font-size: 12px;
    transition: all 0.3s ease;
    display: block;
}

/* Sub Navigation */
.sidebar .sub-nav {
    display: none;
    padding-left: 32px;
    padding-top: 4px;
    max-height: 0;
    transition: max-height 0.3s ease;
    cursor: pointer;
}

    .sidebar .sub-nav.show {
        display: flex;
        flex-direction: column;
        gap: 6px;
        max-height: fit-content;
        overflow-y: scroll;
        overflow-x: hidden;
    }

.sidebar.collapsed .sub-nav.show {
    display: flex;
}
.sidebar .profile-container.show {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: fit-content;
    overflow-y: scroll;
    overflow-x: hidden;
}

.sidebar.collapsed .profile-container.show {
    display: flex;
}

.sidebar .sub-nav .nav-link {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 5px;
    font-size: 13px;
    border: none;
}

    .sidebar .sub-nav .nav-link.active {
        background: white;
        color: var(--text-active-color);
        border-radius: 8px;
        box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.05);
    }

/* Custom Scrollbar */
.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}
/* Scrollbar width */
.sub-nav.show::-webkit-scrollbar,
.sidebar.collapsed .sub-nav::-webkit-scrollbar {
    width: 4px;
}

/* Scrollbar track */
.sub-nav.show::-webkit-scrollbar-track,
.sidebar.collapsed .sub-nav::-webkit-scrollbar-track {
    background: transparent;
}

/* Scrollbar thumb */
.sub-nav.show::-webkit-scrollbar-thumb,
.sidebar.collapsed .sub-nav::-webkit-scrollbar-thumb {
    background: #bac4dc50;
    border-radius: 2px;
}

.sidebar.collapsed .sub-nav.sub-nav.profile-container:before {
    content: none;
}

@media (max-height: 768px) and (min-width: 1024px) {
    .sidebar.collapsed .sub-nav.show {
        max-height: 175px;
    }

    .sidebar .sub-nav.show {
        max-height: fit-content;
    }
}
@media (max-width: 768px) {
    .sidebar {
        position: relative;
        height: fit-content;
        background-color: #fff;
        z-index: 3;
        border-radius: 0px;
        width: 100%;
        top: 0px;
        left: 0px;
        padding: 0;
        gap: 0;
        height: 100vh; /* added */
        /*   padding: 4px 12px;
 */
    }
        .sidebar.collapsed .logo-container {
            height: auto;
        }
        .sidebar.collapsed {
            height: fit-content;
        }

            .sidebar.collapsed .sidebar-nav {
                display: none;
            }

    .logoProfileWrap {
        position: relative; /* ensures the dropdown positions under avatar */
    }

    .sidebar .sub-nav.profile-container {
        bottom: auto !important;
        top: 95% !important;
        position: absolute;
        left: auto !important;
        right: 0 !important;
        display: none;
        z-index: 2000 !important;
        max-height: fit-content;
        height: fit-content !important;
    }

        .sidebar .sub-nav.profile-container.show {
            display: block !important;
        }

    .sidebar .nav-link {
        max-width: 100%;
    }

    .sidebar .nav-list .user-profile-container {
        display: none;
    }

    .sidebar.collapsed .nav-list .user-profile-container {
        display: block;
    }

    .sidebar.collapsed .sub-nav.profile-container {
        bottom: auto;
        top: 40px;
        right: 30px;
        z-index: 200;
    }

    .logoContainer {
        flex: 2;
    }

    .profileNotificationWrap {
        display: block;
    }

    .collapseExpand .profileNotificationWrap {
        display: none;
    }

    .logoProfileWrap {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex: 1;
    }

    .collapseExpand .profileWrap {
        display: block;
    }


    .profileWrap .closeIcon {
        color: #2889ca;
        border: 1px solid #e8e8e8;
        box-shadow: 0px 4px 4px 0px #a4a4a414;
        border-radius: 8px;
        width: 40px;
        text-align: center;
        padding: 8px 0;
        cursor: pointer;
    }

    .sidebar.collapsed {
        width: 100% !important;
        align-items: flex-start !important;
        background-color: #fff;
    }

    .sidebar.collapseExpand {

        width: 100vw;
        align-items: flex-start !important;
        background-color: #fff;
        border-bottom: 1px solid #e8e8e8;
    }

        .sidebar.collapseExpand .menu-toggle {
            display: none;
        }

    .sidebar-nav {

        background-color: #ecf0f3;
        width: 100%;
        padding: 16px;

    }

    .sidebar.collapsed .sidebar-logo {
        width: auto;
        max-width: 150px;
        height: 60px;
    }

    .sidebar.collapsed .logo-container {
        padding-left: 24px;
        padding-right: 24px;
        flex-direction: row-reverse;
        max-width: 100%;
    }

    .logo-container {
        border: none;
        padding: 5px 24px;
        flex-direction: row-reverse;
        justify-content: left;
        width: 100%;
    }

    .nav-link {
        max-width: 100%;
    }

        .nav-link.active {
            max-width: 100%;
            border-radius: 8px;
        }
}

.layout-page {
    --sidebar-width: 270px;
    flex-grow: 1;
    margin-right: 24px;
    margin-top: 24px;
    margin-bottom: 24px !important;
    transition: margin-left 0.3s ease;
    margin-left: calc(var(--sidebar-width) + 48px);
    height: fit-content !important;
}

    .layout-page.collapsed {
        --sidebar-width: 67px;
        margin-top: 24px;
        margin-bottom: 24px;
        margin-right: 24px;
    }

.user-actions {
    font-family: "Geist";
    font-weight: 500;
    font-size: 14px;
    position: absolute;
    top: 55.5px;
    right: 48px;
    z-index: 10;
    color: black;
}

    .user-actions .notification-icon,
    .user-actions .logout-container {
        background-color: white;
    }

    .user-actions .logout-container {
        padding: 4px 10px;
        gap: 4px;
    }

.outletContainer {
    padding-top: 0px !important;
    border: 1px solid #e8e8e8;
    border-radius: 15px;
    background-color: #fff;
    font-family: "Geist" !important;
}

@media (max-width: 768px) {
    .layout-container {
        flex-direction: column;
        padding: 0;
    }

    .layout-page {
        margin: 0;
        display: none !important;
    }

    .outletContainer {
        border: none;
        border-radius: 0px;
    }

    .layout-container .layout-page.collapsed {
        background-color: #fff;
        margin: 0px;
        display: flex !important;
        width: 100vw !important;
        margin-bottom: 0px !important;
    }
}
.att-btn {
    font-size: 0.875rem;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: all 0.2s ease;
}

.att-btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
}

    .att-btn-secondary:hover {
        background-color: #5c636a;
        border-color: #565e64;
        color: white;
    }

.att-btn-primary {
    background-color: #2b89ca;
    border-color: #2b89ca;
    color: #fff;
}

    .att-btn-primary:hover {
        background-color: #2474ab;
        border-color: #2474ab;
        color: #fff;
    }

.att-btn:disabled,
.att-btn.disabled {
    opacity: 0.65;
    cursor: default;
    pointer-events: none;
}


.att-btn-secondary:disabled,
.att-btn-secondary.disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    opacity: 0.65;
}

.att-btn-primary:disabled,
.att-btn-primary.disabled {
    background-color: #2b89ca;
    border-color: #2b89ca;
    color: #fff;
    opacity: 0.65;
}