/* TABLES STYLES */

.sidebar::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px grey;
    border-radius: 10px;
}

/* Handle */
.sidebar::-webkit-scrollbar-thumb {
    background: var(--SideNavTextColor);
    border-radius: 10px;
}

/* Handle on hover */
    .sidebar::-webkit-scrollbar-thumb:hover {
        background: white;
    }

.outer-width {
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    float: left;
}

.outer-width:before, .outer-width:after {
        content: " "; /* 1 */
        display: table; /* 2 */
    }

.outer-width:after {
        clear: both;
    }

/* Tables */
.lesspadding td {
    padding: 2px !important;
}

.tablegroupheader td {
    padding: 5px !important;
    text-align: center;
    background-color: var(--SectionHeaderBackGround);
    color: var(--SectionHeaderTextColor);
}

.tablestyle {
    text-align: left;
    width: 100%;
    border-radius: 4px;
    border-radius: 4px;
    position: relative;
    border: solid 1px #E5E7EB;
}

.table-responsive .tablestyle
{
    border:none !important;
}
/*.white-bg .tablestyle th:first-child {
    border-radius: 0 0 0 0 !important;
}

.white-bg .tablestyle th:last-child {
    border-radius: 0 0 0 0 !important;
}

.white-bg .tablestyle .roundheader th:first-child {
    border-radius: 10px 0 0 0 !important;
}

.white-bg .tablestyle .roundheader th:last-child {
    border-radius: 0 10px 0 0 !important;
}

*/
.white-bg .tablestyle .roundheader th {
    border-top: none;
}

.tablestyle table {
    width: 100%;
}

.tablestyle th {
    text-transform: uppercase;
    white-space: nowrap;
    background-color: var(--TableHeaderBackground) !important;
    color: var(--TableHeaderText) !important;
}

.tablestyle th a {
        color: white !important;
    }

.tablestyle th a:hover {
            color: white !important;
        }

.innerformtable th {
    background-color: var(--InnerFormTableHeaderBackgroundColor);
    color: var(--InnerFormTableHeaderTextColor);
    padding: 7px;
    vertical-align: top;
    border: 1px solid #AAA;
}

.innerformtable {
    border-bottom: 1px solid #AAA;
    border-left: 1px solid #AAA;
    border-right: 1px solid #AAA;
}

.secondarycolor th {
    background-color: var(--secondarycolor);
    color: #FFFFFF;
    padding: 7px;
    vertical-align: top;
}

.tablestyle td {
    padding: 7px 10px;
    border-top: 1px solid #CCC;
    vertical-align: top;
    font-weight: 500;
    font-size: 12px;
    background: var(--Surface-3) !important;
    color: var(--whitebgtext);
}


.tablestyle td a {
        color: var(--Interactive-Default) !important;
        text-decoration: underline;
        font-weight: bold;
    }

td {
    padding: 8px;
    vertical-align: top;
}

.tablestyle a {
    color: black;
    text-decoration: none;
}

.tablestyle a:hover {
        text-decoration: underline;
    }

.scroll-tabel table thead {
        position: sticky;
        top: 0;
    }

.scroll-tabel table thead tr {
            width: 100%;
            table-layout: fixed;
        }

.scroll-tabel table tbody tr {
        width: 100%;
        table-layout: fixed;
    }

.scroll-tabel1 table thead {
        position: sticky;
        top: 0;
    }

.scroll-tabel1 table thead tr, .scroll-tabel1 table tbody tr {
            /*  display: table;*/
            width: 100%;
            table-layout: fixed;
        }

.editremove {
    width: 170px;
}

.secondaryheaders th {
    background-color: var(--secondarycolor);
}

/* Form Layout */
.center-table table {
    width: 100%;
}

.center-table table tr {
        display: flex;
        justify-content: center;
    }

.center-table table tr td {
            padding: 3px;
        }

.strikethrough {
    position: relative;
    display: inline-block;
}

.strikethrough::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 50%;
        width: 100%;
        height: 1px;
        background-color: red;
    }

.form-feild .dropdown-check-list .form-control {
        border: 1px solid #000;
        border-radius: 5px;
        padding: 5px 20px;
        appearance: none;
        font-size: 12px;
        overflow-y: hidden;
    }

.center-table table tr {
        display: flex;
        justify-content: center;
    }

.center-table table tr td {
            padding: 3px;
        }

