.status-grid-container tbody tr:nth-child(odd) {
    background-color: #ffffff; /* White for odd rows */
  }
  
  .status-grid-container tbody tr:nth-child(even) {
    background-color: #f0f0f0; /* Light grey for even rows */
  }

.not-allowed-locations {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    background-color: #ed5656 !important;
    font-weight: bold !important;
    font-size: 15px !important;
}




.Grade {
    min-width: 90px !important;
}
.Melt .Order{
    max-width:120px !important;
}
.Status{
    min-width:90px !important;
}

.Sample{
    width: 60px !important;
}
.O2{
    width:40px !important;
}

.C {
    width: 40px !important;
}



.vscomp-options-container {
    padding-bottom: 10px !important;
}

.blink-bg {
    /*  color: #fff;
    padding: 10px;
    display: inline-block;
    border-radius: 5px;*/
    animation: blinkingBackground 1s infinite;
}

@keyframes blinkingBackground {
    0% {
        background-color: red;
    }

    100% {
        background-color: #ccc;
    }

}


#main-div, th, td{
    /*border: 1px black solid;*/
}

#main-div, tr {
   height: 80.5px;
}

#grid, tr{
    height:30px !important;
}
.status-grid-container th a {
    color: #2B2B2E !important;
    font-size: 12px !important;
    font-weight:bold !important;
}
.top-grid-container th a {
    color: #2B2B2E !important;
    font-size: 12px !important;
    font-weight: bold !important;
}

.content-container.hide-subnavbar > .content-inner-container {
    margin-top: 0;
}

hr {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: -16px !important;
    margin-right: -12px !important;
    border-style: inset;
    border-width: 0.4px;
    border-color: lightgray;
}

.status-grid-container .backgrid td {
    padding-left: 1px;
    padding-right: 1px;
    font-size: 14px;
    border-right: 0.5px solid #DDD;
    border-left: 0.5px solid #DDD;
}


.table {
    border-top: 0.5px solid #DDD;
    border-radius: 5px !important;
    background-color: #fafafa;
}

.top-grid-container .backgrid td {
    padding-left: 1px;
    padding-right: 1px;
    font-size: 14px;
    border-right: 0.5px solid #DDD;
    border-left: 0.5px solid #DDD;
}
.top-grid-container .backgrid td {
    line-height: 0px !important;
    /*padding: 2px 1px;
    cursor: pointer;*/
}

.items-grid-container .backgrid tr th {
    min-width: 70px !important;
}
.backgrid thead th {
    color: #46b2e0 !important;
    font-size: 11px;
}

th {
    border: 1px solid #ccc;
}

.container-fluid.content-inner-container {
  /*  padding-top: 5px;
    padding-left: 5px;
    padding-right: 4px;*/
}

.content-inner-container .subnavbar{
    padding:0px;
}


.info-field-label {
    color: #505050;
    font-weight: bold;
}
.info-field-value{

}

.line-height {
    line-height: 35px !important;
}

.info-unit-label {
    color: #9a9a9a;
    font-style: oblique;
    font-size: 11px;
}


.alloysgrid .table thead th {
    color: #46b2e0 !important;
}


.alloysgrid th {
    border: 1px solid #4292b5;
    font-size: 11px !important;
    border-bottom: 1px solid #DDD;
}

.alloysgrid thead th {
    vertical-align: bottom;
    background-color: #f9f9f9;
}

