.pos6-empty-cell{
    width:20px;
}

.highlight-product{
    border: 2px solid red !important;
}
.pos6-svg-container {
    background-color: #eee;
    width: 20px;
    border: 1px solid #ccc;
}

.pos6-svg {
    width: 20px;
    height: 54px !important;
}


.label-hot-charge-cooling-bed {
    font-weight: bold;
    text-align: center;
    background-color: #eee;
    border: 2px solid #ccc;
    border-radius: 5px;
}
.label-real-time-table {
    font-weight: bold;
    font-size:0.75vw;
}

.cell-real-time-table {
    border: 2px solid #ccc;
}


.info-table-no-border {
    height: 54px !important;
    border: none;
}

.drop-container-runout-row-l-no-border {
    border: none;
    height: 54px !important;
}



.no-border-runout-table {
    border-top: none;
    border-right: none;
}

#runout{
    width:100% !important;
}

.division-border-left {
    border: 1px solid blue;
    height: 90vh;
}

.division-border-center {
    border: 1px solid #ff9728;
    height: 90vh;
}

.division-border-right {
    border: 1px solid #49b01b;
    height: 90vh;
}

.division-border {
    /*border: 0.5px dashed #ccc*/
}

.division-border-height-size-big{
    height:63.5vh;
}

.division-border-height-size-small {
    height: 26.5vh;
    margin-top:-9%;
}


.real-time-bars-table-header-sm {
    border: 1px solid #ccc;
    background-color: #eee;
    width:9% !important;
}

.real-time-bars-table-header-l {
    border: 1px solid #ccc;
    background-color: #eee;
    width: 12% !important;
}

.real-time-bars-table-remaining-values {
    font-weight: bold;
    text-align: center;
    font-size: 0.75vw;
    margin-bottom: 0px !important;
    line-height:10px !important;
}




/*-----*/

.cooling-bed-hot-charge-space{
    margin-bottom: 2px;
}

.product-box {
    border-radius: 0.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;
    width: 120px;
    cursor: grab;
}
.product-number {
    font-size: 16px !important;
    text-align: center;
    margin-top: 0px;
}
.drop-positon-container {
    border: 1px dashed #ccc;
    background-color: white;
    border-radius: 5% !important;
    height: 25px !important;
    margin-left: 2px;
    width: 125px;
}



.drop-cooling-bed-container {
    border: 1px dashed #ccc;
    background-color: white;
    border-radius: 1% !important;
    /*height: 60vh !important;*/
    margin-left: 2px;
    width: 130px;
}


.drop-hot-charge-container {
    border: 1px dashed #ccc;
    background-color: white;
    border-radius: 1% !important;
    margin-left: 2px;
    width: 130px;
}
.drop-container-runout-header {
    width: 16vh;
}

.drop-container-runout {
    background-color: #eee;
    width: 133px;
    border: 1px solid #ccc;
}
.drop-container-runout-row-l {
    border: 1px solid #ccc;
    height: 54px !important;
    border-right: 1px solid #ccc;
}


.cooling-bed-hot-charge-position {
 /*   background-color: #fff;
    width: 14vh;*/
}


.drop-container-runout-row-sm {
    height: 30px !important;
}


.runout-product {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}


.draggable-object {
    height: 20px;
    margin-bottom:2px;
    width: 122px;
    background-color: #ccc;
    border: 2px solid #8c8282;
    border-radius: 4px;
    padding-right: 1px !important;
}

.runout-product-flex {
    font-weight: bold;
    font-size: 14px;
    cursor: grab;
    margin-top: 12%;
}














/*-----*/
    /*-----*/
    /*-----*/

.blink-bg {
    animation: blinkingBackground 1s infinite;
    cursor: pointer;
    margin-right: -3px !important;
    margin-top: 3px !important;
    margin-left: 3px !important;
    border: 1px dashed red;
    border-radius:2px;
}

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

    100% {
        background-color: #ccc;
    }
}

#coolingBed tr {
    line-height: 10px;
}


.processes-grid-container tr {
    border-top: 1px solid #ccc;
}
.products-grid-container tr {
    border-top: 1px solid #ccc;
}
.processes-grid-container th {
    border: 1px solid #ccc;
}
.products-grid-container th {
    border: 1px solid #ccc;
}

.backgrid a {
    color: #505050 !important;
}

