@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

.navTable{
    font-family: 'Poppins', sans-serif;
    font-size: 11px; 
    font-weight: 400;
    overflow: auto; 
    background-color: white;
    border-collapse: collapse;
    width: 100%;
    table-layout: auto;
}

.navTable thead{
    background-color: white;
    position: sticky; 
    top: 0px; 
    z-index: 2;
}

.navTable th{
    position: sticky; 
    top: 0px; 
    z-index: 2;
    background-color: white;
    color: #333333;
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    min-width: 100px;
}

.navTable th:focus-within{
    z-index: 9999;
    outline: 2px solid #102b7c;
    outline-offset: -2px;
}

.hoverBar{
    position:absolute;
    background-color:white;
    list-style:none;
    padding-left:4px;
    min-width:20px;
    
    z-index: 99999;
    
    transition-property: top,left,width,height,opacity;
    transition-duration:0.25s;
    transition-timing-function: ease-in-out;
    box-shadow: 5px 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.hoverToolbar{
    top:-30px;
    left:-200px;
    width:400px;
    text-align:center;
    line-height:24px;
    max-height:24px;
    overflow:hidden;

}

.hoverToolbar ul{
    list-style-type: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    background-color:rgb(255, 255, 255);
    border:1px solid rgba(0, 0, 0, 0.176);
    border-radius:4px;
}

.hoverToolbar li{
    display:inline-block;
    margin-right:5px;
    
    
}

.navTable .tableColumnSet{
    font-size:14px;
    text-align: center;
}

.caulk{
    background-color:var(--mediumBGColor);
    width:100%;
    height:0px;
    position:absolute;top:0px;
}

.navTable th:first-child{
    border-top-left-radius:4px;
}

.navTable .thFirst{
    border-top-left-radius:4px;
}

.rowSaving{
    opacity:0.25;
}

.rowError{
    outline-color:#EE0000;
}

.navTable th:last-child{
    border-top-right-radius:10px;
}

.navTable td{
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    cursor: pointer;
    background-color: white;
    font-weight: 400;
    font-size: 11px;
    color: #333333;
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
    max-width: none;
}

.navTable tr {
    border: 1px solid rgba(0,0,0,0) !important;
    background-color: white;
}

.navTable .navOdd {
    background-color: white !important;
}

.navEven {
    background-color: white;
}

.navTable td:hover{
    background-color: #f8f9fa;
}

.navTableSelected{
    background-color: #e3f2fd !important;
}

.navTableSelected input{
    background-color: rgba(0,0,0,0);
    width: 100%;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.navTable .highlight{
    background-color: #fff3cd;
    color: #856404;
}

.navTable .italic {
    font-style: italic;
}

.navTable .bold{
    font-weight: 500;
}

.navTable .alignRight{
    text-align: right;
}

.navTable .alignMiddle{
    text-align: center;
}

.navTable .alignLeft{
    text-align: left;
}

.navTable input[type=checkbox]{
    min-width: 18px;
    min-height: 18px;
    margin: 4px;
}

.miniTable{
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 400;
    background-color: white;
}

.miniTable th{
    background-color: white;
    color: #333333;
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    position: sticky; 
    top: 0px; 
    z-index: 2;
    font-weight: 400;
    font-size: 12px;
}

.miniTable td{
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    cursor: default;
    background-color: white;
    font-weight: 400;
    font-size: 11px;
}

.miniTable td:hover{
    background-color: #f8f9fa;
    color: #333333;
}

.tableInput{
    margin: -2px;
    border-style: none;
    border-width: 0px;
    display: inline-block;
    outline: none;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    background-color: white;
    padding: 4px;
}

.miniTableRowSelected{
    background-color: #e3f2fd;
}

.tableGrip{
    
    border:1px solid rgba(0,0,0,0) !important;
    border-right: 1px solid #AAAAAA !important;
    padding:0px !important;
    text-align:right;
    position:relative;
    background-color:rgba(0,0,0,0) !important;
}

.selectedHeader{
    outline-style: dotted;
    outline-color: rgba(200,0,0,0.75);
    outline-width: thin;
}

.selectedCell{
    outline-style: dotted;
    outline-color: #102b7c;
    outline-width: medium;
}

.tableGrip:hover{
  
    padding:0px !important;
    text-align:right;
}

.tableGrip .gripper{
    height:100%;
    width:30px;min-width:30px;
    background-color:var(--mediumBGColor);
    cursor:pointer;
    position:relative;
    padding-top:20px;
    margin-bottom:1px;
}

.tableMod {
    position:absolute;
    left:0px;
    top:-15px;
    width:30px;
    height:30px;
    font-size:30px;
    border-radius: 4px;
    display:none;
    background-color:var(--strongUI);
    color:var(--lightBGColor);
    z-index:2;
    padding:0px;
    line-height:40px;
}

.tableMod:hover .tableModLine{
    display:inline-block;
}

.tableModLine{
    position:absolute;
    display:none;
    left:30px;
    top:15px;
    width:2000px;
    height:0px;
    border-width:0px;
    border-top:dashed 3px var(--strongUI);
}

.tableMod span{
    position:relative;
    top:-4px;
}

.navTable tr:hover .tableMod{
    display:inline-block;
}

.noTDWrap{
    white-space: nowrap;
}
.trellisBoard{
    white-space: nowrap;
}

.trellisLane{
    display:inline-block;
    margin-left:5px;
}

.trellisLane td {
    min-height: 43px;
    max-height: 43px;
    height:43px;
    overflow:hidden;
}

.trellisLane th {
    min-height: 43px;
    max-height: 43px;
    height:43px;
    overflow:hidden;
}

.trellisLane h3{
    text-align: center;
    font-size:20px;
    color:#606060;
    font-weight:bold;
}

.tableTotal{
    font-weight:bold;
    background-color:#EFEFEF;
}

.tableRowTotal{
    font-weight:bold;
    background-color:#EFEFEF;
}

.tableGrandTotal{
    font-weight:bold;
    font-size:larger;
}

.navFirstRow{
    border-bottom-style:hidden !important;
}

.navFirstRow td{
     border-bottom-style:hidden !important;
}

.navNextRow{
    border-bottom-style:hidden !important;
    border-top-style:hidden !important;
}

.navNextRow td{
   border-bottom-style:hidden !important;
    border-top-style:hidden !important;
}

.simple-chart{
    /* max-height:400px;
    overflow-y:auto; */
    padding:32px;
    margin: 5px 0;
    max-width:640px;
    border:1px solid #DDDDDD;
    border-radius: 4px;
    background-color: #F9F9F9;
}

.bar-container {
    width: 100%;
    display: flex;
    align-items: center;
    font-size:12px;
    color:black;
    margin: 0 0 2px;
}
.bar-label {
    width: 150px;
    margin: 0 0 0 1px;
    min-width:150px;
    max-width:150px;
}

.bar-canvas{
    display: block;
}
.bar-bar {
    height: 20px;
    background-color: #2a6d2c;
    text-align: right;
    padding-right: 5px;
    color: black;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    cursor:default;
}

.bar-bar:hover{
    background-color: #4caf50;
}

.map-chart{
    padding:16px;
    margin: 5px 0;
    max-width:100%;
    max-height:540px;
    overflow:auto;
    border:1px solid #DDDDDD;
    border-radius: 4px;
    background-color: #F9F9F9;
}

.map-container{
    white-space: nowrap;
    margin: 0 0 2px;
    max-height:10px;
    min-height:10px;
}

.map-label{
    font-size:8px;
    width: 150px;
    margin: 0 0 0 1px;
    min-width:150px;
    max-width:150px;
    display:inline-block;
}

.map-set{
    white-space: nowrap;
    display:inline-block;
    padding:0px;
    max-height:10px;
    min-height:10px;
}

.map-cell{
    min-width:10px;max-width:10px;
    min-height:10px;max-width: 10px;
    display:inline-block;
    padding:0px;
    cursor:default;
    margin:0px;
    line-height: 10px;
}

.map-cell-on{
    background-color: #cf0909;
    color: rgba(0,0,0,0);
}

.map-cell-off{
    background-color: #707070;
    color: rgba(0,0,0,0);
}   

.map-cell:hover{
    outline:#d4a200 solid 1px;
}

.map-check{
    display:inline-block;
    margin:0px;
    padding:0px;
    cursor:pointer;
    min-width: 14px;
    min-height: 14px;
    margin-right: 3px;
    border:solid 1px #707070;
}

.map-check-none{
    background-color: #eeeeee;
}

.map-check-on{
    background-color: #cf0909;
    color: rgba(0,0,0,0);
}

.map-check-off{
    background-color: #707070;
    color: rgba(0,0,0,0);
}

.trtdof{
    max-height: none;
    overflow: visible;
    text-overflow: ellipsis;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.trtdof .workflow {
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
    padding: 0 6px; /* small horizontal padding so line doesn't touch cell edge */
    height: 36px;
    gap: 14px; /* increase spacing between steps */
}

.trtdof .workflow::before {
    content: '';
    position: absolute;
    top: 52%; /* nudge line slightly lower for better visual separation */
    left: 8px;
    right: 8px;
    height: 4px; /* slightly thicker line */
    background-color: #ff8c00;
    z-index: 1;
    transform: translateY(-50%);
}

.trtdof .step {
    display: inline-flex;
    align-items: center;
    background-color: #e9ecef !important;
    color: #333333 !important;
    border-radius: 16px;
    padding: 8px 20px; /* inner padding for breathing room */
    margin: 0 16px 0 0; /* right spacing between pills */
    position: relative;
    z-index: 2;
    border: none;
    font-weight: 400;
    font-size: 12px;
    height: 34px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.trtdof .step button {
    background: #102b7c !important;
    color: white !important;
    border: none !important;
    border-radius: 8px;
    padding: 2px 6px;
    margin: 0;
    font-weight: 500;
    font-size: 12px;
    box-shadow: none;
    transition: color 0.18s ease, background-color 0.18s ease;
    display: inline-flex;
    align-items: center;
}

.trtdof .step::after,
.trtdof .step::before {
    display: none !important;
    content: none !important;
}

.trtdof .step {
    margin-right: 18px;
}

.trtdof .step.active {
    /* active step: bright orange */
    background-color: #ff8c00 !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.18) !important;
}

.navTable .trtdof .step:not(.active) {
    background-color: #e9ecef !important;
    color: #333333 !important;
}

.navTable .trtdof .step.active {
    background-color: #ff8c00 !important;
    color: #ffffff !important;
}

.trtdof .step.active button {
    background: transparent !important;
    color: inherit !important;
}

table td.selected {
    outline: 2px solid #102b7c; 
    background-color: #e3f2fd;
}

/* Highlight the selected row */
table tr.selected {
    outline: 1px solid #102b7c;
    background-color: #f8f9fa;
}

/* Scrollable cell content */
.scrollable-cell {
    max-height: 60px;
    overflow-y: auto;
    overflow-x: hidden;
    word-wrap: break-word;
    white-space: normal;
}

/* Improved table container for better scrolling */
.table-container {
    overflow: auto;
    max-height: 70vh;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: white;
}

.table-container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.table-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}