/*
 * Copyright (c) Evan Webb, Australia - WebbMTS Modular Tech Systems.
 * Proprietary software. Unauthorized distribution, tampering, reverse engineering, or unlicensed use is prohibited.
 * Use is subject to WebbMTS commercial license and EULA terms.
 */

#quickcheck-table-body td.quickcheck-qr-cell {
    text-align: center;
    vertical-align: top;
}

.quickcheck-qr-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border: 1px solid #34495e;
    border-radius: 6px;
    background: #111b25;
    padding: 6px;
}

.quickcheck-adjust-actions {
    display: inline-flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.quickcheck-adjust-btn {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    font-size: 40px;
    line-height: 1;
    font-weight: 700;
    border: 1px solid #455a64;
    color: #ecf0f1;
    background: #1f3447;
    cursor: pointer;
}

.quickcheck-adjust-btn.minus {
    border-color: #c0392b;
    color: #ffb3ad;
}

.quickcheck-adjust-btn.plus {
    border-color: #2ecc71;
    color: #a9f6c9;
}

.quickcheck-adjust-btn span,
.quickcheck-adjust-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.quickcheck-adjust-asset-row td {
    background: rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.quickcheck-item-name {
    font-size: 22px;
    font-weight: 800;
    color: #ecf0f1;
}

.quickcheck-batch-name {
    font-size: 20px;
    font-weight: 700;
    color: #d6e2ea;
}

.quickcheck-stock-number {
    font-size: 24px;
    font-weight: 800;
}

body.quickcheck-kiosk #top-bar,
body.quickcheck-kiosk .tab-container {
    display: none !important;
}

body.quickcheck-kiosk #view-quickcheck .sub-tab-container {
    display: none !important;
}

body.quickcheck-kiosk #view-quickcheck {
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
}

.quickcheck-adjust-btn-working {
    opacity: 0.75;
    transform: scale(0.96);
}

.quickcheck-adjust-btn-success {
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.45);
}

.quickcheck-adjust-btn-fail {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.45);
}

.quickcheck-inline-feedback {
    display: inline-block;
    min-width: 90px;
    text-align: right;
    margin-right: 10px;
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.quickcheck-inline-feedback.show {
    opacity: 1;
}

.quickcheck-inline-feedback.ok {
    color: #2ecc71;
}

.quickcheck-inline-feedback.err {
    color: #e74c3c;
}

.quickcheck-float-feedback {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 20px 28px;
    border-radius: 10px;
    font-size: 32px;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #34495e;
    color: #ecf0f1;
}

.quickcheck-float-feedback.show {
    opacity: 1;
}

.quickcheck-float-feedback.ok {
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.5);
}

.quickcheck-float-feedback.err {
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.5);
}
