#kt_app_root {
    background-color: #fff !important;
}

.app-blank {
    background-color: #fff !important;
}

.app-wrapper {
    background-color: #F2F1FA !important;
}

body {
    background-color: #fff !important;
    font-family: 'Poppins', Medium !important;
}

/* Header */
#kt_app_header_container {
    background-color: #fff !important;
    border-bottom: 1px solid #DCDCDC !important;
}

.divider {
    color: #DCDCDC !important;
    justify-content: center;
    width: 97% !important;
    margin: 0px auto !important;
    height: 1px;
    padding: 1px;
    background: #DCDCDC;
}

/* Btn */
/* Manager Styled Btn */
.dcg-btn {
    border-radius: 0px !important;
    padding: 6px 16px !important;
    background-color: #6C63FF !important;
    color: #fff !important;
    margin-top: 5px 0px;
}

.dcg-btn-outline {
    background-color: transparent !important;
    border: 1px solid #6C63FF !important;
    color: #6C63FF !important;
}


.dcg-btn-supv {
    color: #fff !important;
    border: 1px solid #F28000 !important;
}

.dcg-btn-owner {
    color: #fff !important;
    border: 1px solid #773E3E !important;
}

/* Owner style btn */
.dcg-chocolate {
    border-radius: 0px !important;
    padding: 6px 16px !important;
    background-color: #773E3E !important;
    color: #fff !important;
    margin-top: 5px 0px;
}

.btn-outline-chocolate {
    background-color: transparent !important;
    border: 1px solid #773E3E !important;
    color: #773E3E !important;
}

/* Supervisor style btn */
.dcg-orange {
    border-radius: 0px !important;
    padding: 6px 16px !important;
    background-color: #F28000 !important;
    color: #fff !important;
    margin-top: 5px 0px;
}

.btn-outline-orange {
    background-color: transparent !important;
    border: 1px solid #F28000 !important;
    color: #F28000 !important;
}

/* Admin style btn */
.dcg-darkblue {
    border-radius: 0px !important;
    padding: 6px 16px !important;
    background-color: #056FAD !important;
    color: #fff !important;
    margin-top: 5px 0px;
}

.btn-outline-darkblue {
    background-color: transparent !important;
    border: 1px solid #056FAD !important;
    color: #056FAD !important;
}


/* Logo */
#kt_app_sidebar_logo {
    height: auto !important;
}

#kt_app_sidebar {
    background-color: #fff !important;
}

#kt_app_sidebar_logo a {
    display: flex !important;
    /* justify-content: center !important; */
}

img.app-sidebar-logo-default {
    width: 60% !important;
}

img.app-sidebar-logo-minimize {
    width: 100% !important;
}

.top-20 {
    top: 20% !important;
}

.top-20.active {
    top: 50% !important;
}

/* Logo */

/* Sidebar Navigation */
[data-kt-app-layout=dark-sidebar] .app-sidebar {
    background-color: #fff !important;
    border-right: 1px solid #DCDCDC !important;
}

