.ocr-testing-panel {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.045);
}

.ocr-testing-panel[hidden] {
    display: none;
}

.ocr-testing-label {
    margin-bottom: 5px;
    color: #38bdf8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ocr-testing-panel h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.ocr-testing-panel p {
    margin: 0 0 14px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.5;
}

.ocr-testing-status {
    min-height: 20px;
    margin: 0 0 14px;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.45;
}

.ocr-testing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ocr-testing-actions button {
    flex: 1 1 190px;
}

#ocrTestingAccurateBtn {
    background: rgba(34, 197, 94, 0.10);
    border-color: rgba(34, 197, 94, 0.45);
}

#ocrTestingAccurateBtn:hover:not(:disabled) {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(34, 197, 94, 0.68);
}

#ocrTestingIncorrectBtn {
    background: rgba(148, 163, 184, 0.06);
    border-color: rgba(148, 163, 184, 0.25);
}

#ocrTestingIncorrectBtn:hover:not(:disabled) {
    background: rgba(148, 163, 184, 0.11);
    border-color: rgba(148, 163, 184, 0.42);
}


/* =========================================================
   REVIEW TABLE ROW STATES
   ========================================================= */

.ocr-review-row {
    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.ocr-review-row-high-confidence {
    background: rgba(148, 163, 184, 0.035);
    color: #94a3b8;
}

.ocr-review-row-high-confidence td {
    opacity: 0.82;
}

.ocr-review-row-needs-review {
    background: rgba(245, 158, 11, 0.09);
}

.ocr-review-row-needs-review td {
    border-color: rgba(245, 158, 11, 0.18);
}

.ocr-review-row-disputed {
    background: rgba(239, 68, 68, 0.10);
}

.ocr-review-row-disputed td {
    border-color: rgba(239, 68, 68, 0.24);
}


/* =========================================================
   EDITABLE USER VALUE
   ========================================================= */

.ocr-review-value-input {
    width: 88px;
    min-height: 36px;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: #151923;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    text-align: center;
}

.ocr-review-row-high-confidence
.ocr-review-value-input {
    background: rgba(148, 163, 184, 0.06);
    border-color: rgba(148, 163, 184, 0.16);
    color: #cbd5e1;
}

.ocr-review-row-needs-review
.ocr-review-value-input {
    background: rgba(245, 158, 11, 0.10);
    border-color: rgba(245, 158, 11, 0.46);
    color: #fef3c7;
}

.ocr-review-row-disputed
.ocr-review-value-input {
    background: rgba(239, 68, 68, 0.10);
    border-color: rgba(239, 68, 68, 0.52);
    color: #fee2e2;
}

.ocr-review-value-input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.11);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {
    .ocr-testing-actions {
        flex-direction: column;
    }

    .ocr-testing-actions button {
        width: 100%;
        flex-basis: auto;
    }

    .ocr-review-value-input {
        width: 72px;
    }
}