﻿/*.column {*/
/*    padding: 0.4rem;*/
/*}*/

/*.card-footer-item {*/
/*    padding: 0.1rem;*/
/*}*/

/*.card-footer-item:hover {*/
/*    background-color: #989898;*/
/*}*/
/*button:hover {*/
/*    background-color: #989898;*/
/*}*/
/*a:hover {*/
/*    background-color: #989898;*/
/*}*/

/*.card-content {*/
/*    padding: 0.4rem;*/
/*}*/

/*.card-header-title {*/
/*    padding: 0.1rem 0.1rem;*/
/*}*/

.table td, .table th {
    vertical-align: middle;
}
#message {
    z-index: 1000;
    position: sticky;
    top: 0px;
}
/*input[type='checkbox'] {*/
/*    transform: scale(2);*/
/*}*/
/*.button {*/
/*    background-color: #F8F8F8;*/
/*}*/

.loaderbook {
    width: 200px;
    height: 140px;
    background: #979794;
    box-sizing: border-box;
    position: relative;
    border-radius:8px;
    perspective: 1000px;
    display: block;

}

.loaderbook:before{
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    top: 10px;
    bottom: 10px;
    border-radius:8px;
    background: #f5f5f5  no-repeat;
    background-size: 60px 10px;
    background-image: 	linear-gradient(#ddd 100px, transparent 0) ,
    linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0);

    background-position: 15px 30px , 15px 60px , 15px 90px,
    105px 30px , 105px 60px , 105px 90px;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
}
.loaderbook:after {
    content: '';
    position: absolute;
    width: calc(50% - 10px);
    right: 10px;
    top: 10px;
    bottom: 10px;
    border-radius: 8px;
    background: #fff no-repeat;
    background-size: 60px 10px;
    background-image: linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0);
    background-position: 50% 30px ,50% 60px , 50%  90px;
    transform: rotateY(0deg );
    transform-origin: left center;
    animation: paging 1s linear infinite;
}


@keyframes paging {
    to {
        transform: rotateY( -180deg );
    }
}

#MessagesHistory {
    position: absolute;
    left: 0;
    top: 0;
    width: 200px;
}
.lineLoader {
    width: 100%;
    height: 16px;
    display: inline-block;
    background-color: #FFF;
    border: 1px solid #FFF;
    border-radius: 4px;
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.25) 25%, transparent 25%, transparent 50%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.25) 75%, transparent 75%, transparent);
    font-size: 30px;
    background-size: 1em 1em;
    box-sizing: border-box;
    animation: barStripe 1s linear infinite;
}

@keyframes barStripe {
    0% {
        background-position: 1em 0;
    }
    100% {
        background-position: 0 0;
    }
}

