/**
 * Invoice Fetch Styles
 */

.invoice-number-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
}

.fetch-invoice-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background: transparent;
    border: 1px solid #e0e6ed;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
}

.fetch-invoice-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.fetch-invoice-btn.retry {
    border-color: #fbbf24;
    color: #f59e0b;
}

.fetch-invoice-btn.retry:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: white;
}

.loading-invoice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3b82f6;
    font-size: 13px;
}

.loading-invoice .spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.invoice-fetched {
    color: #22c55e;
    font-weight: 500;
}

.no-invoice {
    color: #94a3b8;
    font-style: italic;
}

.error-invoice {
    color: #ef4444;
}

/* Bulk fetch button */
.bulk-fetch-invoices-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bulk-fetch-invoices-btn:hover {
    background: #2563eb;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.bulk-fetch-invoices-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    opacity: 0.6;
}