.backgrid {
    width: auto;
    max-width: none;
    min-width: 100%;
}

    .backgrid th {
        color: #505050 !important;
        overflow: inherit !important;
        text-overflow: inherit !important;
    }

    .backgrid th {
        font-size: 14px !important;
    }

    .backgrid tr {
        font-size: 13px !important;
    }

        .backgrid tr td {
            overflow: visible !important;
        }

    .backgrid td {
        padding-left: 1px;
        padding-right: 1px;
        font-size: 12px;
        border-right: 0.5px solid #DDD;
        border-left: 0.5px solid #DDD;
        cursor: pointer;
    }

/*.backgrid thead th {
    color: #46b2e0 !important;
}

.backgrid {
    width: auto;
    max-width: none;
    min-width: 100%;
}

.backgrid th {
    overflow: inherit !important;
    text-overflow: inherit !important;
}

.backgrid th {
    font-size: 12px !important;
}

.backgrid tr {
    font-size: 12px !important;
}

.backgrid tr td {
    overflow: visible !important;
}


.backgrid td {
    padding-left: 1px;
    padding-right: 1px;
    font-size: 12px;
    border-right: 0.5px solid #DDD;
    border-left: 0.5px solid #DDD;
    cursor: pointer;
}
*/


.warning {
    background-color: red !important;
    color: #FFFFFF !important;
    font-weight: bold;
}

.isCropQuality {
    background-color: #808080 !important;
    color: white !important;
    font-weight: bold;
}


/*row width classes*/
.heat-row {
    min-width: 70px !important;
}
    .HeatName {
        min-width: 70px !important;
    }
.datetime-row {
    min-width: 150px !important;
}
    .CutStart { min-width: 150px !important; }
    .CutEnd   { min-width: 150px !important; }
    .ShipTime { min-width: 150px !important; }

.production-date-row{
    min-width:100px !important;
}

    .ProductionDate {
        min-width: 100px !important;
    }

    .ProductNumber {
        min-width: 70px !important;
    }
.shift-crew-row {
    min-width: 35px !important;
}
    .Shift {
        min-width: 35px !important;
    }
    .CrewId {
        min-width: 35px !important;
    }

.Sequence {
    max-width: 80px !important;
}



td {
    text-align: left;
}


div.tooltip1 {
    position: absolute;
    text-align: center;
    width: 150px !important;
    height: 80px !important;
    padding: 2px;
    pointer-events: none;
    opacity: 1;
    background-color: white;
    border: solid;
    border-width: 2px;
    border-radius: 5px;
    font-size: 12px !important;
}


div.tooltip {
    position: absolute;
    text-align: center;
    width: 150px;
    height: 80px;
    padding: 2px;
    pointer-events: none;
    opacity: 1;
    background-color: white;
    border: solid;
    border-width: 2px;
    border-radius: 5px;
    font-size: 12px !important;
}


.color0 {
    background-color: #ccc;
    font-weight: bold;
}


.color1 {
    background-color: #69b3a2;
    font-weight: bold;
}

.color2 {
    background-color: #ff9728;
    font-weight: bold;
}

.color3 {
    background-color: #479dc4;
    font-weight: bold;
}

.color4 {
    background-color: #d3e71a;
    font-weight: bold;
}
.color5 {
    background-color: #67c2cb;
    font-weight: bold;
}
.color6 {
    background-color: #edec35;
    font-weight: bold;
}
.color7 {
    background-color: #69f59c;
    font-weight: bold;
}

.color8 {
    background-color: #87c2cb;
    font-weight: bold;
}

.color9 {
    background-color: #ed8c35;
    font-weight: bold;
}
.color10 {
    background-color: #69859c;
    font-weight: bold;
}

.dropdown-god-mode {
    width: 125px !important;
    min-width: 120px !important;
    max-width: 130px !important;
}



.selectedItem {
    background-color: #f8e509 !important;
}

.selectedItem td {
    font-weight: 700;
}

.Action {
    min-width: 35px !important;
    width: 35px !important;
}

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

.onRightClickSelectedRow td {
    font-weight: 700;
}

.col-class {
    color: #1f8cba;
    font-weight: bold;
}

label {
    display: block;
    margin-bottom: 5px;
    margin-top:5px;
}




.tagSent {
    background-color: yellow !important;
}

.tagSent td {
    font-weight: 700;
}


.tagCompleted {
    background-color: green !important;
    color: white;
}

.tagCompleted td {
    font-weight: 700;
}

.tagFailed {
    background-color: red !important;
    color:white;
}

.tagFailed td {
    font-weight: 700;
}

.badQuality{
    background-color: orangered !important;
    color: white;
    font-weight: bold !important;
}


.warningQuality {
    background-color: darkgray !important;
    color: white;
}

    .warningQuality td {
        font-weight: bold;
    }

