﻿.card-title-page-field {
    margin-left: auto;
    width: 110px;
}

.page-inline-input.e-numerictextbox {
    font-size: 12px;
}

.oc-added-types {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.oc-type-pill {
    font-size: 10px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 10px;
    background: #e8e8e8;
    color: #333;
    border: 1px solid #ccc;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.oc-page-input {
    width: 100%;
    max-width: 100%;
}

    .oc-page-input .e-numerictextbox {
        width: 100%;
        font-size: 12px;
        height: 28px;
    }

.atc-dlg {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 40px rgba(0,0,0,.18);
    width: 320px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.atc-body {
    padding: 18px 20px 22px;
}

.atc-hint {
    font-size: 13px;
    color: #666;
    margin-bottom: 14px;
}

.atc-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.atc-option-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid #e0e0e0;
    background: #fafafa;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    text-align: left;
}

    .atc-option-btn:hover {
        border-color: #aaa;
        background: #f0f0f0;
    }

.atc-option-disabled {
    opacity: 0.45;
    cursor: not-allowed !important;
    background: #f5f5f5 !important;
    border-color: #ddd !important;
}

    .atc-option-disabled:hover {
        border-color: #ddd !important;
        background: #f5f5f5 !important;
    }

.atc-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.atc-label {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    flex: 1;
}

.atc-desc {
    font-size: 11px;
    color: #888;
}

.bill-btn-spec {
    border-color: #888;
    color: #555;
}

    .bill-btn-spec:hover {
        background: #f5f4fd;
        border-color: #0a58ca;
    }

    .bill-btn-spec.bill-btn-spec-open {
        background: #f5f4fd;
        border-color: #0a58ca;
        color: #0a58ca;
    }

.print-row-with-spec {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 0;
    padding: 0;
}

.print-row-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.print-spec-area {
    margin-top: 6px;
    padding: 10px 12px 12px;
    background: #fafafa;
    border-radius: 0 0 8px 8px;
    border-top: 1px solid #f0f0f0;
}

.spec-grid-sm {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.chip-type-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    background: rgba(0,0,0,.12);
    letter-spacing: .03em;
    min-width: 68px;
    text-transform: uppercase;
}

.bill-btn-softcopy {
    border-color: #00838f;
    color: #00838f;
}

    .bill-btn-softcopy.bill-btn-active {
        background: #FFFFE0;
        border: 1.5px solid #ffcb7e;
        color: #000;
    }

.custom-card {
    position: relative;
    border: 1px solid #e0e0e0;
    margin-top: 18px;
    background: #fff;
    padding: 16px 18px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.card-title {
    position: absolute;
    top: -12px;
    left: 20px;
    right: 16px;
    background: #fff;
    padding: 2px 12px;
    font-weight: 600;
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title-text {
    font-weight: 700;
    font-size: 13px;
    color: #444;
    white-space: nowrap;
}

.card-title-line {
    flex: 1;
    min-width: 30px;
    margin-top: 3px;
    height: 0px;
    border-radius: 999px;
    border: 1px solid #dfdfdf;
}

.card-body {
    padding: 5px !important;
}

.validation-wrapper {
    min-height: 18px;
}

.validation-message {
    color: #dc3545;
    font-size: 12px;
    font-weight: 500;
}

.row.align-items-end > div {
    margin-bottom: 5px;
}

.push-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 18px;
    border-radius: 5px;
    border-color: #FF9800;
    background: #FF9800;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    min-width: 85px;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .15s;
    white-space: nowrap;
    flex-shrink: 0;
}

 

.push-btn:active:not(:disabled) {
    box-shadow: none;
    transform: translateY(2px);
}

.push-btn-active {
    background: #FFFFE0;
    border: 1.5px solid #ffcb7e;
    color: #000;
    cursor: default;
}

.push-btn-locked {
    border-color: #bbb;
    background: #f5f5f5;
    color: #aaa;
    box-shadow: none;
    cursor: not-allowed;
}

.push-icon {
    font-size: 14px;
    line-height: 1;
}

.bill-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    border-radius: 5px;
    border-color: #FF9800;
    background: #FF9800;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, border-color .15s, transform .15s;
    white-space: nowrap;
    min-width: 85px;
    max-width: 85px;
    justify-content: center;
}

    .bill-btn:hover:not(:disabled) {
        color: #fff;
        transform: translateY(-1px);
    }

    .bill-btn:active:not(:disabled) {
        box-shadow: none;
        transform: translateY(2px);
    }

    .bill-btn.bill-btn-active:not(:disabled) {
        color: #000;
    }

.bill-btn-active {
    background: #FFFFE0;
    border: 1.5px solid #ffcb7e;
    color: #000;
}

.bill-btn bill-btn-print {
    border-color: #FF9800;
    background: #FF9800;
    color: #fff;
}

.bill-btn-softcopy bill-btn-active {
    border-color: #FF9800 !important;
    background: #FF9800 !important;
    color: #fff !important;
}

.bill-btn-icon {
    font-size: 15px;
    line-height: 1;
}

.bill-btn-locked {
    border-color: #bdbdbd !important;
    background: #e0e0e0 !important;
    color: #9e9e9e !important;
    box-shadow: none !important;
    cursor: not-allowed;
}

@* .bill-btn-binding {
    border-color: #00897b;
    color: #00897b;
}

.bill-btn-binding:hover:not(:disabled) {
    border-color: #00796b;
    color: #00796b;
}

*@

.bill-btn-binding.bill-btn-active {
    background: #FFFFE0;
    border: 1.5px solid #ccc;
    color: #000;
}

.print-row {
    display: flex;
    align-items: unset;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 10px;
    border: 1.5px solid #d0d0d0;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #fff;
}

    .print-row:last-child {
        margin-bottom: 0;
    }

.print-row-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 5px;
    border-radius: 13px;
    background: #f0f0f0;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    flex-shrink: 0;
    min-width: 130px;
    max-width: 130px;
    align-self: center;
    white-space: nowrap;
    overflow: hidden;
    border: 1px solid #ddd;
    justify-content: center;
}

.chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.print-chip-shoot {
    background: #e8f5e9;
    color: #2e7d32;
    min-width: 110px;
    max-width: 110px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    align-self: center;
    white-space: nowrap;
    overflow: hidden;
    border: 1px solid #ddd;
}

.chip-size {
    font-size: 10px;
    font-weight: 500;
    opacity: .7;
}

.print-fields {
    display: flex;
    gap: 8px;
    flex: 1;
    flex-wrap: wrap;
    align-items: flex-end;
    min-width: 0;
}

.print-field {
    flex: 1;
    min-width: 100px;
}

.print-field-sm {
    flex: 1;
    min-width: 70px;
}

.print-btns {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.print-line-remove {
    background: none;
    border: none;
    color: #bbb;
    font-size: 14px;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    border-radius: 4px;
    transition: color .12s, background .12s;
    align-self: center;
}

    .print-line-remove:hover {
        color: #e53935;
        background: #ffeaea;
    }

.no-items-hint {
    font-size: 13px;
    color: #999;
    text-align: center;
    padding: 12px 4px 4px;
}

@* .btn-add-items {
    align-items: center;
    gap: 5px;
    padding: 7px 18px;
    border-radius: 8px;
    border: 1.5px dashed #aaa;
    background: #fafafa;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.btn-add-items:hover {
    border-color: #0a58ca;
    background: #f5f4fd;
    color: #0a58ca;
}

*@

.edit-action-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.order-cards-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scrollbar-width: thin;
}

.oc {
    display: flex;
    flex-shrink: 0;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    min-width: 160px;
    align-items: stretch;
    max-width: 160px;
    transition: border-color .15s, box-shadow .15s;
}

.oc-stripe {
    width: 4px;
    flex-shrink: 0;
    background: #333;
}

.oc-inner {
    flex: 1;
    padding: 9px 11px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.oc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    margin-bottom: 4px;
}