* {
    box-sizing: border-box;
}
/*html,*/
.spinner_outer_container {
    padding: 0;
    margin: auto;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 1000;
    left: 20vw;
    top: 30vh;
}
.spinner_container {
    position: relative;
    display: block;
    width: 70vh;
    height: 70vh;

    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(45deg) rotateX(45deg);
}
.circle:nth-child(0) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 0vh;
    top: 0vh;
    width: 70vh;
    height: 70vh;
    -webkit-animation: spin Infinitys infinite linear;
    animation: spin Infinitys infinite linear;
}
.circle:nth-child(1) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 2.1875vh;
    top: 2.1875vh;
    width: 65.625vh;
    height: 65.625vh;
    -webkit-animation: spin 12s infinite linear;
    animation: spin 12s infinite linear;
}
.circle:nth-child(2) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 4.375vh;
    top: 4.375vh;
    width: 61.25vh;
    height: 61.25vh;
    -webkit-animation: spin 6s infinite linear;
    animation: spin 6s infinite linear;
}
.circle:nth-child(3) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 6.5625vh;
    top: 6.5625vh;
    width: 56.875vh;
    height: 56.875vh;
    -webkit-animation: spin 4s infinite linear;
    animation: spin 4s infinite linear;
}
.circle:nth-child(4) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 8.75vh;
    top: 8.75vh;
    width: 52.5vh;
    height: 52.5vh;
    -webkit-animation: spin 3s infinite linear;
    animation: spin 3s infinite linear;
}
.circle:nth-child(5) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 10.9375vh;
    top: 10.9375vh;
    width: 48.125vh;
    height: 48.125vh;
    -webkit-animation: spin 2.4s infinite linear;
    animation: spin 2.4s infinite linear;
}
.circle:nth-child(6) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 13.125vh;
    top: 13.125vh;
    width: 43.75vh;
    height: 43.75vh;
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;
}
.circle:nth-child(7) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 15.3125vh;
    top: 15.3125vh;
    width: 39.375vh;
    height: 39.375vh;
    -webkit-animation: spin 1.714285714285714s infinite linear;
    animation: spin 1.714285714285714s infinite linear;
}
.circle:nth-child(8) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 17.5vh;
    top: 17.5vh;
    width: 35vh;
    height: 35vh;
    -webkit-animation: spin 1.5s infinite linear;
    animation: spin 1.5s infinite linear;
}
.circle:nth-child(9) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 19.6875vh;
    top: 19.6875vh;
    width: 30.625vh;
    height: 30.625vh;
    -webkit-animation: spin 1.333333333333333s infinite linear;
    animation: spin 1.333333333333333s infinite linear;
}
.circle:nth-child(10) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 21.875vh;
    top: 21.875vh;
    width: 26.25vh;
    height: 26.25vh;
    -webkit-animation: spin 1.2s infinite linear;
    animation: spin 1.2s infinite linear;
}
.circle:nth-child(11) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 24.0625vh;
    top: 24.0625vh;
    width: 21.875vh;
    height: 21.875vh;
    -webkit-animation: spin 1.090909090909091s infinite linear;
    animation: spin 1.090909090909091s infinite linear;
}
.circle:nth-child(12) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 26.25vh;
    top: 26.25vh;
    width: 17.5vh;
    height: 17.5vh;
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
}
.circle:nth-child(13) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 28.4375vh;
    top: 28.4375vh;
    width: 13.125vh;
    height: 13.125vh;
    -webkit-animation: spin 0.923076923076923s infinite linear;
    animation: spin 0.923076923076923s infinite linear;
}
.circle:nth-child(14) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 30.625vh;
    top: 30.625vh;
    width: 8.75vh;
    height: 8.75vh;
    -webkit-animation: spin 0.857142857142857s infinite linear;
    animation: spin 0.857142857142857s infinite linear;
}
.circle:nth-child(15) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 32.8125vh;
    top: 32.8125vh;
    width: 4.375vh;
    height: 4.375vh;
    -webkit-animation: spin 0.8s infinite linear;
    animation: spin 0.8s infinite linear;
}
.circle:nth-child(16) {
    position: absolute;
    background: transparent;
    border: 2px solid #89CFF0;
    border-radius: 50%;
    left: 35vh;
    top: 35vh;
    width: 0vh;
    height: 0vh;
    -webkit-animation: spin 0.75s infinite linear;
    animation: spin 0.75s infinite linear;
}
.circle:nth-child(2n) {
    border: 2px dashed rgba(137,207,240,0.5);
}
.circle:last-child {
    display: none;
}
@-webkit-keyframes spin {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(360deg);
    }
}
@keyframes spin {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(360deg);
    }
}
/*.columns:not(:last-child) {*/
/*    margin-bottom: calc(0.25rem);*/
/*}*/
/*.column {*/
/*    padding-left: 0.25rem;*/
/*    padding-right: 0.25rem;*/
/*}*/


.navbar-dropdown {
    background-color: lightblue !important;
}

table {
    text-align: left;
    position: relative;
}
th {
    background: white;
    position: sticky;
    top: 0;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 20px;
}
.lds-ellipsis div {
    position: absolute;
    top: 3px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: tan;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

.failed-to-load-overlay {
    /*position: absolute;*/
    /*/background-color: rgba(194,  59, 34, 0.8); !* Semi-transparent red background *!*/
    color: white;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em; /* Large text size */
    /*left: 0;*/
    pointer-events: none;
    font-family: "VT323", monospace;
}
.failed-to-load-overlay pre {
    /*position: absolute;*/
    /*/background-color: rgba(194,  59, 34, 0.8); !* Semi-transparent red background *!*/
    color: white;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em; /* Large text size */
    /*left: 0;*/
    pointer-events: none;
    font-family: "VT323", monospace;
}
.canceled-overlay {
    color: white;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em; /* Large text size */
    /*left: 0;*/
    pointer-events: none;
    font-family: "VT323", monospace;
}

.is-canceled {
    position: relative; /* Needed to position the absolute overlay */
    overflow: hidden; /* Prevents any overflow from the overlay */
}

.sales-targets-table {
    width: 95%;
    font-family: "Inconsolata", monospace;
    font-optical-sizing: auto;
    border: none !important;

}
.sales-targets-table tbody tr td {
    text-align: right;
    border: none !important;
    width: 8.33%;

}
.sales-targets-table thead tr th {
    text-align: right !important;
    border: none !important;
    width: 8.33%;

}

.sales-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, max-content));
    justify-content: center;
    gap: 1rem;
    padding: 3px;
}

.sales-month {
    font-weight: bold;
    text-align: right;
    font-family: "Inconsolata", monospace;
}

.sales-total {
    color: #333;
    text-align: right;
    font-family: "Inconsolata", monospace;
}