.shortdropdown {
    height: 30px !important;
}

.width50 {
    width: 70px !important;
}

.width75 {
    width: 75px !important;
}

.width90 {
    width: 90px !important;
}

.width100 {
    width: 100px !important;
}

.width125 {
    width: 125px !important;
}

.width130 {
    width: 130px !important;
}

.width150 {
    width: 220px !important;
}

.width160 {
    width: 160px !important;
}

.width167 {
    width: 167px !important;
}

.width175 {
    width: 175px !important;
}

.width200 {
    width: 200px !important;
}

.width225 {
    width: 225px !important;
}

.width240 {
    width: 240px !important;
}

.width250 {
    width: 250px !important;
}

.width275 {
    width: 275px !important;
}

.width300 {
    width: 300px !important;
}

.width325 {
    width: 325px !important;
}

.width350 {
    width: 350px !important;
}

.width375 {
    width: 375px !important;
}

.width400 {
    width: 400px !important;
}

.width425 {
    width: 425px !important;
}

.width450 {
    width: 450px !important;
}

.width475 {
    width: 475px !important;
}

.width500 {
    width: 500px !important;
}

.width600 {
    width: 600px !important;
    max-width: 100%;
}

.width700 {
    width: 700px !important;
    max-width: 100%;
}

.width800 {
    width: 800px !important;
    max-width: 100%;
}

.width900 {
    width: 900px !important;
    max-width: 100%;
}

.width1000 {
    width: 1000px !important;
    max-width: 100%;
}

.width1100 {
    width: 1100px !important;
    max-width: 100%;
}

.width1200 {
    width: 1200px !important;
    max-width: 100%;
}

.width1400 {
    width: 1400px !important;
    max-width: 100%;
}

.maxwidth {
    max-width: 100% !important;
}

/* Top Nav (default: not stretched) */
.topnav {
  
    display: flex;
    justify-content: space-around; /* default spacing */
    align-items: center;
    width: 100%;
}

/* Normalize any inline SVGs so they don't blow up widths */
.topnav svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
}

/* ---------------- Stretch variant (opt-in with class="topnav stretch") ---------------- */
.topnav.stretch {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start !important; /* override space-around */
    align-items: stretch;
    gap: 0;
    width: 100%;
}

/* Treat each direct child as a column (no Bootstrap class dependency) */
    .topnav.stretch > * {
        flex: 1 1 0 !important; /* equal-width columns */
        display: flex !important;
        min-width: 0;
        margin: 0 !important;
        float: none !important;
    }

/* ---------------- Mobile: horizontal slider instead of wrapping ---------------- */
@media (max-width: 768px) {
    .topnav,
    .topnav.stretch {
        flex-wrap: nowrap; /* keep tabs on one row */
        justify-content: flex-start !important;
        overflow-x: auto; /* enable horizontal scroll */
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch; /* smooth iOS scrolling */
    }
        /* each tab keeps its natural width (no shrinking) */
        .topnav > *,
        .topnav.stretch > * {
            flex: 0 0 auto !important; /* don't grow or shrink */
            min-width: max-content; /* size to content */
        }
            /* clickable area stays on one line with comfortable padding */
            .topnav a.nav-link,
            .topnav.stretch > * > a,
            .topnav.stretch > * > button {
                display: inline-flex !important;
                white-space: nowrap;
                padding: 10px 16px;
            }
}

*/
/* Mobile Phones */
@media (max-width: 600px) {
    .Email-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* Tablets */
@media (min-width: 601px) and (max-width: 768px) {
    .Email-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* Small Laptops */
@media (min-width: 769px) and (max-width: 1024px) {
    .Email-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* Desktops */
@media (min-width: 1025px) {
    .Email-container {
        flex-direction: row;
        /*        gap: 10px;*/
    }
}

/* Desktops */
/*@media (min-width: 1025px) {
    .Email-container {
        flex-direction: row;
        gap: 10px;
    }
}

.scroll-tabel table thead {
        position: sticky;
        top: 0;
    }

.scroll-tabel table thead tr {
            width: 100%;
            table-layout: fixed;
        }

.scroll-tabel table tbody tr {
        width: 100%;
        table-layout: fixed;
    }

.scroll-tabel1 table thead {
        position: sticky;
        top: 0;
    }

.scroll-tabel1 table thead tr, .scroll-tabel1 table tbody tr {
            /*  display: table;*/
            width: 100%;
            table-layout: fixed;
        }

.paymentform td {
    padding: 0px;
}

.ccpaymentform td {
        padding: 0px;
    }

/* Signatures */
@media (min-width:600px) {
    .form-600 .signature {
        width: 320px;
        z-index: 10000;
        position: absolute;
        left: 125px;
        top: -400px;
    }
}

/*Job Assignment*/
@media (max-width: 480px) {
    #datePicker {
        width: 100px !important;
        font-size: 12px;
        padding: 4px;
    }

    #btnPrevious,
    #btnNext {
        font-size: 12px;
        padding: 4px 8px;
    }

    #dateNavBar label {
        font-size: 12px;
    }
}