.isTail {
    background-color: orange !important;
    color: black;
}

    .isTail td {
        font-weight: bold;
    }


.parent {
    height: 800px;
    /*border: 5px solid #000;*/
    display: flex;
    flex-direction: column;
}

.child {
    height: 800px;
    width: 100%;
    /*background: #f00;*/
    margin-top: auto;
}


.parent2 {
    position: relative;
    width: 200px;
    height: 150px;
    border: 1px solid black;
}

.child2 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    border: 1px solid red;
}
/*

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

.titles {
    color: #505050 !important;
    font-size: 14px;
}

.tunidsh1Circle {
    background: lightgray;
    border-radius: 50%;
    border: 2px solid #ccc;
    width: 18px;
    height: 18px;
    margin-left: 10px;
    margin-top: 14px;
}

.tunidsh2Circle {
    background: lightgray;
    border-radius: 50%;
    border: 2px solid #ccc;
    width: 18px;
    height: 18px;
    margin-left: 10px;
    margin-top: 14px;
}







.heat {
    margin: 2px 4px 5px 4px !important;
    background-color: white;
    width: 92% !important;
    margin: 4px 4px 4px 4px !important;
    border: 3px solid #5b71e6;
    border-radius: 2% !important;
    line-height: 25px !important;
}

.heat-no-widget {
    margin: 2px 4px 5px 4px !important;
    background-color: white;
    width: 92% !important;
    margin: 4px 4px 4px 4px !important;
    border: 3px solid #ec6a2f;
    border-radius: 2% !important;
    line-height: 25px !important;
}


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

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


.no-widget-ton1 {
    /*background-color: #d3c857;*/
}


.no-widget-heat1 {
    /*background-color: #d3c857;*/
}


.no-widget-ton2 {
    /*background-color: #e9871f;*/
}


.no-widget-heat2 {
    /*background-color: #e9871f;*/
}

.ladle-open {
    border-left: 2px solid #ccc;
    border-right: 2px solid #ccc;
    background-color: #e57736;
    margin-top: -5px;
    height: 25px;
    width: 26px;
    margin-left: 43%;
}

.ladle-open-not-open {
    border-left: 2px solid #ccc;
    border-right: 2px solid #ccc;
    background-color: #ccc;
    margin-top: -5px;
    height: 25px;
    width: 26px;
    margin-left: 43%;
}

.left-value {
    text-align: center;
    height: 120px !important;
    padding-top: 30px
}

.top-value {
    border-bottom: 2px solid #ccc;
    margin-bottom: 2px;
    margin-top: 2px;
    min-height: 22px !important;
}
.title {
    border-bottom: 2px solid #ccc;
    margin-bottom: -4px;
    margin-top: 0.5px;
    min-height: 21px !important;
    background-color: #eee;
    text-align: center;
}
.middle-value {
    margin-bottom: 2px;
    margin-top: 2px;
    min-height: 22px !important;
}

.box-height-ladle-widget {
    height: 120px !important;
    /*margin-left:0px !important;*/
}

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

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

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

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

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

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

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

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

.bottom-right-value {
    line-height: 0px;
    margin-bottom: -2px;
    padding-top: 7px;
}

.bottom-right-value-lable {
    font-size: 9px;
    color: #808080
}


.tundish-unit-labels {
    font-size: 12px;
    color: #808080
}

.left-value-no-ladle-widget {
    text-align: center;
    height: 60px !important;
    padding-top: 10px
}

.box-height-no-ladle-widget {
    height: 60px !important
}

.top-left-value {
    margin-bottom: 2px;
    margin-top: 2px;
    font-weight: bold
}

.top-right-value {
    margin-bottom: 2px;
    margin-top: 2px;
    font-weight: bold
}

.bottom-left-value2 {
    margin-bottom: 2px;
    margin-top: 2px;
    font-weight: bold
}

.bottom-right-value2 {
    margin-bottom: 2px;
    margin-top: 2px;
    font-weight: bold
}

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

.single-value-middle{
    border-left: 2px solid #ccc;
}



/*.drop-positon-container {
    border: 2.5px solid #ccc;
    background-color: #eee;
    border-radius: 5% !important;
    height: 30px !important;
    width: 30px !important;
}
*/

.drop-positon-container-pos6 {
    background-color: #eee;
    border-radius: 5% !important;
    height: 30px !important;
    width: 30px !important;
}

.not-drop-positon-container {
    background-color: #eee;
    border-radius: 5% !important;
    height: 30px !important;
    /*width: 30px !important;*/
}