.app-sidebar {
    background-color: #fff !important;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-title {
    color: #000000 !important;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item.here>.menu-link .menu-title,
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link.active {
    color: #6C63FF !important;
    background-color: #ffffff00 !important;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link.active,
[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link:hover {
    color: #6C63FF !important;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-sub .menu-link.active {
    background-color: rgba(94, 159, 241, 0.12) !important;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-sub .menu-link.active .menu-title {
    color: #6C63FF !important;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .app-sidebar-logo {
    border-bottom: 0px dashed #1F212A !important;
}

.icon-2x {
    font-size: 21px !important;
    color: #ff4500 !important;
}

/* Sidebar Navigation */

.logout-btn .ki-duotone {
    margin-right: 0.5rem;
}

#kt_app_sidebar .btn-custom:hover:not(.btn-active) {
    background-color: #fff !important;
}

#kt_app_sidebar .btn-custom {
    background-color: #fff !important;
    color: #FF2B2A !important;
}

.logout-btn .ki-duotone {
    color: #FF2B2A;
}

/* Sidebar */

/* Dashboard Page */

.card {
    border: 1px solid #DCDCDC !important;
    border-radius: 0px !important;
}

.card-header {
    min-height: 0px !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* Table Heading */
.text-red {
    color: #FF2B2A !important;
}

.txt-red-bg {
    background-color: #FF2B2A !important;
    color: #ffff !important;
}

.text-orange {
    color: #F28000 !important;
}

.txt-orange-bg {
    background-color: #F28000 !important;
    color: #ffff !important;
}

.text-green {
    color: #00A412 !important;
}

.txt-green-bg {
    background-color: #00A412 !important;
    color: #ffff !important;
}

.text-violet {
    color: #6C63FF !important;
}

.text-chocolate {
    color: #773E3E !important;
}

.text-blue {
    color: #2196F3 !important;

}

.text-darkblue{
    color: #056FAD !important;
}

.txt-darkblue-bg {
    background-color: #056FAD !important;
    color: #ffff !important;
}

.txt-blue-bg {
    background-color: #2196F3 !important;
    color: #ffff !important;
}

.txt-oranges-bg {
    background-color: #FBC02D !important;
    color: #ffff !important;
}

.txt-red-bg {
    background-color: #FF2B2A !important;
    color: #ffff !important;
}

.text-lightdarkblue{
   background-color: #F2F1FA;
}

.text-sky {
    background-color: #BBDEFB;
}

.text-lightorange {
    background-color: #FFE0B2;
}

.text-pink {
    background-color: #FFCDD2;
}

.text-lightgrren {
    background-color: #B2DFDB;
}

.text-lightyellow {
    background-color: #FFF9C4;
}

.text-pink td {
    background-color: #ffd6d6 !important;
}

.text-lightyellow td {
    background-color: #ffffcc !important;
}

.text-lightgray td {
    background-color: #e8e8e8 !important;
}

.text-lightgreen td {
    background-color: #C8E6C9 !important;
}

.text-lightblue td {
    background-color: #BBDEFB !important;
}

.text-light-orange td {
    background-color: #FFE0B2 !important;
}

/* Table */
.table {
    margin-bottom: 0px !important;
    /* border-color: #DCDCDC !important; */
    border-color: #c0c0c0 !important;
}

.table th,
.table td {
    padding-left: 2.25rem !important;
    padding-right: 2.25rem !important;
    /* text-align: center;    */
}

td {
    padding-left: 1.25rem !important;
    padding-right: 2.25rem !important;
}

.table th:first-child,
.table td:first-child {
    padding-left: 2.25rem;
    text-align: left;
    /* except 1st column */
}

.no-edge-border th:first-child,
.no-edge-border td:first-child {
    border-left: none !important;
}

.no-edge-border th:last-child,
.no-edge-border td:last-child {
    border-right: none !important;
}


/* Tabs */
.nav-tabs {
    border: none !important;
    margin-left: 1.25rem;
    padding-left: 2.25rem;
    border-radius: 0px !important;

}

/* Tab Manager */
.nav-link {
    margin: 10px !important;
    color: #6C63FF !important;
    border: 1px solid #6C63FF !important;
    font-weight: bold;
    border-radius: 0px !important;
}

.nav-link.active {
    background-color: #6C63FF !important;
    color: #FFFF !important;
}

.nav-link:hover {
    background-color: #6C63FF !important;
    color: #FFFF !important;
}

/* Tab Owner */
.nav-link-owner {
    margin: 10px !important;
    color: #773E3E !important;
    border: 1px solid #773E3E !important;
    font-weight: bold;
    border-radius: 0px !important;
}

.nav-link-owner.active {
    background-color: #773E3E !important;
    color: #FFFF !important;
}

.nav-link-owner:hover {
    background-color: #773E3E !important;
    color: #FFFF !important;
}

/* Tab admin */
.nav-link-admin {
    margin: 10px !important;
    color: #056FAD !important;
    border: 1px solid #056FAD !important;
    font-weight: bold;
    border-radius: 0px !important;
}

.nav-link-admin.active {
    background-color: #056FAD !important;
    color: #FFFF !important;
}

.nav-link-admin:hover {
    background-color: #056FAD !important;
    color: #FFFF !important;
}


/* Tab Supervisor */
.nav-link-supervisor {
    margin: 10px !important;
    color: #F28000 !important;
    border: 1px solid #F28000 !important;
    font-weight: bold;
    border-radius: 0px !important;
}

.nav-link-supervisor.active {
    background-color: #F28000 !important;
    color: #FFFF !important;
}

.nav-link-supervisor:hover {
    background-color: #F28000 !important;
    color: #FFFF !important;
}


/* a.btn-yellow.btn.btn-sm.btn-primary.align-self-center {
    color: #000;
}

a.btn-yellow.btn.btn-sm.btn-primary.text-dark-500:hover {
    background-color: #F9C301 !important;
    border-color: #F9C301 !important;
    color: #000 !important;
} */

/* Accordian */
.accordion-item {
    background-color: #fff !important;
}

.accordion-button:not(.collapsed) {
    color: #000000 !important;
    background-color: #fff !important;
}

.file-box {
    background-color: #F5F5F5 !important;
    padding: 10px;
}

.bi-three-dots-vertical {
    font-size: 40px;
}

.file-icn i {
    padding-right: 10px;
    font-size: 40px !important;
    /* color: #6C63FF !important; */
}

/* Ensure the list container doesn't clip the lines */
.tab-list {
    list-style: none !important;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    position: relative;
    border: none;
}

/* Individual tab styling */
.tab {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    flex: 1;
    /* Ensures equal spacing */
    z-index: 1;
}

/* The Outer Circle - must have a background to hide the line */
.outer {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    /* Matches your background */
    border: 1px solid #6C63FF;
    border-radius: 50%;
    z-index: 2;
    /* Sits above the line */
    transition: all 0.3s ease;
}

/* The Tab Number inside */
.tab-number {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: bold;
    color: #6C63FF;
    border: 1px solid #6C63FF;
    padding: 3px;
    background-color: #fff !important;
}

/* The Dashed Line - This is the fix */
.tab:not(:first-child)::before {
    content: '';
    position: absolute;
    /* This connects the center of current tab to the previous one */
    left: -43%;
    right: 50%;
    top: 20px;
    /* Centers the line vertically in the 40px circle */
    height: 0;
    border-top: 2px dashed #6C63FF;
    opacity: 0.3;
    z-index: -1;
    /* Placed behind the circles */
}

/* Active tab styles */
.tab.active .tab-number {
    background-color: #6C63FF !important;
    color: white;
}

.tab.active .tab-label {
    color: #6C63FF;
}

/* Label Styling */
.tab-label {
    font-size: 14px;
    font-weight: 600;
    color: #6C63FF;
    margin-top: 10px;
}

/* Owner Tab start */

/* The Outer Circle - must have a background to hide the line */
.tab-owner .outer {
    border: 1px solid #773E3E;
}

/* The Tab Number inside */
.tab-owner .tab-number {
    color: #773E3E;
    border: 1px solid #773E3E;
}

/* The Dashed Line - This is the fix */
.tab-owner .tab:not(:first-child)::before {
    border-top: 2px dashed #773E3E;
}

/* Active tab styles */
.tab-owner .tab.active .tab-number {
    background-color: #773E3E !important;
}

.tab-owner .tab.active .tab-label {
    color: #773E3E;
}

/* Label Styling */
.tab-owner .tab-label {
    color: #773E3E
}

/* Owner tab end */

/* Supervisor Tab start */

/* The Outer Circle - must have a background to hide the line */
.tab-supervisor .outer {
    border: 1px solid #F28000;
}

/* The Tab Number inside */
.tab-supervisor .tab-number {
    color: #F28000;
    border: 1px solid #F28000;
}

/* The Dashed Line - This is the fix */
.tab-supervisor .tab:not(:first-child)::before {
    border-top: 2px dashed #F28000;
}

/* Active tab styles */
.tab-supervisor .tab.active .tab-number {
    background-color: #F28000 !important;
}

.tab-supervisor .tab.active .tab-label {
    color: #F28000;
}

/* Label Styling */
.tab-supervisor .tab-label {
    color: #F28000;
}

/* Supervisor tab end */

/* ACTIVE TAB */
.tab.active .tab-number {
    background-color: #6C63FF !important;
    color: #fff;
}

.tab.active .tab-label {
    color: #6C63FF;
}

.tab.completed .tab-label {
    color: #6C63FF;
    opacity: 0.6;
}


/* COMPLETED TAB (PREVIOUS STEPS) */
.tab.completed .tab-number {
    background-color: #6C63FF !important;
    color: #fff;
    opacity: 0.6;
    /* remove if you want same as active */
}

.tab.completed .tab-number-owner {
    background-color: #773E3E !important;
    color: #fff;
    opacity: 0.6;
    /* remove if you want same as active */
}

.tab.completed .tab-label-owner {
    color: #773E3E;
    opacity: 0.6;
}

.tab.completed .tab-number-supervisor {
    background-color: #F28000 !important;
    color: #fff;
    opacity: 0.6;
    /* remove if you want same as active */
}

.tab.completed .tab-label-supervisor {
    color: #F28000;
    opacity: 0.6;
}

/* Footer */
.app-footer {
    height: auto !important;
}

.app-footer {
    border-top: 1px solid #DCDCDC !important;
}

/* Footer */

/* Responsive CSS */
@media (max-width: 991.98px) {
    .app-sidebar-logo {
        display: block !important;
    }
}

/* Task List */
.flg-blue i {
    align-items: center;
    color: #fff !important;
    background-color: #1565C0;
    border-radius: 5px 5px 5px 5px;
    padding: 3px;
}

.flg-orange i {
    align-items: center;
    color: #fff !important;
    background-color: #F28000;
    border-radius: 5px 5px 5px 5px;
    padding: 3px;
}

.flg-red i {
    align-items: center;
    color: #fff !important;
    background-color: #FF2B2A;
    border-radius: 5px 5px 5px 5px;
    padding: 3px;
}

/* Timeline Accordian  */

.timeline-accordian-btn {
    border-radius: 0;
}

.timeline-accordian-btn::after {
    filter: brightness(0) invert(1);

}

.timeline-accordian-btn:not(.collapsed) {
    color: #fff !important;
}


.timeline-accordian-btn.bg-success:not(.collapsed) {
    background-color: #00A412 !important;
}

.timeline-accordian-btn.bg-warning:not(.collapsed) {
    background-color: #FBC02D !important;
}

.timeline-accordian-btn.bg-primary:not(.collapsed) {
    background-color: #2196F3 !important;
}


.timeline-accordian-btn:focus {
    box-shadow: none;
}

.timeline-accordian-btn:not(.collapsed) {
    background-color: inherit !important;
    color: #fff !important;
    box-shadow: none;
}

/* Container padding to make room for the line on the left */

/* --- Global Container --- */
.custom-timeline-container {
    position: relative;
    padding-left: 50px;
}

/* --- The Accordion Item (The Node) --- */
.timeline-node {
    position: relative;
}

/* 1. The Dot (Top Layer) */
.timeline-node::before {
    content: '';
    position: absolute;
    left: -42px;
    top: 0px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid #fff;
    z-index: 3;
    /* Keep dot above the line */
}

/* 2. The Line Segment (Bottom Layer) */
.timeline-node::after {
    content: '';
    position: absolute;
    left: -32.5px;
    /* Centers the 3px line under the 22px dot */
    top: 0px;
    /* Starts from the middle of the current dot */
    bottom: -15px;
    /* Extends to the middle of the next dot */
    width: 3px;
    z-index: 1;
}

.timeline-node-blue::after {
    content: '';
    position: absolute;
    left: -32.5px;
    /* Centers the 3px line under the 22px dot */
    top: 10px;
    /* Starts from the middle of the current dot */
    bottom: 0px;
    /* Extends to the middle of the next dot */
    width: 3px;
    z-index: 1;
}


/* --- Color Mapping --- */

/* Green Section */
.timeline-node[data-color="green"]::before,
.timeline-node[data-color="green"]::after,
.txt-green-bg {
    background-color: #00A412 !important;
    color: white;
}

/* Orange Section */
.timeline-node[data-color="orange"]::before,
.timeline-node[data-color="orange"]::after,
.txt-oranges-bg {
    background-color: #FBC02D !important;
    color: white;
}


/* Blue Section */
.timeline-node[data-color="blue"]::before,
.timeline-node[data-color="blue"]::after,
.txt-blue-bg {
    background-color: #2196F3 !important;
    color: white;
}

/* Blue Section */
.timeline-node[data-color="red"]::before,
.timeline-node[data-color="red"]::after,
.txt-red-bg {
    background-color: #FF2B2A !important;
    color: white;
}

/* --- Button Styling --- */
.timeline-accordian-btn {
    border-radius: 0;
    color: white !important;
    box-shadow: none !important;
}

.timeline-accordion-button::after {
    filter: brightness(0) invert(1);
    /* Keeps arrow white */
}


/* ===== HEADER (Length + Search) ===== */
.datatable-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 10px;
}

/* Start new datatable css */

/* ===== CENTER SEARCH TEXT AND INPUT (When no specific classes) ===== */
.datatable-header>div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

/* Center label and input together */
.datatable-header>div label {
    display: flex;
    align-items: center;
    margin: 0;
    gap: 5px;
}

.datatable-header>.right-tools div {
    display: flex;
    align-items: center;
    margin: 0;
    gap: 5px;
}

.right-tools label {
    margin-bottom: 0;
    margin-right: 8px;
    white-space: nowrap;
}

.right-tools div>div {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== FOOTER (Info + Pagination) ===== */
.datatable-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 10px;
}

.form-control-solid {
    border: 1px solid #DCDCDC !important;
}

/* Remove full width */
.datatable-footer .dataTables_info,
.datatable-footer .dataTables_paginate {
    width: auto !important;
    margin: 0;
}

table.dataTable.table-bordered {
    border-collapse: collapse !important;
}

table.dataTable th.dt-type-numeric {
    text-align: left !important;
}

table.dataTable th.dt-type-date {
    text-align: left !important;
}

label {
    color: #0E0E0E !important;
}

 .accordion-item .acc-ic{
            color: #8b8d8d;
            font-size: 15px;
            background: #d9e8ea;
            padding: 5PX;
            border-radius: 5px;
    }