/*EmailCalendar*/
@media (max-width: 768px) {
    .calendar-day-header, .calendar-slot-cell {
        min-width: 120px;
    }

    .time-column {
        min-width: 50px;
    }
}

.quote-wrapper p > strong {
            font-size: 16px;
        }

.quote-table {
    padding: 15px 0;
    border-bottom: 4px solid #5a5b5b;
    overflow: auto;
}

.quote-table table {
        width: 100%;
    }

.quote-table tr:first-child {
        background: #737373;
        color: #fff;
    }

.quote-table tr th {
        padding: 8px 10px;
        font-size: 14px;
        font-weight: 500;
        line-height: 1;
    }

.quote-table tr td {
        font-size: 14px;
        padding: 3px 10px;
        vertical-align: initial;
    }

.remove-width {
    width: auto !important;
}

/* Calendars*/
@media (min-width: 1280px) and (max-width: 374px) {
    .calendarWidth {
        width: 1280px;
    }
}

.Keyboardtablestyle td {
    max-width: 10px;
    border-bottom: 1px solid #AAA;
    vertical-align: top;
    font-weight: 400;
}

.training {
    padding-left: 15px !important;
}

.wrapper .sidebar ul li a.active svg path {
        stroke: #000;
    }

.user-auth .d-flex {
    align-items: center;
    gap: 12px;
}

.user-auth .user-img {
    background: var(--UserImage);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
}

.user-auth .user-auth-name {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--Heading);
}

.user-auth .d-flex .auth-arrow {
    margin-left: auto;
}

.user-auth {
    padding: 9px 16px;
    border-bottom: 1px solid var(--Outline);
    height: 61px;
    overflow: hidden;
    min-height: 61px;
    padding-top: 50px;
    position: relative;
    background-color: var(--LogoBackground);
}

.search-area .form-control {
        background-color: var(--Surface-2);
        border: 0;
        width: 279px;
        max-width: 100%;
        border-radius: 8px;
        height: 36px;
        font-weight: 500;
        font-size: 14px;
        padding-left: 40px;
        color: var(--Text);
        box-shadow: none !important;
    }

.user-auth-area {
    margin-left: 25px;
}

.wrapper .sidebar ul li a.active svg path {
        stroke: var(--Interactive-Default);
    }