.drop-positon-container-large {
    border: 2.5px solid #ccc;
    background-color: #eee;
    border-radius: 5% !important;
    height: 30px !important;
    width: 80px !important;
}

.drag-over-drop-container {
    border: 3px solid blue !important;
}


/*.productBox {
    border: 1px solid transparent;
    border-radius: 0.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: #0069d9;*/
    /*border-color: #ccc;
    height: 28.15px;*/
    /*width: 28.15px;*/
    /*width:120px;
    cursor: grab;
   
}*/

.productBoxLarge {
    border: 1px solid transparent;
    border-radius: 0.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: #0069d9;*/
    /*border-color: #ccc;*/
    height: 28px;
    width: 78px;
    cursor: none;
}


.allowed-locations {
    background-color: #a0eb9c !important;
}

input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Tables */


.vscomp-search-clear {
    text-align: center !important;
    margin-top: 10px !important;
}

.vscomp-toggle-button {
    border-radius: 5px !important;
}

.vscomp-toggle-button {
    display: block !important;
    text-align: center;
}

.vscomp-value {
    font-weight: bold !important;
    color: #354e58 !important;
}

.vscomp-search-input {
    height: 30px !important;
    width: 100% !important;
}

.btn-nav {
    font-weight: bold;
    color: #fff;
    height: 30px;
    margin-bottom: 3px;
    margin-left: 5px;
}


div#reassign-product {
    width: 800px;
    margin-left: -400px;
}

.highlight-product-reassign {
    background: #cced96 !important;
}

.source-heat-container {
    margin-top: 10px;
}
.source-products-container {
    margin-top: 50px !important;
    border: 1px solid #ccc;
}

    .source-products-container th {
        text-align: center;
        border: 1px solid #ccc;
        background: #cccccc7a;
    }

    .source-products-container td {
        text-align: center;
        border: 1px solid #ccc;
    }

input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
}

div#reassign-product h3 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}


.action-buttons {
    color: #505050;
    font-weight: bold;
    font-size: 16px;
    margin-right: 2.5px !important;
    margin-left: 2.5px !important;
    border: 1px solid #a7a4a4;
}


.row-fluid.productNumberContainer {
    margin-top: 10px;
}

.row-fluid.employeeNumberContainer {
    margin-top: 10px;
}

.row-fluid.reasonPhrasesContainer {
    margin-top: 10px;
}

.row-fluid.printerContainer {
    margin-top: 10px;
}