.alloysgrid th, .alloysgrid td {
    height: 20px;
    max-width: 250px;
    padding: 4px 5px;
    overflow: hidden;
    line-height: 20px;
    text-align: center;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.alloysgrid td, .alloysgrid th {
    width: 1px !important;
    vertical-align: middle !important;
}


/*.alloysgrid tbody tr td.spanrow1:hover {
    background-color: #f5f5f5;
}*/

.alloysgrid td {
    padding-left: 1px;
    padding-right: 1px;
    font-size: 11px;
    border-right: 0.5px solid #DDD;
    border-left: 0.5px solid #DDD;
    border-bottom: 0.5px solid #DDD;
}

.backgrid th, .backgrid td{
    padding: 4px 0px !important;
}

.alloysgrid th.sortable a {
    text-decoration: none;
    cursor: pointer;
}
.autocomplete {
    margin-left: 32px !important;
}

.process-phases-chart-container {
    margin-top: 10px;
    background-color: #f9f9f9;
}

.phase-1-color {
    background-color: #F5802D !important;
}

.phase-2-color {
    background-color: #5DCC0F !important;
}

.phase-3-color {
    background-color: #44B61B !important;
}

.phase-4-color {
    background-color: #2BA027 !important;
}

.phase-5-color {
    background-color: #0094ff !important;
}

.phases-chart-item {
    float: left;
    height: 20px;
    font-weight: bold;
    text-align: center;
}

.phase-1-color,
.phase-2-color,
.phase-3-color,
.phase-4-color,
.phase-5-color {
    color: #fff;
}

.backgrid .bullet {
    width: 10px;
    height: 10px;
    display: inline-block;
    margin: 0px 5px 0;
    border: 1px solid #ACA8A8;
    vertical-align: middle;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}


.grids-containers {
    margin-top: 10px;
    font-size: 11px;
}

.grids-containers h5 {
    margin: 0;
}

.process-buckets-grid-container .timestamp {
    width: 40% !important;
}

.navigation-button {
    margin-right: 2.5px;
    margin-left: 2.5px;
}
.locations {
    width: 500px;
    max-width: 550px;
    max-height:150px;
    height: 100px;
    padding: 10px;
    border: 1px solid black;
}

.fit-image {
    height: 110%;
    width: 100%;
    object-fit: cover;
}

.img{
    cursor:pointer;
}
.position-container {
    border: 1px solid #0069d9;
    border-radius: 5% !important;
}

.rectangle {
    min-width: 100px;
    min-height: 100px;
    max-width: 120px;
    max-height: 120px;
    padding: 10px;
    border: 1px #0069d9 black;
}

.locations-name{
    margin-left:20px;
}

.adjust-height{
    max-height:20px !important;
    height: 10px !important;
    min-height: 5px !important;
}

.hideimg{
    display:none !important;
}

.maintenance {
    margin-bottom: 5px !important;
    /*border: 0.5px dashed black;*/
    padding: 1px 5px 5px 1px;
    text-align: left !important;
    margin-top: 2px;
    margin-left: 2px;
    margin-right: 2px;
    display: inline-block;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    background-color: #2385e9;
    border: 1px solid rgba(27, 31, 35, 0.15);
    max-height: 15px;
}

.heatNameInMaintenance {
    color: white !important;
    margin-left: 0px !important;
    margin-bottom: 0px !important;
}

.font-fluid-size {
    /*font-size: 1vw;*/
}


.box {
    position: relative;
    display: inline-block; /* Make the width of box same as image */
}

.box .text {
    position: absolute;
    z-index: 999;
    margin: 0 auto;
    left: 2%;
    right: 0;
    top: -32%; /* Adjust this value to move the positioned div up and down */
    text-align: center;
    width: 60%; /* Set the width of the positioned div */
}

.drop-magin-container {
    border: 1px dashed #0069d9;
}

.drop-container {
    border: 1px solid #0069d9;
    background-color: #f1f3f9;
    width: 90px !important;
    height: 90px !important;
    border-radius: 5% !important;
}

/*.drop-min-container {
    border: 1px solid #0069d9;
    background-color: #f1f3f9;
    max-width: 90px !important;
    min-width:50px !important;
    min-height: 50px !important;
    max-height: 150px !important;
    border-radius: 5% !important;
    margin-bottom: 10px !important;
    padding: 0px 0px 2px 0px !important;
}

*/




.fake-min-container {
    border: 1px solid white;
    max-width: 90px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-height: 130px !important;
    border-radius: 5% !important;
    margin-bottom: 10px !important;
    padding: 0px 0px 2px 0px !important;
}



.drop-container h5{
    font-size:12px !important;
    text-align: center;
}

/*.drop-min-container h5 {
    font-size: 12px !important;
    text-align: center;
}*/

.fake-drop-container {
    border: 1px solid white;
    width: 90px !important;
    height: 110px !important;
}
.maintenance-container {
    border: 1px solid #0069d9;
    padding: 1px 1px 1px 1px;
    background-color: #f1f3f9;
    border-radius: 2% !important;
}

.row-drop-containers{
    margin-bottom: 0px !important;
}


h6 {
    text-align: center;
}


.bottom-dashed-line {
    /*border-bottom: 2px dashed #adabab;*/
}


.top-dashed-line {
    border-top: 2px dashed #adabab;
}

.drag-over-drop-container {
    border: 3px solid !important;
    border-color:lawngreen;
    padding:0px !important;
}

.cells-dimension{
  height:150px;
}
.positions-with-widget-only{
    height: 122px !important;
}
.allowed-locations {
    /*background-color: #49f558 !important;*/
    background-color: #a0eb9c !important;
}

.heat {
    /*background-color: white;
    width: 94% !important;*/
    /*border: 1px solid orangered;*/
    /*border: 1px solid #a8abd7;
    border-radius: 5% !important;*/
    margin: 2px 4px 5px 4px !important;
    background-color: white;
    width: 92% !important;
    margin: 4px 4px 4px 4px !important;
    border: 3px solid #5b71e6;
    border-radius: 5% !important;
}

.draggable-object {
    cursor: grab;
}

.status-grid-container .backgrid td {
    padding: 2px 1px;
    cursor: pointer;
}
.status-grid-container {
    padding: 20px;
    margin-top: 0px;
}
.top-grid-container{
    padding:20px;
}

.resize-heat-name {
    /*margin-top: -20px;
    text-align: center;
    font-size: calc(3.5px + 0.7vw) !important;*/
}

table, th, td {
    /*border: 1px solid black;*/
}


table, td {
    width: 9%;
    height: 10%;
    min-height: 5% !important;
    padding: 5px 0px 5px 0px;
}


.drop-maintenance-container {
    border: 3px solid #ccc;
    background-color: #eee;
    width: 85%;
    height: 80%;
    border-radius: 3% !important;
    margin-left: 5%;
    /*max-height: 80px;*/
    padding: 10px !important;
}


.drop-positon-container h5 {
    font-size: 12px !important;
    text-align: center;
}


.drop-positon-container {
    border: 2.5px solid #ccc;
    background-color: #eee;
    width: 92%;
    height: 90%;
    border-radius: 5% !important;
    margin-left: 5%;
    margin-bottom: 5%;
    min-height: 110px !important;
}

.position-labels {
    margin-top: 0%;
    margin-bottom: 0%;
    font-size: 15px !important;
    text-align: center;
}
th.Position{
    width:100px !important;
}
.pointer-events-none {
    pointer-events: none !important;
}


.heat-name-ladle-null {
    text-align: center;
    font-size: calc(3.5px + 0.7vw) !important;
}

.warningMessage{
    color: red;
}

.warningFlag {
    color: white !important;
    background-color: #ed5656 !important;
    font-weight: bold !important;
    font-size: 15px !important;
}

[data-tooltip]:before {
    /* needed - do not touch */
    content: attr(data-tooltip);
    position: absolute;
    opacity: 0;
    /* customizable */
    transition: all 0.15s ease;
    padding: 10px;
    color: #333;
    border-radius: 10px;
    box-shadow: 2px 2px 1px silver;
}



.tooltip-heat {
    cursor: pointer
}

.onRightClickSelectedRow {
    background-color: lightblue !important;
}

.onRightClickSelectedRow td {
    font-weight: 700;
}
.heat-details {
    text-align: center;
    margin-left: 2px;
    border-left: 1px solid #ccc;
    margin-bottom: 2px;
    margin-top: 2px;
    cursor:grab;
}

/*classes for the Widget from Supervison Screen*/
.heat-s {
    margin: 2px 4px 5px 4px !important;
    background-color: white;
    width: 96% !important;
    margin-left: 1.25% !important;
    border: 3px solid #5b71e6;
    border-radius: 2% !important;
}

/* Border color variations based on Plate Assembly count */
.heat-s-plate-warning {
    border: 3px solid #FFA500 !important; /* Orange/Yellow for exactly 3 heats */
}

.heat-s-plate-danger {
    border: 3px solid #ed5656 !important; /* Red for 4+ heats */
}
.title-s {
    border-bottom: 2px solid #ccc;
    margin-bottom: -4px;
    margin-top: 0.5px;
    /*min-height: 21px !important;*/
    background-color: #eee;
    text-align: center;
}
.left-value-s {
/*    text-align: center;
    height: 120px !important;
    padding-top: 30px*/
}

.heat-details-s {
    text-align: center;
    margin-left: 2px;
    border-left: 2px solid #ccc;
    /*margin-bottom: 2px;*/
    margin-top: 2px;
    cursor: grab;
}

.box-height-ladle-widget-s {
    /*height: 120px !important;*/
}
.top-value-s {
    border-bottom: 2px solid #ccc;
    margin-bottom: 2px;
    margin-top: 2px;
    /*min-height: 22px !important;*/
}

.middle-value-s {
    margin-bottom: 2px;
    margin-top: 2px;
    /*min-height: 22px !important;*/
}

.border-top-bottom-s {
    border-bottom: 2px solid #ccc;
    border-top: 2px solid #ccc
}

.border-right-s {
    border-right: 2px solid #ccc;
}

.middle-left-value-s {
    margin-bottom: 2px;
    margin-top: 2px;
}

.middle-right-value-s {
    margin-bottom: 2px;
    margin-top: 2px;
}

.bottom-left-value-s {
    border-right: 2px solid #ccc;
    /*line-height: 0px;*/
    margin-bottom: -2px;
    padding-top: 7px;
}

.bottom-left-value-label-s {
    font-size: 9px;
    color: #808080
}

.label-heats-min-mwh-s {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-family: inherit;
    font-weight: bold;
    font-size: 11.9px;
    color: #2b2b2e;
    text-rendering: optimizelegibility;
}

.bottom-middle-value-s {
    border-right: 2px solid #ccc;
    /*line-height: 0px;*/
    margin-bottom: -2px;
    padding-top: 7px;
}

.heats-mwh-min-labels {
    font-size: 9px;
    color: #808080;
    border-right:2px solid #ccc;
}

.heats-mwh-min-labels-right{
    font-size: 9px;
    color: #808080;
}


.bottom-right-value-lable-s {
    font-size: 9px;
    color: #808080
}
.widget-container {
    width: 98% !important;
    height: 104px;
    cursor: grab;
}
.smallWidget {
    height: 50px !important;
}

.ladleID-widget {
    text-align: center;
    padding-left: 3%;
}
.ladleID-widget-label{
    font-size:1.1rem;

}










.button-4 {
    appearance: none;
    background-color: #98c5f3;
    border: 1px solid rgba(27, 31, 35, 0.15);
    border-radius: 6px;
    box-shadow: rgb(27 31 35 / 4%) 0 1px 0, rgb(255 255 255 / 25%) 0 1px 0 inset;
    box-sizing: border-box;
    /* color: #24292E; */
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 18px;
    font-weight: 500;
    line-height: 56px;
    height: 40px;
    list-style: none;
    padding: 6px 7px;
    position: relative;
    transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
    word-wrap: break-word;
    margin-top: 20px !important;
    width: 100px !important;
    line-height: 20px;
    margin-left: 30px;
    color: #2b2b2e;
}

    .button-4:hover {
        /*background-color: #F3F4F6;*/

        background-color: #ffc020;
        text-decoration: none;
        transition-duration: 0.1s;
    }

    .button-4:disabled {
        background-color: #FAFBFC;
        border-color: rgba(27, 31, 35, 0.15);
        color: #959DA5;
        cursor: default;
    }

    .button-4:active {
        background-color: #EDEFF2;
        box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset;
        transition: none 0s;
    }

    .button-4:focus {
        outline: 1px transparent;
    }

    .button-4:before {
        display: none;
    }
    
.screen-content > .row-fluid:first-child {
    margin-top: 0 !important;
}
.unjustified-delays-container {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 6px 14px;
    margin: 0;
}

/* Each banner */
.unjustified-delays-banner {
    display: flex;
    align-items: center;
    gap: 10px;

    background: #F6F86B;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.15);

    font-weight: 600;
    font-size: 14px;
    color: #000;

    position: relative;
    z-index: 1000;
}

.unjustified-left  { justify-content: flex-start; }
.unjustified-right { justify-content: flex-end; }

/* Count */
.unjustified-delays-banner .count {
    font-weight: 800;
}

/* Button */
.banner-btn {
    padding: 3px 10px;
    font-weight: 700;
    text-transform: uppercase;
}
.main-content { margin-top: -50px; }
.main-content.hasBanner { margin-top: 0; }

/* Must Under Cover box: same row as EAF B, above Maintenance; match .drop-maintenance-container look.
   Visibility (display) is controlled by JS: cell is hidden when there are no heats to cover. */
.must-under-cover-cell {
    vertical-align: top;
    padding: 2px 0;
}
.must-under-cover-cell h5 {
    margin-bottom: 4px;
}
.must-under-cover-box {
    display: flex;
    flex-direction: row;
    gap: 8px;
    border: 3px solid #ccc;
    background-color: #eee;
    border-radius: 3% !important;
    padding: 10px !important;
    min-width: 266.167px;
    min-height: 169px;
    width: 90%;
    margin-left: 5%;
    box-sizing: border-box;
}
.must-under-cover-left,
.must-under-cover-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.must-under-cover-left {
    border-right: 1px solid #ccc;
    padding-right: 6px;
}
#mustUnderCoverLeft,
#mustUnderCoverRight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}
.must-under-cover-col-label {
    font-size: 12px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #333;
}
.must-under-cover-heat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px !important;
    font-weight: bold !important;
    padding: 6px 8px;
    cursor: help;
    border-radius: 5%;
    margin-bottom: 4px;
    text-align: center;
    box-sizing: border-box;
}
.must-under-cover-heat.must-under-cover-not-covered {
    color: white !important;
    background-color: #ed5656 !important;
    border: none;
}
.must-under-cover-heat.must-under-cover-covered {
    color: white !important;
    background-color: #146c43 !important;
    border: none;
}
.must-under-cover-heat.must-under-cover-covered.must-under-cover-covered-alert {
    background-color: #b45309 !important;
    border: 2px solid #d97706;
}
.must-under-cover-heat-name {
    cursor: pointer;
}
.must-under-cover-heat-name:hover {
    text-decoration: underline;
}
.must-under-cover-edit-alert {
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.15s ease;
}
.must-under-cover-edit-alert:hover {
    opacity: 1;
}
.must-under-cover-draggable {
    cursor: grab;
}
.must-under-cover-draggable:active {
    cursor: grabbing;
}
.must-under-cover-goto-report {
    cursor: pointer;
}
/* Must Under Cover tooltips: white background, black text, fully opaque, smooth animation */
.tooltip-must-under-cover {
    opacity: 0;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    transform: translateY(4px);
}
.tooltip-must-under-cover.in {
    opacity: 1 !important;
    transform: translateY(0);
}
.tooltip-must-under-cover .tooltip-inner {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc;
    opacity: 1 !important;
    padding: 8px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.tooltip-must-under-cover.top .tooltip-arrow {
    border-top-color: #fff;
    transition: border-color 0.2s ease-out;
}
.tooltip-must-under-cover.bottom .tooltip-arrow {
    border-bottom-color: #fff;
    transition: border-color 0.2s ease-out;
}
.tooltip-must-under-cover.left .tooltip-arrow {
    border-left-color: #fff;
    transition: border-color 0.2s ease-out;
}
.tooltip-must-under-cover.right .tooltip-arrow {
    border-right-color: #fff;
    transition: border-color 0.2s ease-out;
}
.must-under-cover-drop-zone.drag-over-drop-container {
    min-height: 2em;
}