@media (max-width: 600px) {
    .sales-container {
        grid-template-columns: 1fr;
    }
    .sales-month {
        font-weight: bold;
        text-align: center;
        font-family: "Inconsolata", monospace;
    }

    .sales-total {
        color: #333;
        text-align: center;
        font-family: "Inconsolata", monospace;
    }
}
.search-result-row {
    transition: all 0.3s ease-in-out;
    opacity: 1;
}

.search-result-row-enter {
    opacity: 0;
    transform: translateY(-20px);
}

.search-result-row-exit {
    opacity: 0;
    transform: translateY(20px);
}

.search-result-container {
    transition: height 0.3s ease-in-out;
}
@media screen and (min-width: 1408px) {
    .container:not(.is-max-desktop):not(.is-max-widescreen) {
        max-width: 2408px;
    }
}

.line-modify pre {
    background-color: #ffe082;
}

.json-diff-viewer pre {
    overflow: hidden;
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    white-space: pre-wrap;
    word-break: break-all;
    padding-top: 3px;
    padding-bottom: 0px;

}

html:has(.production-table-container) {
    overflow: hidden;
}

.holiday-table {
    th:last-child, td:last-child {
        display: none;
    }
}

/* ============================================
   Order Details Terminal Aesthetic Styles (Light Theme)
   ============================================ */

/* Main terminal container */
.order-details-terminal {
    font-family: 'JetBrains Mono', 'Inconsolata', monospace;
    background: #f6f8fa;
    color: #24292f;
    padding: 1.5rem;
    border-radius: 4px;
    border: 1px solid #d0d7de;
}

/* Critical header section */
.order-header-critical {
    background: #ffffff;
    padding: 1rem;
    border: 2px solid #d0d7de;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.order-job-number {
    color: #0969da;
    font-weight: bold;
    font-size: 1.4rem;
}

.order-total-amount {
    color: #1a7f37;
    font-weight: bold;
    font-size: 1.4rem;
}

/* Quick reference grid */
.order-quick-ref {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid #d0d7de;
}

.order-field-label {
    color: #57606a;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.order-field-value {
    color: #24292f;
}

/* Collapsible sections */
.order-section-collapsible {
    background: #ffffff;
    border-left: 3px solid #0969da;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    border: 1px solid #d0d7de;
}

.order-section-header {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #0969da;
    display: flex;
    align-items: center;
    transition: background 0.2s;
    user-select: none;
}

.order-section-header:hover {
    background: #f6f8fa;
}

.order-section-content {
    padding: 1rem;
    border-top: 1px solid #d0d7de;
}

/* Status badges */
.order-status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.status-loaded {
    background: #dafbe1;
    color: #1a7f37;
    border: 1px solid #1a7f37;
}

.status-processing {
    background: #fff8c5;
    color: #7d4e00;
    border: 1px solid #9a6700;
}

.status-failed {
    background: #ffebe9;
    color: #cf222e;
    border: 1px solid #cf222e;
}

.status-error {
    background: #ffebe9;
    color: #cf222e;
    border: 2px solid #cf222e;
}

.status-dispatched {
    background: #dafbe1;
    color: #1a7f37;
    border: 1px solid #1a7f37;
}

.status-cancelled {
    background: #e1e4e8;
    color: #57606a;
    border: 1px solid #57606a;
}

.status-processed {
    background: #dafbe1;
    color: #1a7f37;
    border: 1px solid #1a7f37;
}

/* Financial breakdown table */
.financial-table {
    width: 100%;
    border-collapse: collapse;
}

.financial-table td {
    padding: 0.25rem 0.5rem;
    border: none;
}

.financial-table td:first-child {
    color: #57606a;
    text-align: left;
}

.financial-table td:last-child {
    color: #24292f;
    text-align: right;
    font-weight: 500;
}

.financial-total {
    border-top: 2px solid #d0d7de;
    padding-top: 0.5rem !important;
    margin-top: 0.5rem;
}

.financial-total td {
    font-weight: bold;
    font-size: 1.1rem;
}

.financial-total td:last-child {
    color: #1a7f37;
}

/* Decor summary table */
.decor-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.decor-summary-table thead th {
    color: #57606a;
    text-align: left;
    padding: 0.5rem;
    border-bottom: 2px solid #d0d7de;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.decor-summary-table tbody td {
    padding: 0.5rem;
    border-bottom: 1px solid #d0d7de;
    color: #24292f;
}

.decor-summary-table tbody tr:hover {
    background: #f6f8fa;
}

/* Error list */
.error-list {
    background: #ffebe9;
    border-left: 3px solid #cf222e;
    padding: 0.75rem;
    border-radius: 4px;
}

.error-list-item {
    color: #a40e26;
    padding: 0.25rem 0;
    list-style: none;
}

.error-list-item:before {
    content: "✗ ";
    color: #cf222e;
    font-weight: bold;
    margin-right: 0.5rem;
}