.print-comments {
    width: 425px;
    height: 90px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

/* ============================================
   New Modal Styles (from caster-products)
   ============================================ */

/* Form Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px 16px;
    align-items: start;
}

.form-label {
    font-size: 1em;
    font-weight: 500;
    color: #333;
    margin: 0;
    padding-top: 8px;
    letter-spacing: .01em;
}

.field-input,
.field-select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1em;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
    min-height: 40px !important;
    height: 40px;
    padding: 8px 12px;
}

.field-input:focus,
.field-select:focus {
    border-color: #4463d1;
    box-shadow: 0 0 0 2px #e3e9fa;
}

.field-input:disabled,
.field-select:disabled {
    background: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Pair layout for two columns */
.pair-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

.pair-2 > div {
    display: flex;
    flex-direction: column;
}

/* Align printer select with employee number container */
.printer-select {
    margin-top: 33px;
}

.printerLabel {
    margin-top: 33px;
}

/* Print comments textarea */
.print-comments {
    width: 100%;
    min-height: 80px !important;
    height: 80px;
    resize: vertical;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1em;
    background: #fff;
    padding: 8px 12px;
    font-family: inherit;
}

.print-comments:focus {
    border-color: #4463d1;
    box-shadow: 0 0 0 2px #e3e9fa;
}

.print-comments.full {
    grid-column: 1 / -1;
}

/* Required star */
.required-star {
    color: #e63946;
    font-size: 1.12em;
    margin-left: 4px;
    font-weight: bold;
    vertical-align: middle;
}

/* Length note alert */
.length-note {
    padding: 6px 10px;
    font-size: 0.9em;
    text-align: center;
    margin: 10px auto;
    width: fit-content;
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    color: #1e40af;
}

.length-note strong {
    font-weight: 600;
}

/* Modal styles */
.modal-print-tag-confirmation {
    width: 520px;
    background: #f9fafb;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    border: 1px solid #e5e7eb;
    padding: 0;
}

.modal-print-tag-confirmation .modal-header {
    border-bottom: 1px solid #e5e7eb !important;
    background: #fff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 20px 28px 10px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.modal-print-tag-confirmation .modal-header h5 {
    margin: 0;
    font-size: 1.4em;
    font-weight: 600;
    color: #22223b;
    letter-spacing: 0.01em;
}

.modal-print-tag-confirmation .modal-body {
    padding: 22px 28px 14px 28px;
    background: #f9fafb;
    max-height: 550px;
    overflow-y: auto;
}

.modal-print-tag-confirmation .modal-footer {
    border-top: 1px solid #e5e7eb;
    background: #f3f4f6;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 28px;
}

/* Remove justify-content from .modal-footer so buttons use full width */
.modal-print-tag-confirmation .modal-footer {
    justify-content: unset;
    padding: 18px 28px;
    background: #f3f4f6;
    border-top: 1px solid #e5e7eb;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.modal-edit-length {
    width: 520px;
    background: #f9fafb;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    border: 1px solid #e5e7eb;
    padding: 0;
}

.modal-edit-length .modal-header {
    border-bottom: 1px solid #e5e7eb !important;
    background: #fff;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 20px 28px 10px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.modal-edit-length .modal-header h5 {
    margin: 0;
    font-size: 1.4em;
    font-weight: 600;
    color: #22223b;
    letter-spacing: 0.01em;
}

.modal-edit-length .modal-body {
    padding: 22px 28px 14px 28px;
    background: #f9fafb;
    max-height: 550px;
    overflow-y: auto;
}

.modal-edit-length .modal-footer {
    border-top: 1px solid #e5e7eb;
    background: #f3f4f6;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 18px 28px;
}

/* Footer button bar */
.footer-btn-bar {
    display: flex;
    width: 100%;
    gap: 1rem;
}

.w-half {
    width: 50%;
    min-width: 0;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Button styles */
.btn-primary {
    background: #2563eb !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    padding: 8px 26px;
    font-weight: 500;
    letter-spacing: .01em;
    transition: background 0.2s, color 0.2s;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #1d4ed8 !important;
    color: #fff !important;
}

.btn-cancel {
    background: #d6d8dd !important;
    color: #22223b;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1em;
    padding: 8px 26px;
    font-weight: 500;
    letter-spacing: .01em;
    transition: background 0.2s, color 0.2s;
}

.btn-cancel:hover,
.btn-cancel:focus {
    background: #e5e7eb;
    color: #22223b;
}

.close {
    font-size: 1.7em;
    color: #888;
    opacity: 0.7;
    background: transparent;
    border: none;
    margin-right: 0;
    padding: 0 0 0 10px;
    transition: color 0.15s;
}

.close:hover {
    color: #e63946;
    opacity: 1;
}

#warning {
    color: #e63946;
    font-size: .92em;
    margin-top: 4px;
    display: block;
}

.blurred-bg {
    filter: blur(5px);
    transition: filter 0.2s;
    pointer-events: none;
}

/* Toggle buttons for Hot/Cold length */
#printLengthToggle label.btn,
#editLengthToggle label.btn {
    border: 1px solid #c7c7c7 !important;
    padding: 6px 12px !important;
    cursor: pointer !important;
    user-select: none !important;
    background: #f3f4f6 !important;
    color: #374151 !important;
    box-shadow: none !important;
}

/* Inactive style */
#printLengthToggle label.btn.btn-inactive,
#editLengthToggle label.btn.btn-inactive {
    background: #f3f4f6 !important;
    color: #374151 !important;
    border-color: #c7c7c7 !important;
}

/* HOT selected */
#printLengthToggle label.btn.btn-hot-active,
#editLengthToggle label.btn.btn-hot-active {
    background: #dc2626 !important;
    color: #fff !important;
    border-color: #b91c1c !important;
}

/* COLD selected */
#printLengthToggle label.btn.btn-cold-active,
#editLengthToggle label.btn.btn-cold-active {
    background: #2563eb !important;
    color: #fff !important;
    border-color: #1d4ed8 !important;
}

/* Responsive */
@media (max-width: 650px) {
    .modal-print-tag-confirmation,
    .modal-edit-length {
        width: 98vw;
        min-width: 0;
        padding: 0;
    }
    .modal-print-tag-confirmation .modal-body,
    .modal-print-tag-confirmation .modal-header,
    .modal-print-tag-confirmation .modal-footer,
    .modal-edit-length .modal-body,
    .modal-edit-length .modal-header,
    .modal-edit-length .modal-footer {
        padding-left: 12px;
        padding-right: 12px;
    }
    .form-label {
        width: 90px;
        font-size: .97em;
    }
    .field-input,
    .field-select,
    .print-comments {
        width: 100%;
        min-width: 0;
    }
}