/* ===== Processing dots animation ===== */

.processing-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.processing-dots span {
    width: 12px;
    height: 12px;
    background: #6366f1;
    border-radius: 50%;
    animation: processing-bounce 1.2s ease-in-out infinite;
}

.processing-dots span:nth-child(1) { animation-delay: 0s; }
.processing-dots span:nth-child(2) { animation-delay: 0.2s; }
.processing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes processing-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-10px); opacity: 1; }
}

/* ===== Google Sheets lookalike table ===== */

.sheets-table {
    border-collapse: collapse;
    font-family: "Arial", sans-serif;
    font-size: 12px;
    min-width: 100%;
}

.sheets-table thead tr {
    background: #f8f9fa;
}

.sheets-table th {
    border: 1px solid #e0e0e0;
    padding: 6px 10px;
    font-weight: 600;
    font-size: 11px;
    text-align: left;
    color: #444;
    white-space: nowrap;
    background: #f8f9fa;
}

.sheets-table td {
    border: 1px solid #e0e0e0;
    padding: 6px 10px;
    color: #333;
    white-space: nowrap;
    background: white;
}

.sheets-table tr.data-row td {
    background: #ffffff;
}

.sheets-table tr.data-row:hover td {
    background: #e8f0fe;
}

/* Row number column appearance */
.sheets-table th:first-child,
.sheets-table td:first-child {
    background: #f8f9fa;
    color: #888;
    text-align: center;
    border-right: 2px solid #d0d0d0;
    min-width: 30px;
}

/* ===== Invoice document ===== */

.invoice-line-item:last-child {
    border-bottom: none;
}

/* ===== Queue table ===== */

.queue-row-enter {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Scrollbar (results panel) ===== */

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #cbd5e1;
}