/* New css updated */
.tabs-controls {
    background-color: var(--Surface-1);
    padding: 4px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.tabs-controls.pl-1.d-flex {
        margin-bottom: 0px;
    }

.tabs-controls li .nav-link {
        font-weight: 600;
        font-size: 14px;
        line-height: 100%;
        letter-spacing: 0px;
        text-transform: uppercase;
        padding: 7px 16px;
        color: var(--Text);
    }

.tabs-controls li {
        list-style: none;
    }

.tabs-controls li .nav-link:hover {
            color: var(--Heading);
        }

.tabs-controls li .nav-link.active {
            background-color: var(--buttonsecondary);
            color: var(--Heading);
            box-shadow: 0px 1px 4px 0px #090C0B14;
        }

.nav-view-toggle li .nav-link.active svg path {
                stroke: #000000;
            }

.form-signle .form-control {
    /*    height: 37px;
    border-radius: 4px;
    border: 1px solid var(--Divider);
    font-weight: 400;
    font-size: 14px;
    color: var(--Text);
    padding: 8px 12px;
    background-color: var(--Surface-3);
    box-shadow: none;*/
}

/* Table css start */

.tabulator, .tabulator-table .tabulator-tableholder {
    border: none !important;
    margin-bottom: 0;
    padding-bottom: 0;
    background: var(--Surface-4) !important;
}

.tabulator-tableholder {
    border-bottom: none !important;
    box-shadow: none !important;
}

.tabulator-cell {
    overflow: visible !important;
    position: relative; /* ensure tooltip positioning is relative to the cell */
    z-index: 1; /* help stacking above rows */
}

.tabulator-cell a {
        color: var(--Tabulatorell) !important;
    }

.tabulator-footer {
    background-color: white; /* or match table background */
    border-top: none; /* remove if not needed */
    height: 0px; /* if you want to hide it completely */
}

/* Row background and hover behavior */
.tabulator .tabulator-row {
    background: var(--Surface-4) !important;
    cursor: default !important;
}

.tabulator .tabulator-row:hover {
        background: var(--Surface-4) !important;
    }

/* Clean up all cell and header borders */
.tabulator .tabulator-cell,
.tabulator .tabulator-row,
.tabulator .tabulator-col,
.tabulator .tabulator-header {
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 1px solid var(--Divider) !important;
    background: var(--Surface-4) !important;
}

.tabulator-col-title {
    color: var(--TableHeaderText) !important;
}

.tablestyle th, .tablestyle td, .tabulator-row .tabulator-cell, .tabulator-col-content {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    padding: 14px 12px !important;
    color: var(--Tabulatorell) !important;
    vertical-align: middle !important;
    text-align: left !important;
    border-color: var(--Divider);
    box-shadow: none !important;
    outline: none !important;
    vertical-align: top !important;
}

.tablestyle th {
    background: var(--TableHeaderBackground);
}

.tablestyle td {
    background: var(--Surface-3);
}

/*.table-custom-main {
    border-radius: 4px;
    overflow: hidden;
}

*/
.table-custom-main thead th {
    border-bottom: 1px solid var(--Divider);
}

.table-icon {
    flex: 0 0 auto;
    width: 16px;
}

.table-icon svg {
        display: block;
    }

.tablestyle .td-dropdown {
    width: 101px;
    max-width: 101px;
    text-align: center;
}

.table-responsive.table-custom-main-wrapper .dt-layout-start,
.table-responsive.table-custom-main-wrapper .dt-layout-end {
    display: none !important;
}

.table-custom-main-wrapper .col-12.dt-layout-full.col-md {
    padding-left: 0px;
}

.tablestyle th br {
    display: none;
}

.user-auth-area .dropdown-toggle::after {
    display: none;
}

.sidebar-table-content {
    flex: 1;
    padding-left: 12px;
}

.tabbar .activetab .icon svg path {
    stroke: var(--Interactive-Default)
}

.tabbar .icon-arrow svg path {
    stroke: var(--Interactive-Default)
}

.tabbar-mobile-menu li a.active svg path {
                stroke: #000;
            }

.auth-head {
    gap: 8px;
    margin-bottom: 16px;
}

.auth-head .mid-text {
    flex: 1;
}

.auth-head .mid-text p {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0px;
        color: var(--Text);
        vertical-align: middle;
    }

.modal.modal-sidebar-profile .tabs-controls {
    margin-bottom: 24px;
}

.icon-filed .form-control {
        padding-left: 36px;
    }

.sidebar-table-content .form-800 {
    padding: 0px;
}

.tabulator-row .tabulator-cell svg {
    min-width: 16px;
}

.truncated-text {
    display: inline;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.action-with-filter .controls-setting-right.ml-auto {
    margin-bottom: 0;
}

.tablestyle svg {
    fill: none;
    stroke: var(--IconDefault) !important;
}

.controls-setting-right {
    margin-bottom: 12px;
}

table.product-table > tr {
    display: table;
}

.tablestyle .tablestyle.mytablestyle tr td {
    border: 0;
}

.user-auth img {
    width: 100%;
    height: 100%;
    right: 0;
    max-width: calc(100% - 15px);
    max-height: calc(100% - 15px);
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.scroll-tabel .sticky-top td {
    border: 0;
}

.sidebar-table-content.email-sidebar {
    width: 100%;
}

.tablestyle td.box-ic-left {
    text-align: center !important;
    font-size: 10px;
}

.tablestyle td.box-ic-left i {
        display: block
    }

.sec-product-table .flex-grow-1 {
    padding-left: 15px;
}

.tabs-controls.mx-width {
    width: max-content;
    margin-left: auto;
}