:root {
    --bs-primary: #2D6AB3;
    --bs-text-primary: #045999;
    --bs-secondary: #8A161C;
    --bs-text-secondary: #973336;
    --fs-lg: 48px;
}

html,
body,
h1,
h2,
h3 {
    font-family: "Open Sans", sans-serif;
    
}

input, textarea {
    box-shadow: none !important;
}

    input:focus {
        outline: none !important;
        border-color: #045999;
        box-shadow: 0 0 10px #045999;
    }

    textarea:focus {
        outline: none !important;
        border-color: #045999;
        box-shadow: 0 0 10px #045999;
    }

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.text-primary {
    color: var(--bs-text-primary) !important;
}

.btn-secondary {
    background: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.h-100vh {
    height: 100dvh;
}

.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
}

.signup-page {
    background: #E1E7F0;
}

.signup-txt {
    height: fit-content;
    margin: auto;
    max-width: 380px;
}

    .signup-txt span {
        width: 50px;
        height: 2px;
        background: #D9D9D9;
        display: block;
        margin: auto;
    }

    .signup-txt h1 {
        font-size: var(--fs-lg);
    }

        .signup-txt h1:after {
            content: "";
        }

.signup-login-form-main {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.signup-login-form-top {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-login-form-footer {
    flex-shrink: 0;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-login-form-card {
    box-shadow: 0px 4px 10px 5px rgba(0, 0, 0, 0.05);
    background: #fff;
    max-width: 400px;
    padding: 40px;
    border-radius: 10px;
}

    .signup-login-form-card h2 {
        font-size: 28px;
        font-weight: 700;
        line-height: 38.13px;
        color: var(--bs-text-primary);
    }

    .signup-login-form-card .input-group-text {
        background: transparent;
        color: var(--bs-text-secondary);
    }

.left-sidebar {
    width: 296px;
    flex-shrink: 0;
    min-height: 100%;
    background: #474A66;
    position: absolute;
    top: 0;
    left: -100%;
    transition: 0.3s ease-in-out;
}



.sidebar-close-open {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 30px;
    right: -14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 4px 0px #0000001A;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    line-height: 2.1;
}

.sidebar-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 30px;
    right: -14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 4px 0px #0000001A;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    line-height: 2;
}

.sidebar-logo {
    background: #F6EAEA;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 155px;
    position: relative;
}

.sidebar-user {
    padding: 50px 0;
}

    .sidebar-user .ratio {
        max-width: 124px;
        margin: auto;
    }

.full-name {
    color: #fff;
    font-size: 18px;
    text-align: center;
    font-weight: 700;
    margin-top: 10px;
}

.designation {
    color: #fff;
    text-align: center;
    font-weight: 400;
    font-size: 14px;
}

.sidebar-menu {
    padding: 0 15px;
}

    .sidebar-menu a {
        display: flex;
        padding: 15px;
        text-align: center;
        color: #fff;
        font-size: 16px;
        text-decoration: none;
        border-radius: 5px;
    }

        .sidebar-menu a .sibebar-menu-text {
            flex-grow: 1;
            text-align: left;
            padding: 0 15px;
        }

        /* SCRUM-1074. Hover and "this is the screen you are on" shared one grey,
           so the left nav could not answer where you were either -- and on a
           mouse-driven session the hovered item looked exactly as selected as
           the open one. Hover keeps the grey; the open item takes the system
           blue, stated after it so it wins when you hover the item you are
           already on. */
        .sidebar-menu a:hover {
            background: #535C74;
        }

        .sidebar-menu a.active {
            background: var(--bs-primary, #2D6AB3);
        }

.content {
    background: #e1e8f0;
}

.content-header {
    background: #fff;
}

.content-header-top {
    background: #fff;
    border-bottom: solid 1px #D9D9D9;
    padding: 30px 30px 10px 30px;
}

.content-header-bottom {
    display: flex;
    padding: 30px 30px 30px 30px;
}

.content-header-filter-btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}

    .content-header-filter-btns .filter-btn {
        display: flex;
        align-items: center;
        border: solid 1px #F6EAEA;
        background: #F6EAEA;
        border-radius: 20px;
    }

        .content-header-filter-btns .filter-btn .filter-btn-text {
            padding: 0 15px;
            flex-grow: 1;
            font-size: 12px;
        }

        .content-header-filter-btns .filter-btn .filter-btn-close {
            /* padding: 10px 15px 10px 0; */
            flex-shrink: 0;
            width: 25px;
            cursor: pointer;
        }

        /* SCRUM-1074. The open screen used to be marked with a grey barely
           distinguishable from the unopened tabs beside it, so on a strip of
           eight or nine there was no telling where you were -- Ted raised it on
           snapshots and scenarios, where the tab is the only clue. This is the
           same blue the report table headers use (--bs-primary), so "the system
           blue" means one colour across the app rather than a new one here. */
        .content-header-filter-btns .filter-btn.tab_active {
            background: var(--bs-primary, #2D6AB3);
            border-color: var(--bs-primary, #2D6AB3);
            color: #fff;
        }

            /* The close cross and the label are both inside the tab, and both
               inherit the pale text colour that suited the grey fill. */
            .content-header-filter-btns .filter-btn.tab_active .filter-btn-text,
            .content-header-filter-btns .filter-btn.tab_active .filter-btn-close,
            .content-header-filter-btns .filter-btn.tab_active .filter-btn-close i {
                color: #fff;
            }

.content-main {
    padding: 30px;
}

.table-card {
    background: #fff;
    padding: 10px;
    border: solid 1px #D9D9D9;
    border-radius: 10px;
}

.table-card-header {
    background: #F6EAEA;
    font-size: 14px;
    border-radius: 5px 5px 0px 0px;
}

.custom-collapse-header {
    background: #F6EAEA;
    font-size: 14px;
    padding: 10px 16px;
    cursor: pointer;
}

    .custom-collapse-header .bi-dash {
        display: none;
    }

.custom-collapse.collapsed .custom-collapse-header .bi-plus {
    display: none;
}

.custom-collapse.collapsed .custom-collapse-header .bi-dash {
    display: inline;
}

.custom-collapse-bottom {
    display: none;
}

.custom-collapse.collapsed .custom-collapse-bottom {
    display: block;
}

.table-card table th {
    background: var(--bs-primary) !important;
    color: #fff;
    font-size: 12px;
    /* border-left: 1px solid #fff; */
}

.table-card table td {
    background: #F6EAEA !important;
    font-size: 12px;
}

.table-card table > tbody > tr:nth-of-type(odd) > * {
    background: #EEF1F5 !important;
}
.table-card .col-md-auto, .table-card .dt-layout-full {
    padding-left: 0px !important;
    padding-right: 0px !important;
}


.activate-btn {
    width: 120px;
    font-size: 12px;
    padding: 1px 10px;
}

.deactivate-btn {
    width: 120px;
    background: #EEF1F5;
    border: 1px solid #D9D9D9;
    font-size: 12px;
    padding: 1px 10px;
}

.content-footer {
    font-size: 10px;
    text-align: center;
    padding: 0 30px 20px 30px;
}

.mobile-header {
    background: #F6EAEA;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.show-sidebar-btn {
    position: absolute;
    left: 16px;
    top: 0px;
    bottom: 0px;
    font-size: 30px;
    padding: 0px;
    outline: 0px !important;
    border: 0px !important;
}



.toggled-width {
    width: 80px !important;
}

.userProfile-small-w {
    width: 60px !important;
    height: 60px !important;
    transform: translate(10px);
}

.logo-position {
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding-block: 1rem;
}

.modelBtn-close {
    position: absolute;
    right: 0px;
    top: -24px;
    background: #D9D9D9;
    aspect-ratio: 1;
}

    .modelBtn-close:hover {
        background: #b8b8b8;
    }

@media (max-width: 767px) {
    .content-main {
        padding: 16px;
    }

    .content-header-top {
        padding: 10px 16px;
    }

    .content-header-bottom {
        padding: 10px 16px;
    }

    .content-footer {
        padding: 0 16px 20px 16px;
    }
    .left-msidebarOpen {
        left: 0;
    }
}

@media (min-width: 1200px) {
    .main {
        display: flex;
        height: 100%;
    }

    .left-sidebar {
        width: 340px;
        display: block;
        min-height: 100dvh;
        position: unset;
        transition: none;
    }
    .left-sidebarOpen {
        left: 0;
    }

    .content {
        flex-grow: 1;
        min-width: calc(100% - 340px);
    }

    .content-footer {
        text-align: right;
    }

    .mobile-header {
        display: none;
    }

    .modelBtn-close {
        right: -24px;
    }
}
/* Page loader css start here */
.page-loader {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1000;
    display: none;
    background-color: rgb(0 0 0 / 50%);
}

.page-loader-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Page loader css end here */
/* Report busy state (reportBusyState.js): the grid dims and blocks input while a
   filter-driven refetch is in flight, and a spinner sits centred over it. */
.report-busy {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.15s ease-in-out;
}
.report-busy-host {
    position: relative;
}
/* Keeps the spinner somewhere to sit when the grid it wraps is empty or hidden. */
.report-busy-host.report-busy-active {
    min-height: 160px;
}
.report-busy-overlay {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 5;
    background-color: rgb(255 255 255 / 50%);
}
.report-busy-host.report-busy-active > .report-busy-overlay {
    display: block;
}
/* One node for the whole document (see reportBusyState.js), shown while any grid is busy:
   the spinner below is fixed to the viewport, so a copy per busy grid would paint on the
   same pixel and animate out of phase. */
.report-busy-spinner-layer {
    display: none;
}
.report-busy-spinner-layer.report-busy-active {
    display: block;
}
/* Fixed to the viewport, not the grid: a long grid's midpoint is often off screen at the
   moment a filter changes, and the toolbar the user is on must still show the wait. */
.report-busy-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
    z-index: 6;
}
.report-busy-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.active > .page-link, .page-link.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}
.ui-multiselect-checkboxes {
    min-height: 190px;
}
table th .ui-multiselect {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    overflow: hidden;
    height: 24px !important;
    width:100% !important;
}
.ui-widget.ui-widget-content {
    border: 0px !important;
    box-shadow: var(--bs-box-shadow) !important;
    padding: 0px;
}
.ui-multiselect-header{
    display:flex !important;
    flex-direction:column-reverse;
    padding:0px !important;
    border:0px !important;
}
.ui-multiselect-filter + .ui-helper-reset {
    background: #474A66 !important;
    padding: 10px 15px !important;
    color: #fff !important;
    font-size: 12px !important;
    font-family: "Open Sans", sans-serif !important;
    border: 0px !important;
}

.ui-widget-header a {
    color: #fff !important;
    font-size: 12px !important;
    cursor: pointer;
}
.ui-multiselect-header ul {
    display: flex;
    justify-content: space-between;
}
.ui-multiselect-header ul li {
    padding-right:0px !important;
}
.ui-multiselect-header .ui-multiselect-close{
    display:none;
}
.ui-multiselect-header span.ui-icon {
    display: none !important;
}
.ui-multiselect span.ui-icon{
    color:#fff !important;
    display:none;
}
.ui-multiselect-checkboxes label {
    font-size: 12px !important;
    font-family: "Open Sans", sans-serif !important;
    padding: 5px 15px !important;
    background: #fff !important;
    border: 0px !important;
    text-indent:initial !important;
    display:flex !important;
    align-items:center;
}
.ui-multiselect-checkboxes label span{
    padding-left:10px !important;
}
/* width */
.ui-multiselect-checkboxes::-webkit-scrollbar {
    width: 5px !important;
}
.dt-layout-table::-webkit-scrollbar {
    width: 5px !important;
}

/* Track */
.ui-multiselect-checkboxes::-webkit-scrollbar-track, .dt-layout-table::-webkit-scrollbar-track {
    background: #fff;
}

/* Handle */
.ui-multiselect-checkboxes:hover::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}
.dt-layout-table:hover::-webkit-scrollbar-thumb {
    background: #888;
    background: linear-gradient(180deg, rgba(255,255,255,1) 60%, rgba(136,136,136,1) 50%);
}

    /* Handle on hover */
.ui-multiselect-checkboxes::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.dt-layout-table::-webkit-scrollbar-thumb:hover {
    background: #555;
    background: linear-gradient(180deg, rgba(255,255,255,1) 60%, rgba(85,85,85,1) 50%);
}
.ui-multiselect-filter {
    float: none !important;
    margin: 0px !important;
    background: #fff !important;
    border-bottom: 1px solid #E7EEF2;
}
    .ui-multiselect-filter .ui-multiselect-filter-label {
        padding: 5px 15px;
        width: 100%;
        display: flex;
        align-items: center;
        font-size:12px;
    }
        .ui-multiselect-filter .ui-multiselect-filter-label input {
/*            -webkit-appearance: none !important;
            -moz-appearance: none !important;
            appearance: none !important;*/
            flex-grow: 1;
            border: none;
            font-size:12px !important;
            border:none !important;
            height:25px !important;
        }
.ui-multiselect-hasfilter ul{
    top:0px !important;
}
.dt-layout-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.toggle-tc-content{
    outline:none!important;
    border:none !important;
    box-shadow:none !important;
}


.dt-container.dt-bootstrap5 > .row{
    width:100% !important;
}

@media (min-width: 1200px) {
    .content {
        height:100%;
    }
    .content-main {
        height: calc(100vh - 118px);
        overflow-x: auto;
    }

    .sidebar-menu {
        height: calc(100vh - 318px);
        overflow-y: auto;
    }
    .left-sidebar{
        min-height:auto;
    }
}
.left-sidebar.toggled-width .sidebar-menu{
    height:unset;
}
@media (min-width: 768px) {
    .project_filter_div1 {
        width: 31%;
        padding-top: 6px;
        padding-right: 8px;
    }
    .project_filter_div2 {
        width: 31%;
        padding-top: 6px;
    }
    .project_filter_div3 {
        width: 13%;
        padding: 9px;
        padding-top: 10px;
    }
    .project_filter_div4 {
        width: 7%;
        padding-bottom: 9px;
        padding-top: 10px;
    }
    .project_filter_div {
        float: left;
       
    }
}


/* Sidebar Submenu */
.sidebar-submenu {
    background: #474A66;
    padding-left: 0;
    list-style: none;
    margin-bottom: 0;
}

    .sidebar-submenu a {
        display: flex;
        align-items: center;
        padding: 10px 15px 10px 25px !important;
        /* Adjusted padding for hierarchy */
        font-size: 14px !important;
        background: transparent;
        text-decoration: none;
        color: #fff;
        min-height: 44px;
        /* Ensure click target size */
    }

        /* Ensure icons in submenu behave like top-level */
        .sidebar-submenu a .sibebar-menu-icon {
            min-width: 30px;
            /* Or match top level */
            display: inline-flex;
            justify-content: center;
            align-items: center;
            margin-right: 10px;
        }

        .sidebar-submenu a .sibebar-menu-text {
            flex-grow: 1;
        }

        /* SCRUM-1074, the submenu twin of the rule above. Reports, Snapshots and
           Scenarios all open from a submenu, which is exactly where Ted could
           not tell what was open. */
        .sidebar-submenu a:hover {
            background: rgba(255, 255, 255, 0.1) !important;
        }

        .sidebar-submenu a.active {
            background: var(--bs-primary, #2D6AB3) !important;
        }

.sidebar-menu a[aria-expanded="true"] .sibebar-menu-arrow i {
    transform: rotate(90deg);
}

.sibebar-menu-arrow i {
    transition: transform 0.3s ease;
    display: inline-block;
}

.toggled-width .sidebar-submenu a {
    padding: 10px 15px 10px 8px !important;
}

.sidebar-submenu .sibebar-menu-text {
    padding-left: 0px !important;
}