.oc-name {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    flex: 1;
}

.oc-x {
    background: none;
    border: none;
    color: #ccc;
    font-size: 14px;
    cursor: pointer;
    padding: 0 2px;
    line-height: 1;
    transition: color .12s, opacity .12s;
}

    .oc-x:hover {
        opacity: 1;
        color: #E24B4A;
    }

.oc-divider {
    height: 0.5px;
    background: #eaecf5;
    margin: 2px 0;
}

.oc-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.oc-lbl {
    flex: 0 0 44px;
    font-size: 12px;
    color: #080707;
    text-transform: uppercase;
    letter-spacing: .04em;
    flex-shrink: 0;
}

.oc-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    text-align: center;
    min-width: 78px;
    border-radius: 20px;
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.spec-done {
    font-size: 11px;
    font-weight: 600;
    color: #2e7d32;
}

.spec-pending {
    font-size: 11px;
    color: #ccc;
}

.oc-actions {
    display: flex;
    gap: 5px;
    margin-top: 6px;
}

.oc-spec-btn {
    flex: 1;
    width: 100%;
    padding: 5px 0;
    border-radius: 6px;
    border: 1px dashed #bbb;
    background: #fafafa;
    color: #555;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background .12s;
}

    .oc-spec-btn:hover {
        background: #f5f5f5;
        border-color: #999;
    }

.spec-field .e-disabled, .spec-field .e-input-group.e-disabled {
    opacity: 0.5;
}

.picker-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.40);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.picker-dlg {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,.18);
    width: 560px;
    height: 55vh;
    max-width: 95vw;
    max-height: 55vh;
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.picker-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.picker-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

    .picker-close:hover {
        color: #333;
    }

.picker-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.picker-left {
    width: 170px;
    flex-shrink: 0;
    border-right: 1px solid #f0f0f0;
    overflow-y: auto;
    padding: 10px 0;
}

.picker-col-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #999;
    padding: 0 14px 10px;
}

.picker-item-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 14px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background .1s;
}

    .picker-item-row:hover {
        background: #f6f6fb;
    }

.picker-item-active {
    background: #f0f0f0;
}

.picker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.picker-item-name {
    font-size: 13px;
    color: #333;
    flex: 1;
}

.picker-count {
    font-size: 11px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 20px;
    min-width: 20px;
    text-align: center;
}

.picker-right {
    flex: 1;
    padding: 12px 16px;
    overflow-y: auto;
}

.picker-sizes {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.picker-size-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    background: #fafafa;
    transition: border-color .1s, background .1s;
    user-select: none;
}

    .picker-size-row:hover {
        border-color: #aaa;
        background: #f0f0f0;
    }

.picker-cb {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1.5px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
    color: #fff;
    transition: background .1s, border-color .1s;
}

.picker-size-label {
    font-size: 13px;
    color: #333;
    flex: 1;
}

.picker-size-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 20px;
}

.picker-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.picker-foot-hint {
    font-size: 12px;
    color: #2e2b2b;
}

    .picker-foot-hint strong {
        color: #333;
    }

.Edit_Icon {
    font-size: 16px;
}

.custom-hover-button {
    background-color: #3e931a !important;
    transition: background-color 0.2s ease-in-out;
}

.oc-field-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.spec-card {
    background: #fafbff;
}

.spec-title-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.spec-card-body {
    display: flex;
    flex-direction: column;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 16px;
    margin-bottom: 12px;
}

.spec-field {
    min-width: 0;
}

.spec-save-row {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid #eef0f8;
    position: sticky;
    bottom: 0;
    background: #fafbff;
    z-index: 1;
}

.auto-save-indicator {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    margin-right: auto;
    align-self: center;
    animation: pulse 1s infinite;
}

.auto-save-done {
    color: #2e7d32;
    animation: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.grid-edit-Jobs-dialog-high-zindex,
.e-dialog.e-popup-open {
    z-index: 200000 !important;
}

.e-grid .e-dialog-wrapper {
    z-index: 200000 !important;
}
